A Scaffolf Flutter Application with Everything you need to start a flutter app. You can study this example or use it in your app as a starting point to save time.
-
Clean Structure
-
Separate Settings file. Can be found here
-
Http client. Can be found here
- Uses Flutter Dio.
- Supports JWT tokens. It retries to refresh token on 401
- authentication token & refresh tokens are saved into DB
-
Firebase support
-
Logger. Can be found here
-
Router. Can be found here
-
API file with all backend api end points. Can be found here
-
Theme file. Can be found here with Custom colors, and font styles
-
Initializer. can be found here
-
Localization Support. Mainly Arabic & English, other languages can be added
-
External Font (Janna) support
-
Bloc support
- Preferences Cubit to fetch preferences like theme, locale remotely
- Locale Cubit to change locale
- Theme cubit to change theme
-
TestScreen() to test changing locale and theme on the fly utilizing flutter bloc.