clover 4.0.0 copy "clover: ^4.0.0" to clipboard
clover: ^4.0.0 copied to clipboard

Clover is an open source framework for building MVVM applications with Flutter.

example/lib/main.dart

import 'package:clover/clover.dart';
import 'package:flutter/material.dart';

import 'view_models.dart';
import 'views.dart';

void main() {
  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: 'Clover',
      theme: ThemeData.light(),
      darkTheme: ThemeData.dark(),
      home: ViewModelBinding(
        viewBuilder: () => const HomeView(),
        viewModelBuilder: () => HomeViewModel(),
      ),
    );
  }
}
3
likes
160
points
237
downloads

Publisher

verified publisherhebei.dev

Weekly Downloads

Clover is an open source framework for building MVVM applications with Flutter.

Repository (GitHub)
View/report issues

Topics

#clover #mvvm

Documentation

API reference

License

MIT (license)

Dependencies

flutter

More

Packages that depend on clover