alertify 0.0.2 copy "alertify: ^0.0.2" to clipboard
alertify: ^0.0.2 copied to clipboard

A Flutter package that shows beautiful alert with 5 different styles.

example/main.dart

import 'package:flutter/material.dart';
import '../lib/alertify.dart';

class AlertifyExample extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: Scaffold(
        body: Container(
          child: RaisedButton(onPressed: () {
            Alertify(context: context,
                isDismissible: true,
                content: 'Some content',
                title: 'title',
                animationType: AnimationType.bottomToTop,
                buttonText: 'Ok',
                alertType: AlertifyType.error).show();
          }, child: Text('Alert')),
        ),
      ),
    );
  }
}
3
likes
20
pub points
29%
popularity

Publisher

unverified uploader

A Flutter package that shows beautiful alert with 5 different styles.

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

flutter

More

Packages that depend on alertify