alert_dialog 1.0.0 copy "alert_dialog: ^1.0.0" to clipboard
alert_dialog: ^1.0.0 copied to clipboard

outdated

Alert Dialog Widget JS-LIKE for Flutter. Use alert dialog easy and simple for your flutter app.

example/main.dart

import 'package:flutter/material.dart';

import 'package:alert_dialog/alert_dialog.dart';

void main() => runApp(MyApp());

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Welcome to Flutter',
      home: Scaffold(
        appBar: AppBar(
          title: Text('Welcome to Flutter'),
        ),
        body: Center(
          child: TextButton(
            child: Text('Alert Dialog'),
            onPressed: () async {
              return alert(context, title: Text('Alert'));
            },
          ),
        ),
      ),
    );
  }
}
9
likes
0
pub points
87%
popularity

Publisher

unverified uploader

Alert Dialog Widget JS-LIKE for Flutter. Use alert dialog easy and simple for your flutter app.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter

More

Packages that depend on alert_dialog