blobs\blobs
library
Functions
-
launchAssuredConfirmDialog(BuildContext context, {required String message, required String title, Icon icon = const Icon(Icons.warning_amber_rounded), void onCancel()?, required void onConfirm()})
→ Future<void>
-
-
launchConfirmDialog(BuildContext context, {required Widget message, Icon? icon, bool showTitle = true, String title = "Are you sure?", bool showOkLabel = true, String okLabel = "Yes", String denyLabel = "No", bool callAfter = false, required void onConfirm(), void onDeny()?})
→ Future<void>
-
generic confirmation dialog
-
launchInformDialog(BuildContext context, {required Widget message, Icon? icon, required String title, void onExit()?})
→ Future<void>
-
-
launchNumberPickerDialog(BuildContext context, {required int minValue, required int maxValue, int? itemCount, bool infiniteLoop = true, Axis? alignment, required void onChange(int res)})
→ void
-
-
launchURLLaunchDialog(BuildContext context, {required String url, required String message})
→ Future<void>
-
-
preferTonalButton({required void onPressed(), required Widget label, ButtonStyle? style, required Widget icon})
→ Widget
-
-
strutAll(List<Widget> children, {double? width, double? height})
→ List<Widget>
-
-
yummyDeadlySnackBar(String message, [double width = 300])
→ SnackBar
-
-
yummySnackBar({Color? backgroundColor, Icon? icon, required String message, bool showCloseIcon = true, EdgeInsetsGeometry? margin = const EdgeInsets.only(left: 40, right: 40, top: 2, bottom: 2), Duration duration = const Duration(milliseconds: 2400), TextStyle textStyle = const TextStyle(fontWeight: FontWeight.w700, fontSize: 16, color: Colors.black)})
→ SnackBar
-
-
yummyWarningSnackBar(String message, [double width = 300])
→ SnackBar
-