Skip to content

Build a realtime Todo List App from scratch with Flutter & Firebase.

Notifications You must be signed in to change notification settings

danfimov/todolist-flutter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Flutter TodoList

Create a simple todolist Flutter application

To run the project on your machine:

Flutter concepts

Widgets

Flutter is using Widgets to create the applications' UI. Widgets let you declare how and what to render on the screen.

Widgets can be composed to create more complex UI, creating a widgets tree, similar to the Document Object Model which is used to represent html pages.

For example a todo list app could be represented with the follownig wireframe:

todolist-app

From there we can start to have an idea of the widgets tree structure:

todolist-app

See also:

Create a new Flutter application

A quick CLI tour

You can create a new Flutter project with the following command line:

flutter create --org io.anfimov --project-name todolist .

This will create the project todolist in the current folder .. The --org flag uses the reverse domain name notation to identify your application.

You can then run the application with flutter run and run the tests with flutter test.

For the list of command type flutter help. For more details about a specific command, for example create, run flutter create --help.

Material Design

Material Design is a guideline to create user interface. Flutter implements the guideline with the material components widgets. This list of widgest allow us to create rapdly a UI folling the best practices from material design. To use these widgets you need first to import the material Dart package with import 'package:flutter/material.dart'; You can then browse all the material widgets and select the ones required for your application https://api.flutter.dev/flutter/material/material-library.html

You have also the possiblity to create an IOs look by using the Cupertino widgets package

Main Widgets used

Note that the Column and Exapanded widgets are "space" widgets.

About

Build a realtime Todo List App from scratch with Flutter & Firebase.

Topics

Resources

Stars

Watchers

Forks