universal_flutter_utils library
Classes
- Animations
- AppTheme
- CardNumberInputFormatter
- ContactModel
- CookiesService
- CustomDialog
- Debounce
- DelayTween
- FadingCircle
- FadingCircleState
- FileUploadStatus
- FileUploadSupportedFiles
- FileUploadType
- FormUiHelper
- NoLeadingZeroFormatter
- PaginationConstants
- PopoverActionModel
- RunModeService
- RunModeService helps in setting the run mode of code which further helps in easily differentiating between test runs and actual app run.
- SpinKitThreeBounce
- SpinKitThreeBounceState
- SrsSupportedFiles
- TagLimitedModel
- this modal is used in user modal we are using limited keys values in relation
- TextHelper
- ThemeColors
- ThemeModel
- UFNotificationUtils
- UFSocketConfig
- UFUAvatar
- UFUBiometricRecognition
- UFUBottomSheetController
- UFUButton
- UFUCheckbox
- UFUColor
- 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
- UFUMethodChannelSocialLogin
- An implementation of UFUMethodChannelSocialLogin that uses method channels.
- UFUMultiListMultiSelect
- UFUMultiSelect
- UFUMultiSelectHeader
- UFUMultiSelectList
- UFUMultiSelectModel
- Defines data modal of a UFUSingleSelect class
- UFUMultiSelectMultiListModel
- UFUMultiSelectState
- UFUMultiSelectSubHeader
- UFUMultiSelectSubList
- UFUMultiSelectView
- UFUNetworkImage
- UFUNetworkMultiSelectParams
- UFUNoDataFound
- UFUOtpInputBox
- UFUPopUpBuilder
-
UFUPopUpMenuButton<
T> - UFUReadDialog
- UFUReadMoreText
- UFUReadMoreTextState
- UFUResponsiveBuilder
- UFUResponsiveDesign
- UFUScaffold
- UFUScaleAndRotateAnim
- UFUScaleInOutAnim
- UFUScreen
- UFUShimmer
- UFUSingleSelect
- UFUSingleSelectHeader
- UFUSingleSelectList
- UFUSingleSelectModel
- UFUSingleSelectState
- UFUSingleSelectView
- UFUSocialLogin
- UFUSocialLoginPlatform
- UFUSvgImage
- UFUText
- UFUTextButton
- UFUTextSpan
- UFUThumb
- UFUThumbFolder
- UFUThumbIcon
- UFUThumbImage
- UFUtils
- UFUToast
- UFUVideoPlayer
- UFUVideoPlayerController
- UFUWidgetKeys
Enums
- DeviceType
- RunMode
- 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
- UFUConfirmationDialogType
- UFUDuration
- Defines duration UFUDuration of snackBar.
- UFUFontFamily
- UFUFontFamily is used to change the font of the text.
- UFUFontWeight
- UFUFontWeight is used to change the fontWeight of the text.
- UFUInputBoxType
- UFUMultiSelectType
- UFUNetworkMultiSelectType
- UFUOrientation
- UFUOrientation is used to change orientation of the widget
- UFUPosition
- UFUPosition is used to position the Widget to start or end of the Widget
- UFUSingleSelectType
- UFUTextSize
- UFUTextSize is used to change textSize.
- UFUThumbIconType
- UFUThumbIconType is used to set type of a thumbIcon widget
- UFUThumbType
- UFUThumbType is used to set type of a thumb widget
Extensions
Constants
- ellipsisChar → const String
- lineSeparator → const String
Functions
-
displayError(
dynamic error) → void -
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
optionalshow:- 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>