screens/quds_screens
library
Classes
-
QudsLightDrawer
-
A drawer with simple design.
-
A button with radian ink splash effect.
-
The base of the items of
QudsPopupMenu
-
A divider to be inserted in the popup menu
-
An item for
QudsPopupMenu
like ListTile
-
A Section of items in
QudsPopMenu
-
Quds popup menu that holds a widget
-
QudsSplashView
-
Splash screen component with pre-defined components.
Functions
-
showQudsConfirmDeleteDialog(BuildContext context, {Widget? child = const Text('Are you sure to delete?'), Widget builder(BuildContext context)?, EdgeInsets insetPadding = _defaultDialogInsetPadding, String? title = 'Delete', AlignmentGeometry alignment = Alignment.center, Color? backgroundColor, Color? barrierColor, BorderRadius? borderRadius, String deleteText = 'Delete', String cancelText = 'Cancel', bool withBlur = false, Function? onDeletePressed, Function? onCancelPressed, bool withAnimatedSize = true})
→ Future<void>
-
Show confirmation delete dialog with two actions
Delete
- Cancel
.
-
showQudsConfirmExitDialog(BuildContext context, {Widget? child = const Text('Are you sure to exit?'), Widget builder(BuildContext context)?, EdgeInsets insetPadding = _defaultDialogInsetPadding, String? title = 'Exit', AlignmentGeometry alignment = Alignment.center, Color? backgroundColor, BorderRadius? borderRadius, String exitText = 'Exit', String cancelText = 'Cancel', Color? barrierColor, bool withBlur = false, Function? onExitPressed, Function? onCancelPressed, bool withAnimatedSize = true})
→ Future<void>
-
Show confirmation exit dialog with two actions
Exit
- Cancel
.
-
showQudsDialog<T>(BuildContext context, {Widget? child, Widget builder(BuildContext context)?, EdgeInsets insetPadding = _defaultDialogInsetPadding, Widget? title, List<Widget>? actions, List<Widget>? leadingActions, AlignmentGeometry alignment = Alignment.center, Color? backgroundColor, Color? barrierColor, BorderRadius? borderRadius, bool withBlur = false, bool withAnimatedSize = true})
→ Future<T?>
-
Show a dialog with already defined components like title, body, bottom actions, leading icon.
-
showQudsModalBorderSheet<T>(BuildContext context, Widget builder(BuildContext context), {BorderSheetPosition borderSheetPosition = BorderSheetPosition.RespectToScreenOrientation, String? titleText, double cornerRadius = 15, Widget? title, Curve curve = Curves.fastLinearToSlowEaseIn, Duration duration = const Duration(milliseconds: 500)})
→ Future<T?>
-
Show modal border.
-
showQudsModalBottomSheet<T>(BuildContext context, Widget builder(BuildContext context), {EdgeInsets? contentPadding, String? titleText, Widget? title})
→ Future<T?>
-
Show modal bottom sheet with buatiful container.
-
Show
QudsPopupMenu
from calling button
context
the calling build context.
items
the items to be shown in the menu
useRootNavigator
weather to use root navigator
backgroundColor
the background of the popup menu
-
showQudsToast(BuildContext context, {MainAxisAlignment alignment = MainAxisAlignment.center, Widget? content, List<Widget>? leadingActions, List<Widget>? trailingActions, Color? backgroundColor, Color? shadowColor, Duration? displayDuration, QudsToastTime? toastTime = QudsToastTime.Normal})
→ Future
-
Show customizable buatiful toast.
-
showQudsYesNoDialog(BuildContext context, {Widget? child, Widget builder(BuildContext context)?, EdgeInsets insetPadding = _defaultDialogInsetPadding, Widget? title, List<Widget>? leadingActions, AlignmentGeometry alignment = Alignment.center, Color? backgroundColor, BorderRadius? borderRadius, String yesText = 'Yes', String noText = 'No', Color? yesColor, Color? barrierColor, bool withBlur = false, Color? noColor, Function? onYesPressed, Function? onNoPressed, bool withAnimatedSize = true})
→ Future<void>
-
Show two actions dialog with
Yes
- No
.