Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import 'package:flutter/material.dart';
- import '../utils/utils.dart';
- class HomePage extends StatefulWidget {
- @override
- _HomePageState createState() => _HomePageState();
- }
- class _HomePageState extends State<HomePage> {
- @override
- Widget build(BuildContext context)
- {
- return new Scaffold
- (
- appBar: new AppBar
- (
- title: new Text('Home'),
- backgroundColor: Constants.clr_lightblue,
- ),
- endDrawer: Drawer(
- child: Container(
- alignment: Alignment.bottomCenter,
- child: ListView(
- reverse: false,
- padding: EdgeInsets.all(10.0),
- children: <Widget>[
- new Text("1"),
- new Text("2"),
- new Text("3"),
- ],
- ),
- color: Constants.clr_darkblue,
- ),
- ),
- body: new Center
- (
- child: Column(
- children: <Widget>
- [
- Image.asset('assets/images/psg-logo.png'),
- ],
- )
- ),
- backgroundColor: Constants.clr_lightblue,
- );
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement