rapidfire 0.0.1-alpha.1.5
rapidfire: ^0.0.1-alpha.1.5 copied to clipboard
RapidFire Flutter Library.

Rapid Fire #
A comprehensive ORM system for mobile application development. This framework used various popular Dart packages in one place to provide necessary tools support to the developer to build any application at a quick time. To quickly manage initial setup like onboarding, theme, color, style for controls and app background globally, an interface can be implemented under configuration section. It has model annotations for automatic data validation, CRUD and API operations are required no coding and fully automatic. This is a RND initiative in progress, be connected to get the new stable release.
Supported platforms #
- Android 6.0 +
- ios 8 + (64bit only)
Features #
- Comprehensive ORM system for mobile application development
- Less Development Time & Developers Friendly
- Organized Boiler plating
- Modular Architecture
- Beautiful & Fast UI Performance
- Minimize Quality Control Overhead Assuring best UX Experiences
- Runs Anywhere (Android, iOS)
- Authentication Ready (App Login, Facebook, Twitter, Google, 2FA and OPT)
- Zero API and CRUD Code
- Auto Model Mapping
- Model Validations
- Scalable Architecture
Getting Started #
In the pubspec.yaml of your flutter project, add the following dependency:
dependencies:
...
rapidfire: "^0.0.1-alpha.1.1"
flutter_localizations:
sdk: flutter
dev_dependencies:
...
build_runner: "^1.0.0"
In your library add the following import:
import 'package:rapidfire/RapidFire.dart';
For help getting started with Flutter, view the online documentation.
Example #
In the main function, implement the RapidFire class providing a AppConfig and initializeReflectable method. initializeReflectable will show error initially, run **flutter packages pub run build_runner build ** in Terminal to eleminate this. This will generate reflectable model objects for your application.
void main() {
RapidFire(
AppConfig(),
initializeReflectable,
);
}
To quick start , download StartupMini.zip/ StartupFat.zip from here. Copy assets folder and build.yaml file in project root folder. Copy config, models, pages and validator folder under your lib directory. Press Alt + Enter for necessary library import. And also include asset and fonts in your pubspec.yaml. In Terminal, run flutter packages pub run build_runner build to generate existing model reflection. Finalnny start work on Home.dart page and extend your application as per clients and business requirements.
assets:
- assets/language/lang_en.json
- assets/language/lang_es.json
- assets/images/
- assets/images/intro/
- assets/design_course/
- assets/fitness_app/
- assets/hotel/
fonts:
- family: Berlin Sans FB Demi Bold
fonts:
- asset: assets/fonts/Berlin-Sans-FB-Demi-Bold.ttf
- family: Raleway
fonts:
- asset: assets/fonts/raleway.thin.ttf
- asset: assets/fonts/Raleway-Bold.ttf
weight: 300
- family: icomoon
fonts:
- asset: assets/fonts/IcoMoon.ttf
The result of val in onChanged, validator and onSaved will be a json String.
So, if you tap the icon ac_unit in the dialog window, the result value will be:
'{"iconName": "ac_unit", "codePoint": 60219, "fontFamily": "MaterialIcons"}'
Transforming the String result of IconPicker in an IconData:
String value = '{"iconName": "ac_unit", "codePoint": 60219, "fontFamily": "MaterialIcons"}'
var iconDataJson = jsonDecode(value);
IconData icon = IconData(iconDataJson['codePoint'], fontFamily: iconDataJson['fontFamily']);
Icon(icon);
Preview #
Author #
Rokybul Imrose - Initial work and ovrall arhictecture
Feel free to contract #
Gmail : rbimrose@gmail.com