notify_toast 0.0.3 copy "notify_toast: ^0.0.3" to clipboard
notify_toast: ^0.0.3 copied to clipboard

notify the alert

notify_toast #

Use it #

Depend on it #

dependencies:
  notify_toast: 0.0.3

Import it #

import 'package:notify_toast/notify_toast.dart';

Example #

NotifyToast().show(
  context,
  bgColor: Colors.green.withOpacity(0.6),
  progressColor: Colors.blueGrey,
  progressHeight: 4,
  child: Container(
    padding: EdgeInsets.only(
    top: MediaQuery.of(context).padding.top + 16,
    bottom: 24,
  ),
    child: Row(
      children: [
        const Expanded(
          child: Text(
            'NotifyToast',
          ),
        ),
        IconButton(
          onPressed: () {
            NotifyToast().hide();
          },
          icon: const Icon(
            Icons.close_rounded,
          ),
        ),
      ],
    ),
  ),
);
0
likes
150
points
2
downloads

Publisher

unverified uploader

Weekly Downloads

notify the alert

Homepage

Documentation

API reference

License

MIT (license)

Dependencies

blurrycontainer, flutter

More

Packages that depend on notify_toast