festpopupdialog 0.0.1
festpopupdialog: ^0.0.1 copied to clipboard
A popup display for the festival process on festival process.
example/lib/main.dart
import 'package:flutter/material.dart';
import 'dart:async';
import 'package:flutter/services.dart';
import 'package:festpopupdialog/festpopupdialog.dart';
void main() {
runApp( MyApp());
}
class MyApp extends StatefulWidget {
const MyApp({super.key});
@override
State<MyApp> createState() => _MyAppState();
}
class _MyAppState extends State<MyApp> {
@override
void initState() {
super.initState();
initPlatformState();
}
// Platform messages are asynchronous, so we initialize in an async method.
Future<void> initPlatformState() async {
}
@override
Widget build(BuildContext context) {
return MaterialApp(
home: Scaffold(
appBar: AppBar(
title: const Text('Plugin example app'),
),
body: Center(
child: FestivalDialog(path: "https://c.ndtvimg.com/2021-03/ep5miu58_happy-holi_625x300_29_March_21.jpg"),
),
),
);
}
}