view_model_kit 0.2.1 view_model_kit: ^0.2.1 copied to clipboard
A simple and easy ViewModel and state management Library. support ViewModel's state hold, Global state management. (Container's state hold)
import 'package:flutter/material.dart';
import 'package:view_model_kit_example/main_page.dart';
void main() {
runApp(const MyApp());
}
class MyApp extends StatelessWidget {
const MyApp({super.key});
@override
Widget build(BuildContext context) {
return MaterialApp(
title: 'View Model Kit Demo',
theme: ThemeData(
colorScheme: ColorScheme.fromSeed(seedColor: Colors.deepPurple),
useMaterial3: true,
),
home: const MainPage(),
);
}
}