flutter_arhitecture_helper

Architecture helper package

Designed for a quick start when developing applications. Allows you to simplify the creation of Clear Architecture and facilitate the basic tasks inherent in most applications.

This package helps not only to organize your code qualitatively, but also includes methods that facilitate a lot of tasks.

Usage

To use this package, add flutter_arhitecture_helper as a dependency in your pubspec.yaml file.

dependencies:
  flutter_arhitecture_helper: ^0.4.3

Example

Main function

var theme = new ThemeData(
  primarySwatch: Colors.blue,
);
var appCongig = new BaseAppConfig(
    isMaterial: true,
    title: 'DipDev Studio',
    theme: theme,
    color: theme.primaryColor,
    home: new SplashScreen());
var app = new BaseApp(appCongig);

void main() => runApp(app);
view.navigateTo(model.context, new MainScreen(), true);
view.navigateBack(model.context);

Refresh UI from View Model

view.updateUI();

Events in View Model

@override
void init() {
  super.init();
}

@override
void viewCreated() {}

@override
void viewRefresh() {}

@override
void initState() {}

@override
void viewDisposed() {}

@override
void viewResumed() {}

@override
void viewInactive() {}

@override
void viewPaused() {}

@override
void viewSuspending() {}

Authors

This project developed by DipDev Studio Team: @Dimoshka

Libraries

base_app
base_app_config
base_app_model
base_app_view
base_app_view_model
base_entity
base_model
base_model
base_model_utils
base_screen
base_screen
base_view
base_view
base_view_model
base_view_model
base_view_model_utils
base_view_utils
loading_widget
validators