A Simple Todo App For Flutter

Overview

Simple Todo App

coverage style: very good analysis License: MIT

Generated by the Very Good CLI πŸ€–


Getting Started πŸš€

This project contains 3 flavors:

  • development
  • staging
  • production

To run the desired flavor either use the launch configuration in VSCode/Android Studio or use the following commands:

# Development
$ flutter run --flavor development --target lib/main_development.dart

# Staging
$ flutter run --flavor staging --target lib/main_staging.dart

# Production
$ flutter run --flavor production --target lib/main_production.dart

*Simple Todo App works on iOS, Android, and Web.


Running Tests πŸ§ͺ

To run all unit and widget tests use the following command:

$ flutter test --coverage --test-randomize-ordering-seed random

To view the generated coverage report you can use lcov.

# Generate Coverage Report
$ genhtml coverage/lcov.info -o coverage/

# Open Coverage Report
$ open coverage/index.html

Working with Translations 🌐

This project relies on flutter_localizations and follows the official internationalization guide for Flutter.

Adding Strings

  1. To add a new localizable string, open the app_en.arb file at lib/l10n/arb/app_en.arb.
{
    "@@locale": "en",
    "counterAppBarTitle": "Counter",
    "@counterAppBarTitle": {
        "description": "Text shown in the AppBar of the Counter Page"
    }
}
  1. Then add a new key/value and description
{
    "@@locale": "en",
    "counterAppBarTitle": "Counter",
    "@counterAppBarTitle": {
        "description": "Text shown in the AppBar of the Counter Page"
    },
    "helloWorld": "Hello World",
    "@helloWorld": {
        "description": "Hello World Text"
    }
}
  1. Use the new string
import 'package:simple_todo_app/l10n/l10n.dart';

@override
Widget build(BuildContext context) {
  final l10n = context.l10n;
  return Text(l10n.helloWorld);
}

Adding Supported Locales

Update the CFBundleLocalizations array in the Info.plist at ios/Runner/Info.plist to include the new locale.

    ...

    <key>CFBundleLocalizations</key>
	<array>
		<string>en</string>
		<string>es</string>
	</array>

    ...

Adding Translations

  1. For each supported locale, add a new ARB file in lib/l10n/arb.
β”œβ”€β”€ l10n
β”‚   β”œβ”€β”€ arb
β”‚   β”‚   β”œβ”€β”€ app_en.arb
β”‚   β”‚   └── app_es.arb
  1. Add the translated strings to each .arb file:

app_en.arb

{
    "@@locale": "en",
    "counterAppBarTitle": "Counter",
    "@counterAppBarTitle": {
        "description": "Text shown in the AppBar of the Counter Page"
    }
}

app_es.arb

{
    "@@locale": "es",
    "counterAppBarTitle": "Contador",
    "@counterAppBarTitle": {
        "description": "Texto mostrado en la AppBar de la pΓ‘gina del contador"
    }
}
You might also like...

An open source task manager (todo list) app, developed using Dart language and Flutter framework.

An open source task manager (todo list) app, developed using Dart language and Flutter framework.

Tasker An open source task manager (todo list) app, developed using Dart language and Flutter framework. Screenrecords     Screenshots                

Dec 29, 2022

Todo App with Flutter + CleanArchitecture + sqflite + riverpod + state_norifier + freezed!

Todo App with Flutter + CleanArchitecture + sqflite + riverpod + state_norifier + freezed!

CleanArchitectureTodoAppTrainingWithFlutter Flutter + CleanArchitecture + sqflite + riverpod + state_notifier + freezed! Motivation I wanted to practi

Dec 16, 2022

Todo app created by Flutter.

todo_app A new Flutter project. Getting Started This project is a starting point for a Flutter application. A few resources to get you started if this

Dec 3, 2021

SytΓ΄dy, a Flutter "speech to text" todo app POC

 SytΓ΄dy, a Flutter

SytΓ΄dy, a Flutter "speech to text" todo app POC ⚠️ iOS10(Swift) & Android Usage Install flutter cd sytody flutter run πŸ“Ί Video demo How it works TL;DR

