mvi 1.0.2 copy "mvi: ^1.0.2" to clipboard
mvi: ^1.0.2 copied to clipboard

A Flutter package that applies the MVI architectural pattern to help manage app state and logic in a structured and maintainable way.

example/lib/main.dart

import 'package:flutter/material.dart';
import 'package:example/login/login_page.dart';
import 'package:example/login/view_model/login_view_model.dart';
import 'package:flutter/services.dart';

void main() {
  WidgetsFlutterBinding.ensureInitialized();
  SystemChrome.setEnabledSystemUIMode(SystemUiMode.manual, overlays: []);

  runApp(const MyApp());
}

class MyApp extends StatelessWidget {
  const MyApp({super.key});

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Demo',
      theme: ThemeData(
        colorScheme: ColorScheme.fromSeed(seedColor: Colors.deepPurple),
        useMaterial3: true,
      ),
      home: LoginPage(viewModel: () => LoginViewModel()),
    );
  }
}
3
likes
0
points
3
downloads

Publisher

verified publisherfelipereis.me

Weekly Downloads

A Flutter package that applies the MVI architectural pattern to help manage app state and logic in a structured and maintainable way.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter, signals

More

Packages that depend on mvi