Skip to content

Hamdy/flutter-scaffold

Repository files navigation

app

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.

What's different here ?

  • Clean Structure

    • Isar DB support

      • Storage class. Can be found here
      • Schema file can be found here
      • Supports User, Notification, Log, Device db collections
    • 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.

Image description Image description Image description

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published