flutter_framework 0.0.23 copy "flutter_framework: ^0.0.23" to clipboard
flutter_framework: ^0.0.23 copied to clipboard

This framework is use to build a whole universal app with headless cms.

This framework is use to build a whole universal app with headless cms.

Features #

Use to build a ecosystem.

Usage #

See example

import "source/app.dart";

void main() {
  UniversalApp().run();
}

class UniversalApp extends MaterialApplication {
  UniversalApp({super.key});

  @override
  RouterData setupRouter() {
    Map<String, IPage Function()> routes = buildRouter(app.pages);
    routes[Routes.home] = () => HomePage();
    return RouterData(routes);
  }
}

class HomePage extends IStatelessPage {
  HomePage({super.key});

  @override
  Widget render(BuildContext context) {
    return FFColumn(children: [
      FFContainer(
          marginBottom: 20,
          child: FFHeadlineMediumText("Welcome back to work")),
      FFContainer(child: FFHeadlineSmallText("Let's work hard together!"))
    ]);
  }
}