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 |
---|---|
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
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());
}