fast_overlays

Last updated:

0 purchases

fast_overlays Image
fast_overlays Images
Add to Cart

Description:

fast overlays

Show overlays without context






Features #
Unlike other contextless overlay solutions, fast_overlays uses Flutter's built-in overlay implementations
fast_overlays supports the following overlays:

Snackbar
Material banner
Modal bottom sheet
Date picker
Date range picker
Time picker
License page
Search
Menu
Dialog
About dialog
General dialog

Convenience classes #



Class
Use-case




SnackBarDuration
SnackBar duration constants



Getting started #
Register a GlobalKey with FastOverlays and your MaterialApp

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

void example() {
// ...

MaterialApp(
navigatorKey: FastOverlays.init(),
);
}

copied to clipboard
Usage #

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

void showSnackbar() {
FastOverlays.showSnackBar(
const SnackBar(
content: Text('I am a snackbar'),
duration: SnackBarDuration.indefinite,
),
);
}

copied to clipboard
Additional information #
See fast_ui for more information

License:

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.