- Follow Dart style guide Effective Dart
- We are using Pedantic to check "lints". Fix any warning or lint error before commit
- Run the script to autogenerate the classes.
./generateCode.sh
-
This project use Firebase to manage database, remote storage and authentication.
-
Request the following mail guiller.dlco@gmail.com to add you to the firebase project
- This project use Flutter Bloc to handle state.
Prefer using Cubit over bloc:
class NameOfClassCubit extends Cubit<MyState> { }
class NameOfClassCubit extends Cubit<MyState> { }
Inside the file name_of_class_cubit.dart
class NameOfClassCubit extends Cubit<MyState> { }
class MyState {}
class MyState1 extends MyState {}
class MyState2 extends MyState {}
Avoid functions to create widgets:
Widget buildMyButton() {
return .....
}
Instead, create a class:
class MyButton extends StatelessWidget {
@override
Widget build(BuildContext context) {
return ...
}
}
- This project use this Google Sheet to handle text translations and autogenerate json file.