Todo app - contains same UI and different state management techniques (without using StatefulWidget)

Related tags

Templates flutter
Overview

Todos

This repo contains same UI and different state management techniques (without using StatefulWidget) to compare and prefer based on your coding style.


I respect the authors third-party packages used to build this repo. Special thanks to authors of flutter_bloc and GetX from where I learn a lot of flutter stuff


πŸ‘©β€πŸ’» Keep Rocking, While Coding πŸ‘¨β€πŸ’»


Todos Edit Todo
Todos todo_edit

Project Structure

lib
β”œβ”€β”€ bloc
β”‚   β”œβ”€β”€ todos_bloc.dart
β”‚   └── todos_view.dart
β”œβ”€β”€ getx
β”‚   β”œβ”€β”€ todo_controller.dart
β”‚   └── todos_view.dart
β”œβ”€β”€ main.dart
β”œβ”€β”€ streams
β”‚   β”œβ”€β”€ todo_controller.dart
β”‚   β”œβ”€β”€ todo_stream.dart
β”‚   β”œβ”€β”€ todo_stream_flutter.dart
β”‚   └── todo_view.dart
└── todo.dart

Usage

Import one of todo_view.dart to main.dart and it will just work.

// import 'package:todos/bloc/todos_view.dart';
// import 'package:todos/getx/todos_view.dart';
import 'package:todos/streams/todo_view.dart';
import 'package:flutter/material.dart';

void main() {
  runApp(const App());
}
  1. State management using BLoC
  2. State management using Get
  3. State management using dart:async#Stream
You might also like...

Build a calculator app in iOS and Android with the same code by using flutter.

flutter_calculator Preview Structure Input Widgets input widgets is all extends StatefulWidget, because they need to response the onTap gesture. Numbe

Nov 24, 2022

A CustomPaint example where we can draw with different colors and different stroke sizes

A CustomPaint example where we can draw with different colors and different stroke sizes

CustomPaint A CustomPaint example where we can draw with different colors and different stroke sizes. A Flutter application which runs on iOS, Android

Dec 27, 2021

Todo is an Simple Task Management App coded using Dart which is a peogramming language for Flutter SDK(2.5) supports Null Safety πŸ“‘πŸš©

Todo πŸ“‘ 🚩 πŸ“Œ Introduction Todo is an Simple Task Management App coded using Dart which is a peogramming language for Flutter SDK(2.5) supports Null S

Nov 5, 2022

A Flutter plugin that provides assets abstraction management APIs without UI integration, you can get assets (image/video/audio) on Android, iOS and macOS.

A Flutter plugin that provides assets abstraction management APIs without UI integration, you can get assets (image/video/audio) on Android, iOS and macOS.

photo_manager Photo/Assets management APIs for Flutter without UI integration, you can get assets (image/video/audio) from Android, iOS and macOS. 提供相

Jan 4, 2023

[Flutter package] An easy and quick way to check if the local app is updated with the same version in their respective stores (Play Store / Apple Store ).

Retrieve version and url for local app update against store app Android and iOS Features Using as reference packages like in_app_update , version_chec

Nov 9, 2022

An isolated worker for Flutter (Isolate) and Web (Web Worker). Behaves almost the same as the compute function, except it is not a one-off worker.

A singleton isolated worker for all platforms. On most platforms, it uses Flutter's Isolate, except on the web, since Isolate is not available, it use

Nov 11, 2022

Mobile, desktop and website Apps with the same code

Mobile, desktop and website Apps with the same code

Mobile, desktop and website Apps with the same code This project shows how the source code can be architectured to run on multiple devices. As of now,

Jan 1, 2023

Taking many pictures and photos list in the same page

Taking many pictures and photos list in the same page

Custom Camera Preview A component has developed with Flutter Purpose Instead of taking photos of a product and taking them one by one when users need

Oct 28, 2022
Owner
Aravind Vemula
Ruby ⧨, JavaScript Ξ», Flutter β—‰
Aravind Vemula
This application was created using the Dart language and it is an application that contains a set of different questions and at the end shows you the number of correct answers you have answered , made by flutter

exams_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 thi

null 0 Dec 28, 2021
Shopify Tag and Product Management App using Flutter and Riverpod State Management

Myshopify App A Simple Flutter Application project to get List of Tags, Products and Product Details from shopify https://shopicruit.myshopify.com/adm

Idowu Tomiwa 5 Nov 12, 2022
An extension to the bloc state management library which lets you create State Machine using a declarative API

An extension to the bloc state management library which lets you create State Machine using a declarative API

null 25 Nov 28, 2022
Encode App-Dev is a open source project which contains different projects of Application development, Android development, IOS development, Flutter, Kotlin, Dart, Java, Swift etc.

HACKTOBERFEST 2022 Encode App-Dev is an open source project which contains different projects of Application development, Android development, IOS dev

null 4 Dec 4, 2022
State Persistence - Persist state across app launches. By default this library store state as a local JSON file called `data.json` in the applications data directory. Maintainer: @slightfoot

State Persistence Persist state across app launches. By default this library store state as a local JSON file called data.json in the applications dat

Flutter Community 70 Sep 28, 2022
Todo app codelab - A simple UI for todo app to showcase Flutter features and core concepts

Codelab Todo App A simple todo app UI for to showcase Flutter and Dart core conc

Junior Medehou 3 May 12, 2022
Flutter ToDo App - A simple ToDo App made with Flutter and Hive

Flutter ToDo App A simple ToDo App made with Flutter and Hive. ✨ Features Create,Delete,Update tasks. Create Subtasks. Star important Tasks. ?? Screen

null 3 Aug 4, 2022
Practice building basic animations in apps along with managing app state by BLoC State Management, Flutter Slider.

Practice building basic animations in apps along with managing app state by BLoC State Management including: Cubit & Animation Widget, Flutter Slider.

TAD 1 Jun 8, 2022
A powerful state machine for MobX management, that can be used in almost any application state.

A powerful state machine for MobX management, which can be used in almost any application state. It has 3 states - loading, success, error - and is pe

Daniel Magri 8 Oct 31, 2022
Build different UIs for Android, iOS, Web, Desktop, Wear, TV etc without the if/else checks in your widgets.

platform_widget_mixin Plugin to decouple widgets based on various platform properties. Features Build different UIs for Android, iOS, Web, Desktop, We

Rahul Kumar 6 Nov 17, 2022