get_cubit 1.0.0 get_cubit: ^1.0.0 copied to clipboard
A package to help handle Cubit instances across the app.
import 'package:example/home.dart';
import 'package:flutter/material.dart';
void main() {
runApp(const MyApp());
}
class MyApp extends StatelessWidget {
const MyApp({super.key});
@override
Widget build(BuildContext context) {
return MaterialApp(
title: 'GetCubit Demo',
theme: ThemeData(primarySwatch: Colors.blue, useMaterial3: false),
home: const Home(),
);
}
}