Advertisement
joaopaulofcc

Untitled

Sep 2nd, 2020
1,228
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Dart 0.61 KB | None | 0 0
  1. import 'package:flutter/material.dart';
  2.  
  3. void main() => runApp(new TodoApp());
  4.  
  5. class TodoApp extends StatelessWidget
  6. {
  7.   @override
  8.   Widget build(BuildContext context)
  9.   {
  10.     return new MaterialApp
  11.     (
  12.       title: 'Todo List',
  13.       home: new TodoList()
  14.     );
  15.   }
  16. }
  17.  
  18. class TodoList extends StatefulWidget
  19. {
  20.   @override
  21.   createState() => new TodoListState();
  22. }
  23.  
  24. class TodoListState extends State<TodoList>
  25.  {
  26.   @override
  27.   Widget build(BuildContext context)
  28.   {
  29.     return new Scaffold
  30.     (
  31.       appBar: new AppBar
  32.       (
  33.         title: new Text('Todo List')
  34.       )
  35.     );
  36.   }
  37. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement