Git Product home page Git Product logo

battle_simulation's Introduction

flutter_template

A Flutter Template to start working directly on your application. The counter app provided by flutter is great to start playing with flutter, But when it comes to building a real application, You do certain things that are very common to most of your applications This is created with an intention to save your time doing repetative work with your new project like creating folder structure, adding files to gitignore, adding localization networking capabilities. Doing these things with every new project is repetetive and time consuming. This template repo just helps you solve this problem.

By adding the minimal things that are required to most of the applications. Ofcourse, Everyone has their own requirement and style of maintaining their projects, so not everything in this template repo is required. But you can just fork and modify it the way you need it. So the next time you create a new flutter project you have your own template ready to go.

Feel free to fork this repo and modify this template as you like. If this template helps you save even 15 mins on your new project the goal is reached.

Things to do post fork

  1. Change the AppTitle

    Android

    a) navigate to file android/app/src/main/AndroidManifest.xml b) look for label named android:label

    IOS

    a) navigate to file ios/Runner/Info.plist

    b) look for

      <key>CFBundleName</key>
      <string>App Name</string>
    

    Still stuck look here

  2. Change the package name, The default package name is (com.example.flutter_create) Use search and replace feature of your IDE to get this done.

  3. If your app does not need localization delete lib/localization directory and also delete the corresponding packages from pubspec.yaml

  • flutter_localizations:
  • flutter_cupertino_localizations
  1. This template cannot run unless you generate the models by running this command. Look for lib/models/user_model.dart an example for generating json serializable is given there
flutter pub run build_runner build --delete-conflicting-outputs

flutter pub run build_runner watch // watches the file changes

for more look at the example file at lib/models/user_model.dart

  1. Go to pubspec.yaml and update the version, title and description, homepage, issue_tracker

  2. Help improve this template by suggesting a change that you think is required.

Contributing

Do you feel this template can be improved or needs some modification or has issues feel free to file a issue. This will help improve this template with time.

battle_simulation's People

Contributors

maheshj01 avatar

Stargazers

 avatar  avatar

Watchers

 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.