This is a mason brick you can use to generate code that get's you started right up with a flutter project

Overview

flutter_brick

This is a mason brick you can use to generate code that gets you started right up with a flutter project

Powered by Mason

A flutter brick created with the Mason CLI.

Generated by [mason][1] šŸ§±

Getting Started šŸš€

Steps

  1. Run dart pub global activate mason_cli to install mason.
  2. Go to the root of your new flutter application.
  3. Run mason add -g flutter_brick to install brick locally.
  4. Run mason make flutter_brick from the root of your application .
  5. Make the necessary changes.

Customizing

  • The brick doesn't incorporate riverpod or bloc as it gives you flexibility to choose whether to include them or not
  • The brick is intended to be run immediately after flutter create
  • Change the package name to your own
  • Overwrite main.dart Some other packages are included such as msix, native_splash,icons and will be run as follows:
    1. Icons The icon is under icon/icon.png, replace with your own and run command below See flutter_launcher_icons for more info
      • flutter pub run flutter_launcher_icons:main
    2. Splash The image is under assets/icon.png, replace with your own and run command below See flutter_native_splash
      • flutter pub run flutter_native_splash:create
    3. Msix To create msix windows installer See msix
      • flutter pub run msix:create
    4. Build runner To create fromJson and ToJson See build_runner
      • flutter packages pub run build_runner build --delete-conflicting-outputs

Feedback highly appreciated

You might also like...

Eds - A mini app demo that gets data from JSONPlaceholder

Eds - A mini app demo that gets data from JSONPlaceholder

eds_test A mini demo app using JSONPlaceholder API. Requirements Make sure you h

Nov 28, 2022

Given a JSON string, this library will generate all the necessary Dart classes to parse and generate JSON.

JSON to Dart Given a JSON string, this library will generate all the necessary Dart classes to parse and generate JSON. This library is designed to ge

Dec 25, 2022

A basic template of Flutter to get started. Includes various folders and packages that might be necessary.

A basic template of Flutter to get started. Includes various folders and packages that might be necessary.

Flutter App - Basic Template It's a time saving template with basic project structure, packages and other files like constants.dart to get started rat

Jun 12, 2022

A basic template of Flutter to get started. Includes various folders and packages that might be necessary.

A basic template of Flutter to get started. Includes various folders and packages that might be necessary.

Flutter App - Basic Template It's a time saving template with basic project structure, packages and other files like constants.dart to get started rat

Jun 12, 2022

Automatically generate profile picture with random first name and background color. But you can still provide pictures if you have them. As the default color, based on the name of the first letter. :fire: :fire: :fire:

Automatically generate profile picture with random first name and background color. But you can still provide pictures if you have them. As the default color, based on the name of the first letter. :fire: :fire: :fire:

FLUTTER PROFILE PICTURE Automatically generate profile picture with random first name and background color. But you can still provide pictures if you

Dec 20, 2022

This is a command-line app written on dart language for flutter applications that will help you to generate some boilerplate code

dart-generator Manual installation: 1- generate a platform executable from code dart compile exe main.dart -o generator this will generate a new gene

Oct 26, 2022

Asset manager helps you auto-generate the assets code and add it to your pubspec.yaml .

Asset manager helps you auto-generate the assets code and add it to your pubspec.yaml .

Asset Manager Asset manager helps you auto-generate the assets code and add it to your pubspec.yaml . Quick start dart pub global activate asset_manag

Nov 1, 2022

Flutter-context-menus - A flutter package to show context menus on right-click or long-press

context_menus A package to show context menus on right-click or long-press. šŸ”Ø I

Jan 18, 2022
Owner
Bruce Omukoko
I am a passionate android developer and always willing to learn
Bruce Omukoko
A collection of templates to make new Flutter components using the Mason build tool.

Mason Flutter Templates A collection of templates to make new Flutter components using the Mason build tool. Setup in Project To use these templates i

Marcus Twichel 5 Jun 21, 2022
A flutter plugin about qr code or bar code scan , it can scan from file态url态memory and camera qr code or bar code .Welcome to feedback your issue.

r_scan A flutter plugin about qr code or bar code scan , it can scan from file态url态memory and camera qr code or bar code .Welcome to feedback your iss

PengHui Li 112 Nov 11, 2022
FLUTTER API: It's powerful navigation by gestures and taps. You can scroll from left to right or tap on the navigation icons.

scroll_navigation My other APIs Video Viewer Video Editor Helpers Features Fancy animations. Customizable colors. Works with the back button. Scrollin

Luis Felipe Murguia Ramos 14 Jun 14, 2022
The FTC Team Scouter App that gets you results developed using a Dart framework

The FTC Team Scouter App that gets you results! Find your perfect alliance by seeing on what their robot can do, and find contact details all from right in the app! Great UI interfaces, Animations and more make it the perfect app for you

Siddharth Ray 2 May 31, 2022
Custom bottom bar - A bottom tool bar that can be swiped left or right to expose more tools.

custom_bottom_bar A bottom tool bar that can be swiped left or right to expose more tools. usage Create your custom bottom bars with up to four custom

null 4 Jan 26, 2020
A basic UI toolkit to get you started with flutter application development.

Basic UI Toolkit [Theme: School] Descrption A basic UI toolkit to get you started with flutter application development. Widget List: SchoolToolkitButt

BugTheDebugger 124 Oct 18, 2022
Flutter-sorted-chips-row - Flutter library for rendering a row of Material "Chip" buttons that gets sorted according to the given function

sorted_chips_row A Flutter Widget displaying a row of Material Chips, sorted according to the provided comparison function. How to use Adding dependen

Callstack Incubator 29 Jul 29, 2021
A simple screen that is shown when your app gets crashed instead of the normal crash dialog. It's very similar to the one in Flutter.

Red Screen Of Death What A simple screen that is shown when your app gets crashed instead of the normal crash dialog. It's very similar to the one in

Ahmad Melegy 178 Dec 9, 2022