Jan 19, 2022

A flutter todo/task listing example app with advance state management using `Momentum` library.

A flutter todo/task listing example app with advance state management using `Momentum` library.

A flutter todo/task listing example app with advanced state management using Momentum library. Simple on the outside but powerful in the inside. This

Oct 11, 2022

A beautiful todo app made with Flutter

A beautiful todo app made with Flutter

Todo - Simple & Beautiful A minimal Todo mobile app made using Flutter. Key Features β€’ How To Use β€’ Download β€’ Credits β€’ Key Features Easily add and r

Dec 27, 2022

Todo list app made with flutter.

Todo list app made with flutter.

todo-app-flutter (Closed) Currently implementing this app with Clean Architecture, TDD and BLoC Features: Add tasks, events and notes Daily view Month

Sep 25, 2021

A cross platform todo list app using flutter and dart programming language

A cross platform todo list app using flutter and dart programming language

Flutter Todos A cross platform todo list app using flutter and dart programming language. In this application, I used SQLite3 to persist data. The app

Dec 29, 2022

Flutter Todo app πŸ“

Flutter Todo app πŸ“

Todo_App App Design ✏ : TODO Todo : Sqlite Database Animation DarkMod πŸŒ™ Shared Preferences Making a task for everyday β™₯ And a lot thing ... ....... .

Nov 11, 2022
Owner
huynhduy
huynhduy
Neo ToDo - Beautiful neumorphism style todo list

Neo ToDo - Beautiful neumorphism style todo list β€’ Neomorphism style. β€’ Categories of tasks. β€’ Beautiful animations. β€’ Dark theme. β€’ Font Awesome icon

Alexey Z 87 Apr 30, 2022
A Simple Todo app design in Flutter to keep track of your task on daily basis. Its build on BLoC Pattern. You can add a project, labels, and due-date to your task also you can sort your task on the basis of project, label, and dates

WhatTodo Life can feel overwhelming. But it doesn’t have to. A Simple To-do app design in flutter to keep track of your task on daily basis. You can a

Burhanuddin Rashid 1k Jan 6, 2023
A Simple Todo App For Flutter

Simple Todo App Generated by the Very Good CLI ?? Getting Started ?? This project contains 3 flavors: development staging production To run the desire

huynhduy 6 Jun 13, 2022
A simple todo app built with Flutter

Tasker ?? A simple todo app built with flutter. Screenshot Screenshot Screenshot ------------------------------ ------------------------------ -------

Newton Munene 42 Dec 16, 2022
A simple todo app for keeping track of complete and incomplete tasks

bloc_todo_list A simple todo app built using bloc architecture and state management Getting Started This project is a starting point for a Flutter app

Olusesi Boluwatife Barry 0 Nov 29, 2021
A Simple TODO app β€πŸ’šπŸ’›πŸ’™

task_master A new Flutter project. Getting Started This project is a starting point for a Flutter application. A few resources to get you started if t

null 0 Feb 18, 2022
Flutter ToDo App with Firebase

Taskist Taskist is a ToDo List app for Task Management inspired by the design below The app is using Firebase, you have to configure it from your side

Hugo EXTRAT 817 Jan 6, 2023
Minimalist Flutter Todo App, built using BLoC pattern

Deer Minimalist Todo Planner app built around the idea of efficiency and clean aesthetic. Showcase Development Deer uses BLoC (Business Logic Componen

Aleksander WoΕΊniak 355 Dec 24, 2022
Flutter basic desktop project. Desktop todo app.

Glory Todo Desktop Basic and Primitive Flutter Desktop Project! Goal My goal is to accept my inexperience without worrying about the plugin shortcomin

Γ–zgΓΌr 52 Dec 3, 2022
This is a todo app for managing your tasks and life. Built with Flutter

todo_app A new Flutter project. Getting Started This project is a starting point for a Flutter application. A few resources to get you started if this

null 0 Oct 30, 2021