Giter Club home page Giter Club logo

flutter_riverpod_starter's Introduction

Flutter Riverpod starter project

A flutter project containing:

  • Using Riverpod for state management.
  • Using Flutter Lints for stricter linting rules.
  • Using Hive for platform independent storage that also works for web.
  • Project structure, const constructors, extracted widgets and many more...

Installation

This repository requires Flutter to be installed and present in your development environment.

Clone the project and enter the project folder.

git clone https://github.com/mosamuhana/flutter_riverpod_starter.git
cd flutter_riverpod_starter

Get the dependencies.

flutter pub get

Run the app via command line or through your development environment. (optional)

flutter run

Pub packages

This repository makes use of the following pub packages:

Package Usage
Flutter Riverpod State management
Flutter Lints Stricter linting rules
Path Provider Get the save path for Hive
Flutter Displaymode Support high refresh rate displays
Easy Localization Makes localization easy
Hive Platform independent storage.
Url Launcher Open urls in Browser
Ionicons Modern icon library

Using this package as a starting point

After following the installation steps you can customize your project. The screens and widgets that are inside the project can be easily replaced or removed. They are supposed to give the user a basic understanding of the relations between widgets and some good practices. The code includes some comments with documentation and examples. The examples can be found by searching for "Example:" inside the project files.

Theme

You can customize your theme colors in the lib/src/theme.dart file. The project uses colors from TailwindCSS. As primary swatch the indigo color palette.

Url Launcher

For Android go to android/app/src/AndroidManifest.xml and add the following code:

<manifest
    ...
    <queries>
        <intent>
            <action android:name="android.intent.action.VIEW" />
            <data android:scheme="https" />
        </intent>
    </queries>
    ...
</manifest>

Screenshots

Light Theme

Home Light Info Light
Home Light Info Light

Dark Theme

Home Dark German Info Dark German
Home Dark Info Dark

License

MIT

flutter_riverpod_starter's People

Contributors

mosamuhana avatar

Stargazers

 avatar

Watchers

 avatar Kostas Georgiou avatar

Forkers

admincreaweb

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.