Advertisement
Guest User

Untitled

a guest
Apr 28th, 2017
54
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.41 KB | None | 0 0
  1. import 'package:flutter/material.dart';
  2.  
  3. void main() {
  4. runApp(new MaterialApp(home:new Scaffold(body:new ConstDemoApp())));
  5. }
  6.  
  7. class ConstDemoApp extends StatefulWidget {
  8. @override
  9. _ConstDemoAppState createState() => new _ConstDemoAppState();
  10. }
  11.  
  12. class _ConstDemoAppState extends State<ConstDemoApp> {
  13. @override
  14. Widget build(BuildContext context) {
  15. return new Container( child: const Text('foo'));
  16. }
  17. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement