flutter_easy_dialogs 3.0.0+2 flutter_easy_dialogs: ^3.0.0+2 copied to clipboard
Easy and flexible package for showing dialogs inside your Flutter application .
import 'package:example/screens/home_screen.dart';
import 'package:flutter/material.dart';
import 'package:flutter_easy_dialogs/flutter_easy_dialogs.dart';
void main() {
runApp(const MyApp());
}
class MyApp extends StatelessWidget {
const MyApp({Key? key}) : super(key: key);
@override
Widget build(BuildContext context) {
return MaterialApp(
debugShowCheckedModeBanner: false,
theme: ThemeData(
colorScheme: ColorScheme.fromSeed(seedColor: Colors.deepPurple),
useMaterial3: true,
),
title: 'Easy Dialogs demo',
home: const HomeScreen(),
builder: FlutterEasyDialogs.builder(),
);
}
}