SavePointsContextExtension extension
Extension methods on BuildContext for easier access to SavePoints components
- on
Methods
-
dismissAllSnackbars(
) → void -
Available on BuildContext, provided by the SavePointsContextExtension extension
Dismisses all currently visible snackbars -
showBottomSheet<
T> ({String? title, Widget? child, IconData? icon, bool isDismissible = true, bool enableDrag = true, ContentDesignStyle? designStyle, double? blur, ImageFilter? backdropFilter}) → Future< T?> -
Available on BuildContext, provided by the SavePointsContextExtension extension
Shows a bottom sheet -
showConfirmDialog(
{required String title, required String message, String confirmText = 'Confirm', String cancelText = 'Cancel', IconData? icon, Color? iconColor, ContentDesignStyle? designStyle, double? blur, ImageFilter? backdropFilter}) → Future< bool?> -
Available on BuildContext, provided by the SavePointsContextExtension extension
Shows a confirmation dialog -
showErrorDialog(
{required String title, required String message, String confirmText = 'OK', IconData icon = Icons.error, Color iconColor = Colors.red, ContentDesignStyle? designStyle, double? blur, ImageFilter? backdropFilter}) → Future< bool?> -
Available on BuildContext, provided by the SavePointsContextExtension extension
Shows an error dialog -
showErrorSnackbar(
{required String title, String? subtitle, Duration? duration, bool showProgressIndicator = false, ContentDesignStyle? designStyle, double? blur, ImageFilter? backdropFilter}) → void -
Available on BuildContext, provided by the SavePointsContextExtension extension
Shows an error snackbar -
showInfoDialog(
{required String title, required String message, String confirmText = 'OK', IconData icon = Icons.info, Color iconColor = Colors.blue, ContentDesignStyle? designStyle, double? blur, ImageFilter? backdropFilter}) → Future< bool?> -
Available on BuildContext, provided by the SavePointsContextExtension extension
Shows an info dialog -
showInfoSnackbar(
{required String title, String? subtitle, Duration? duration, bool showProgressIndicator = false, ContentDesignStyle? designStyle, double? blur, ImageFilter? backdropFilter}) → void -
Available on BuildContext, provided by the SavePointsContextExtension extension
Shows an info snackbar -
showSuccessDialog(
{required String title, required String message, String confirmText = 'OK', IconData icon = Icons.check_circle, Color iconColor = Colors.green, ContentDesignStyle? designStyle, double? blur, ImageFilter? backdropFilter}) → Future< bool?> -
Available on BuildContext, provided by the SavePointsContextExtension extension
Shows a success dialog -
showSuccessSnackbar(
{required String title, String? subtitle, Duration? duration, bool showProgressIndicator = false, ContentDesignStyle? designStyle, double? blur, ImageFilter? backdropFilter}) → void -
Available on BuildContext, provided by the SavePointsContextExtension extension
Shows a success snackbar -
showWarningSnackbar(
{required String title, String? subtitle, Duration? duration, bool showProgressIndicator = false, ContentDesignStyle? designStyle, double? blur, ImageFilter? backdropFilter}) → void -
Available on BuildContext, provided by the SavePointsContextExtension extension
Shows a warning snackbar