asuka 1.0.4

Flutter Android iOS web

Show Snackbars, dialogs, ModalSheets in a single provider. Simple and Clean.

Asuka #

Show Snackbars, dialogs, ModalSheets in a single provider. Simple and Clean.

Instalation #

Add in your pubspec.yaml

dependencies:
  asuka: any

now, add in your MaterialApp:

import 'package:asuka/asuka.dart' as asuka;

MaterialApp(
    builder: asuka.builder,
);

THAT'S IT!

Using #

Snackbars #

import 'package:asuka/asuka.dart' as asuka;

//use same Scaffold documetation
asuka.showSnackBar(SnackBar(
    content: Text("Hello World"),
));


Overlay #

import 'package:asuka/asuka.dart' as asuka;

var entry = OverlayEntry(
    builder: (context) {
    return Center(
        child: CircularProgressIndicator(),
    );
  },
);

asuka.addOverlay(entry);

//after
entry.remove();

BottomSheet #

import 'package:asuka/asuka.dart' as asuka;

//use same Scaffold documetation
asuka.showBottomSheet((context) => Container());

Dialogs #

import 'package:asuka/asuka.dart' as asuka;

//use same Material documetation
asuka.showDialog(
    builder: (context) => AlertDialog(),
);

Features and bugs #

Please send feature requests and bugs at the issue tracker.

53
likes
110
pub points
85%
popularity

Publisher

flutterando.com.br

Show Snackbars, dialogs, ModalSheets in a single provider. Simple and Clean.

Repository (GitHub)
View/report issues

Documentation

API reference

License

unknown (LICENSE)

Dependencies

flutter

More

Packages that depend on asuka