Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@edbond
Created April 25, 2020 15:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save edbond/78314d0dc5ae5247d065619098fef75c to your computer and use it in GitHub Desktop.
Save edbond/78314d0dc5ae5247d065619098fef75c to your computer and use it in GitHub Desktop.
import 'package:flutter/material.dart';
final Color darkBlue = Color.fromARGB(255, 18, 32, 47);
void main() {
runApp(MyApp());
}
class MyApp extends StatelessWidget {
@override
Widget build(BuildContext context) {
return MaterialApp(
theme: ThemeData.dark().copyWith(scaffoldBackgroundColor: darkBlue),
debugShowCheckedModeBanner: false,
home: Scaffold(
body: DefaultTextStyle(
style: TextStyle(fontSize: 32),
child: Stack(children: <Widget>[
Container(
height: 180,
color: Colors.blue,
child: ClipRect(
child: Column(children: <Widget>[
Text("Menu 1"),
Text("Menu 2"),
Text("Menu 3"),
Text("Menu 4"),
Text("Menu 5"),
]),
),
),
Container(
margin: EdgeInsets.only(top: 180),
height: double.infinity,
width: double.infinity,
color: Colors.pink,
child: Text("APP")),
]),
),
),
);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment