Giter Site home page Giter Site logo

ferrarafer / provider_architecture Goto Github PK

View Code? Open in Web Editor NEW

This project forked from victoruvarov/provider_architecture_template

1.0 2.0 0.0 742 KB

Boilerplate application for the provider architecture

License: MIT License

Kotlin 0.47% Shell 0.21% Swift 0.56% Objective-C 0.05% Dart 95.37% Ruby 3.33%

provider_architecture's Introduction

provider_start

A Flutter Skeleton application for the provider architecture.

Inspiration

  • This project is a starting point for a Flutter application using the provider architecture.
  • This project heavily uses the flutter tutorials and snippets of the filled stacks youtube channel.
  • Feel free to send in Pull Requests to improve the application.

Filled Stacks Links:

Features

Master branch

  • custom routing
  • script for autoformatting on commits
  • localization
  • validation mixin
  • json serialization
  • functional widgets
  • http service
  • navigation service
  • key storage service
  • dialog service
  • api service
  • connectivity service
  • system light/dark theme support
  • platform adaptive widgets
  • life cycle manager
  • app settings
  • custom fonts
  • app icons
  • local storage service
  • network sensitive ui
  • graphQL api service

Geolocator branch

  • location service
  • location permission service

Starting pages included

  • Tab Container
  • Home View
  • Settings View
  • Login View

Installation

  • run ./format.sh to setup git pre commit formatting
  • run flutter packages pub run build_runner build --delete-conflicting-outputs if you plan to add/change any serializers once
  • run flutter packages pub run build_runner watch --delete-conflicting-outputs if you plan to add/change any serializers multiple times

Adding support for another language

  • Find the language local code for here codes
  • Inside of lib/local_setup.dart add the local code to supportedLocales and supportedLocalCodes
  • Create a <local>.json file under assets/lang/ and fill out every value for your language
  • Run flutter clean inside you lib apps directory if flutter complains
  • There is also a different way to implement locals using the intl package. An example on how to do so can be found here

Adding app icon

  • Change icon assets/images/logo.png another image
  • If new icon has a different path update flutter_icons: in the pubspec.yaml file
  • Run flutter flutter pub get and then flutter pub run flutter_launcher_icons:main

provider_architecture's People

Contributors

victoruvarov avatar ferrarafer avatar

Stargazers

SaiyedMustaq avatar

Watchers

James Cloos avatar  avatar

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.