Last active
July 9, 2018 07:40
-
-
Save xrnd/1dc938fe444514494a0585745b26044a to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import 'package:flutter/cupertino.dart'; | |
| import 'package:flutter/foundation.dart'; | |
| import 'package:flutter/material.dart'; | |
| @override | |
| Widget build(BuildContext context) { | |
| return new MaterialApp( | |
| debugShowCheckedModeBanner: false, | |
| home: new Scaffold( | |
| appBar: new AppBar(primary: true, title: new Text('Flutter-Start')), | |
| body: new Container( | |
| child: new Center( | |
| child: new Text('Center Widget'), | |
| ), | |
| ), | |
| theme: defaultTargetPlatform == TargetPlatform.iOS | |
| ? Themes.kIOSTheme | |
| : Themes.kDefaultTheme, | |
| ); | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment