master_utility 0.0.7 master_utility: ^0.0.7 copied to clipboard
All-in-one utility solution with Size, Navigation, Image Picker, Date Time, Auto Size Text, Toast, Email, Log, Dialog, Cache Image, Validation, API and Shared Preferences.
import 'package:example/views/example_view.dart';
import 'package:flutter/material.dart';
import 'package:master_utility/master_utility.dart';
Future<void> main() async {
WidgetsFlutterBinding.ensureInitialized();
await PreferenceServiceHelper.init();
runApp(const MyApp());
}
class MyApp extends StatelessWidget {
const MyApp({super.key});
@override
Widget build(BuildContext context) {
return MasterUtilityMaterialApp(
title: 'Example App',
home: ExampleView(),
);
}
}