Skip to content

Instantly share code, notes, and snippets.

View Us3r4gent's full-sized avatar

Michael Fang Us3r4gent

View GitHub Profile
@asialgearoid
asialgearoid / main.dart
Created May 30, 2018 03:32
Flutter Todo App Final Code
// Import MaterialApp and other widgets which we can use to quickly create a material app
import 'package:flutter/material.dart';
// Code written in Dart starts exectuting from the main function. runApp is part of
// Flutter, and requires the component which will be our app's container. In Flutter,
// every component is known as a "widget".
void main() => runApp(new TodoApp());
// Every component in Flutter is a widget, even the whole app itself
class TodoApp extends StatelessWidget {