flutter_icon_dialog 1.2.1 copy "flutter_icon_dialog: ^1.2.1" to clipboard
flutter_icon_dialog: ^1.2.1 copied to clipboard

Flutter icon dialog is a animated dialog and platform detected dialog from Flutter.

example/example.dart

import 'package:flutter/material.dart';
import 'package:flutter_icon_dialog/flutter_icon_dialog.dart';

void main() {
  runApp(const ExampleApp());
}

class ExampleApp extends StatelessWidget {
  const ExampleApp({super.key});

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'IconDialog Demo',
      theme: ThemeData(
        primarySwatch: Colors.blue,
      ),
      home: const ExamplePage(),
    );
  }
}

class ExamplePage extends StatelessWidget {
  const ExamplePage({super.key});

  @override
  Widget build(BuildContext context) {

    return Scaffold(
      appBar: AppBar(
        title: const Text('IconDialog'),
      ),
      body: Center(
        child: Column(
          mainAxisAlignment: MainAxisAlignment.center,
          children: <Widget>[
            ElevatedButton(onPressed: (){

              IconDialog.show(
                  context: context,
                  title: 'title',
                  iconTitle: true,
                  content: 'Connect successfully',
              );

                }, child: const Text("save"))
          ],
        ),
      ),
    );
  }
}
2
likes
140
pub points
54%
popularity

Publisher

verified publishertyrannoapartment.com

Flutter icon dialog is a animated dialog and platform detected dialog from Flutter.

Homepage
Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

cupertino_icons, flutter, icon_animated

More

Packages that depend on flutter_icon_dialog