flutter_obs 1.4.1
flutter_obs: ^1.4.1 copied to clipboard
a easy flutter state management, the source code is less than 100, but you can use it to implement global and local states
example/lib/main.dart
import 'package:flutter/material.dart';
import 'pages/home.dart';
void main() {
runApp(const MainApp());
}
class MainApp extends StatelessWidget {
const MainApp({super.key});
@override
Widget build(BuildContext context) {
return MaterialApp(
theme: ThemeData(
materialTapTargetSize: MaterialTapTargetSize.padded,
),
home: const HomePage(),
);
}
}