Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import 'package:flutter/material.dart';
- class Menu extends StatelessWidget{
- @override
- Widget build(BuildContext context) {
- return Scaffold(
- appBar: new AppBar(title: Text('Menu'),),
- body: new Column(children: <Widget>[
- new Text('Estamos en el menu principal'),
- ],
- ),
- );
- }
- }
- class MenuEmpleado extends StatelessWidget{
- @override
- Widget build(BuildContext context) {
- return Scaffold(
- resizeToAvoidBottomPadding: false,
- body: Form(
- child: Container(
- decoration: new BoxDecoration(
- image: new DecorationImage(
- image: new AssetImage("assets/images/Fondo1.jpg"),
- fit: BoxFit.cover
- ),
- ),
- ),
- ),
- );
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement