Add new flutter example of todo app with provider (#78)

This commit is contained in:
Rene Lazo Mendez
2021-07-25 14:51:35 -04:00
committed by GitHub
parent dd23466cd4
commit 89f48b8f1e
74 changed files with 1637 additions and 0 deletions

View File

@ -0,0 +1,25 @@
import 'package:flutter/material.dart';
import '../widgets/todo_list_wdt.dart';
import '../widgets/add_button.dart';
class MyHomePage extends StatelessWidget {
final String title;
const MyHomePage({Key key, this.title}) : super(key: key);
@override
Widget build(BuildContext context) {
print('rebuilding Home View');
return Scaffold(
appBar: AppBar(
title: Text(title),
),
body: Center(
child: TodoListWdt(),
),
floatingActionButton: AddButton(),
);
}
}