widgets/index library
Classes
- Animations
- CustomDialog
- Debounce
- DelayTween
- FadingCircle
- FadingCircleState
- SpinKitThreeBounce
- SpinKitThreeBounceState
- TagLimitedModel
- this modal is used in user modal we are using limited keys values in relation
- UFUAvatar
- UFUBottomSheetController
- UFUButton
- UFUCheckbox
- UFUConfirmationDialog
- UFUConfirmationDialogState
- UFUCustomListBottomSheet
- UFUDashedBorder
- This class has 4 initialize method like Border class. You can create different borders or define them all in one place. dashLength is the length of the dashes spaceLength is the length of the spaces. Default value is equal dashLength spaceRatio is ratio of space to dash lengths
- UFUFilePicker
- UFUIcon
- UFUIconButton
- UFUImagePicker
- UFUInputBox
- UFUInputBoxClearIcon
- UFUInputBoxController
- UFUInputBoxState
- UFULayoutBuilder
- UFULoader
- UFULoadMoreButton
- UFUMultiListMultiSelect
- UFUMultiSelect
- UFUMultiSelectHeader
- UFUMultiSelectList
- UFUMultiSelectModel
- Defines data modal of a UFUSingleSelect class
- UFUMultiSelectMultiListModel
- UFUMultiSelectState
- UFUMultiSelectSubHeader
- UFUMultiSelectSubList
- UFUMultiSelectView
- UFUNetworkImage
- UFUNoDataFound
- UFUOtpInputBox
- UFUPopUpBuilder
-
UFUPopUpMenuButton<
T> - UFUReadDialog
- UFUReadMoreText
- UFUReadMoreTextState
- UFUResponsiveBuilder
- UFUScaffold
- UFUScaleAndRotateAnim
- UFUScaleInOutAnim
- UFUShimmer
- UFUSingleSelect
- UFUSingleSelectHeader
- UFUSingleSelectList
- UFUSingleSelectModel
- UFUSingleSelectState
- UFUSingleSelectView
- UFUSvgImage
- UFUText
- UFUTextButton
- UFUTextSpan
- UFUThumb
- UFUThumbFolder
- UFUThumbIcon
- UFUThumbImage
- UFUToast
- UFUVideoPlayer
- UFUVideoPlayerController
Enums
- ThumbSize
- TrimMode
- UFUAvatarSize
- Defines size of a avatar.
- UFUButtonColorType
- UFUButtonColorType is used to change background color, border color button widget.
- UFUButtonRadius
- UFUButtonRadius is used to set border radius of a button widget
- UFUButtonSize
- UFUButtonSize is used to set size of a button widget
- UFUButtonType
- UFUButtonType is used to set type of a button widget
- UFUInputBoxType
- UFUMultiSelectType
- UFUSingleSelectType
- UFUThumbIconType
- UFUThumbIconType is used to set type of a thumbIcon widget
- UFUThumbType
- UFUThumbType is used to set type of a thumb widget
Constants
- ellipsisChar → const String
- lineSeparator → const String
Functions
-
ShowUFUBottomSheet(
{required Widget child(UFUBottomSheetController controller), bool isScrollControlled = false, bool ignoreSafeArea = true, bool isDismissible = true, bool enableDrag = false, bool allowFullWidth = false, bool enableInsets = false}) → Future -
showUFUBottomSheet can be used when we have to perform loading
but we don't have controller for managing our loading state
a default controller will be provided with it and loading
state can be toggled easily by
controller.toggleIsLoading()
-
ShowUFUConfirmationDialog(
{required String? title, String? subTitle, Color? subTitleColor, String? prefixBtnText = 'Cancel', String? suffixBtnText = '', VoidCallback? onTapPrefix, VoidCallback? onTapSuffix, IconData? icon, double? iconSize, UFUConfirmationDialogType? type = UFUConfirmationDialogType.message, bool disableButtons = false, Widget? suffixBtnIcon, Widget? content, UFUButtonColorType? prefixBtnColorType, VoidCallback? onTapIcon}) → dynamic -
showUFUConfirmationLoader(
{bool? show = false, double size = 20}) → Widget? -
showUFUConfirmationLoader can be used to show loading animation on buttons
parameters: show
optional
show:- it is a bool variable which can be used to show or hide loader default value isfalse
-
showUFUDialog(
{required Widget child(UFUBottomSheetController controller), bool allowFullWidth = false, bool enableInsets = false}) → Future -
showUFUGeneralDialog(
{required Widget child(UFUBottomSheetController controller), Widget? secondChild, bool? isDismissible = true, bool allowFullWidth = false}) → Future -
ShowUFULoader(
{String? msg}) → Future< void>