Last updated:
0 purchases
flutter framework
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!"))
]);
}
}
copied to clipboard
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.