Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import 'package:flutter/material.dart';
- import './../util/appColors.dart';
- class MainMenu extends StatelessWidget {
- @override
- Widget build(BuildContext context) {
- return Scaffold(
- appBar: AppBar(
- leading: Icon(Icons.code),
- title: Text("Home"),
- backgroundColor: MyColors.primaryBlue
- ),
- backgroundColor: MyColors.mainBG,
- body: Padding(
- padding: EdgeInsets.all(15.0),
- child: Column(
- children: <Widget>[
- Expanded(
- child: new Padding(
- padding: EdgeInsets.all(15.0),
- child: Row(
- children: <Widget>[
- Expanded(child: Container(color: Colors.blue,)),
- Expanded(child: Container(color: Colors.red,)),
- ],
- ),
- )
- ),
- Expanded(
- child: new Padding(
- padding: EdgeInsets.all(15.0),
- child: Row(
- children: <Widget>[
- Expanded(child: Container(color: Colors.red,)),
- Expanded(child: Container(color: Colors.blue,)),
- ],
- ),
- )
- ),
- ],
- ),
- ),
- );
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement