widgets_functions 1.2.1
widgets_functions: ^1.2.1 copied to clipboard
Custom Widgets and Functions, Widgets and Function easy to access, reuse and no longer code.
example/lib/main.dart
import 'package:flutter/material.dart';
import 'package:widgets_functions_example/dashboard.dart';
import 'package:widgets_functions_example/utils/routes/routes.dart';
void main() {
WidgetsFlutterBinding.ensureInitialized();
runApp(const MyApp());
}
class MyApp extends StatelessWidget {
const MyApp({Key? key}) : super(key: key);
@override
Widget build(BuildContext context) {
return MaterialApp(
debugShowCheckedModeBanner: false,
routes: Routes.routes(context),
home: const Dashboard());
}
}