prop_commands 0.1.0
prop_commands: ^0.1.0 copied to clipboard
A set of utility classes for creating properties and commands in classes that extend ChangeNotifier.
import 'package:flutter/material.dart';
import 'pages/root/root_page.dart';
void main() {
runApp(const MyApp());
}
class MyApp extends StatelessWidget {
const MyApp({super.key});
@override
Widget build(BuildContext context) {
return MaterialApp(
theme: ThemeData(
useMaterial3: true,
colorScheme: ColorScheme.fromSeed(seedColor: Colors.teal)),
home: const SafeArea(
child: RootPage(),
),
);
}
}