express_app 0.0.1-b copy "express_app: ^0.0.1-b" to clipboard
express_app: ^0.0.1-b copied to clipboard

outdated

A package to easily separate the app into Routers, Controller, Models, and Views.

Express App #

A plugin for Flutter to better separate the app into Routers, Controller, Models, and Views easily.

Status #

Please note version's number. This is still a beta, and only published to get feedback to include suggestions while working on it.

Examples #

void main() {
  runApp(
    Express(
      router: ExpressRouter(
        {
          '/secondPage': ExpressController(
            view: SecondPage(),
          ),
          '/': ExpressController(
            view: FirstPage(),
          ),
        }
      ),
    )
    // Express is not a widget. Do not forget to call the render function
    .render()
  );
}

For more examples, please refer to their folder.

TODO #

  • Find a way for the StatefulWidget to work
  • Work on passing data
  • Modify the flow to call the router instead of simply calling the navigator.
  • Link pages using actions or events to allow a whole graph of connections easily.
  • Use models
0
likes
0
pub points
0%
popularity

Publisher

unverified uploader

A package to easily separate the app into Routers, Controller, Models, and Views.

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

cupertino_icons, flutter

More

Packages that depend on express_app