meedu 0.4.1 meedu: ^0.4.1 copied to clipboard
A simple State Managment, Dependency Injection, Reactive programming and Navigation for Flutter apps.
import 'package:flutter/material.dart';
import 'package:meedu/router.dart' as router;
import 'package:meedu_example/modules/rx_observables_change.dart';
import 'modules/home/home_page.dart';
void main() {
router.setDefaultTransition(router.Transition.fadeIn);
runApp(MyApp());
}
class MyApp extends StatelessWidget {
// This widget is the root of your application.
@override
Widget build(BuildContext context) {
return MaterialApp(
title: 'Flutter Demo',
navigatorKey: router.navigatorKey,
theme: ThemeData(
primarySwatch: Colors.blue,
visualDensity: VisualDensity.adaptivePlatformDensity,
),
home: HomePage(),
);
}
}