fl_mvvm 2.0.0-dev-3 copy "fl_mvvm: ^2.0.0-dev-3" to clipboard
fl_mvvm: ^2.0.0-dev-3 copied to clipboard

A concise and powerful Flutter package that implements the MVVM (Model-View-ViewModel) architecture. Built on top of Signals for state management, this package provides a seamless and efficient way to [...]

example/lib/main.dart

import 'package:flutter/material.dart';
import 'package:todo_app/app/dependencies/app_dependencies.dart';
import 'package:todo_app/presentation/views/todo/todos_view.dart';

void main() async {
  await AppDependencies.injectDependencies();

  runApp(const MyApp());
}

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

  // This widget is the root of your application.
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Demo',
      debugShowCheckedModeBanner: false,
      theme: ThemeData(
        inputDecorationTheme: InputDecorationTheme(
            enabledBorder: OutlineInputBorder(
                borderSide: const BorderSide(
                  color: Colors.black,
                ),
                borderRadius: BorderRadius.circular(50))),
        colorScheme: ColorScheme.fromSeed(seedColor: Colors.deepPurple),
        useMaterial3: true,
      ),
      home: const TodosView(),
    );
  }
}
3
likes
130
points
63
downloads

Publisher

unverified uploader

Weekly Downloads

A concise and powerful Flutter package that implements the MVVM (Model-View-ViewModel) architecture. Built on top of Signals for state management, this package provides a seamless and efficient way to handle the state of the view in your Flutter applications. With a clean separation of concerns and a reactive approach, it simplifies the development process and enhances the maintainability of your codebase.

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

equatable, flutter, meta, signals_flutter

More

Packages that depend on fl_mvvm