xui library
Classes
- CheckFormItem
- CustomFloatingActionButtonAnimator
- CustomFloatingActionButtonLocation
- DateFormats
- 一些常用格式参照。可以自定义格式,例如:'yyyy/MM/dd HH:mm:ss','yyyy/M/d HH:mm:ss'。 格式要求 year -> yyyy/yy month -> MM/M day -> dd/d hour -> HH/H minute -> mm/m second -> ss/s
- DateUtil
- Date Util.
- GalleryItem
- GalleryItemThumbnail
- GalleryPhotoViewWrapper
- GlobalConfig
- HexToColor
- Loading
- LoadingConfig
- MapUtil
- MyAppMyApp
- MyCurve
- MYCustomTrace
- MyHomePage
- MyNumberTextInputFormatter
- radioParams
- radioParamsValue
- ScreenUtil
- SelectDateTimeEntity
- SelectTypeEntity
- Sesstion
- 封装SharedPreferences为单例模式
- showBottomAlertCustomWidget
- ShowCustomAlterWidget
- ShowInputAlertWidget
- ShowTipsAlterWidget
- SystemUiStyle
- TableColumn
- TableConfig
- ThemeColor
- TimeFormat
- TipsAlterHeightAutoWidget
- Toast
- ToastLayoutStyle
- XAlert
- XBottomAppBarConfig
- XButton
- XCacheManager
- XCheckBox
- XCheckBoxGroup
- XComputer
- XCustomScrollView
- XCustomScrollViewAppbar
- XCustomScrollViewState
- XDivision
- XDottedLine
- XForm
- XFormItem
- XGalleryImagesWidget
- XImage
- XInput
- XLabel
- XLabelConfig
- XMyEmpty
- XP
- XPConfig
- XRadio
- XSelectDateTime
- XSelectInput
- XSlider
- XTable
- XText
- 处理安卓 单行是字体下掉问题
- XUnderlineTabIndicator
- Used with TabBar.indicator to draw a horizontal line below the selected tab.
- XUtil
Extensions
- BuildContextExt on BuildContext
- ExtAlign on Widget
- Align布局位置扩展
- ExtBg on Widget
-
ExtIterable
on Iterable<
T> -
ExtList
on List<
T> - ExtSpace on Widget
-
GlobalKeyExt
on GlobalKey<
State< StatefulWidget> > - SizeExtension on num
Properties
- globalConfig ↔ GlobalConfig
-
getter/setter pair
- logger ↔ Logger
-
getter/setter pair
-
MONTH_DAY
↔ Map<
int, int> -
month->days.
getter/setter pair
- themeColor ↔ ThemeColor
-
getter/setter pair
- XButtonInterceptor ↔ Function
-
getter/setter pair
Functions
-
AlertModalPopupWidget(
BuildContext context, dynamic child, Widget? bottom, double? bottomHeight, Function? leftCallBack, String? leftText, String? title, bool? elevation, double? height) → SafeArea -
checkAllForm(
BuildContext context, List< CheckFormItem> arr) → bool -
ColorToHex(
Color hexColor) → String -
debugInfo(
dynamic context, String text) → dynamic -
font(
double value, {FontWeight? weight, dynamic color = "#666666", dynamic colorA, dynamic height, dynamic lineThrough = false, dynamic letterSpacing = false, dynamic fontFamily}) → TextStyle -
formCheck(
FormKeyEnum key, dynamic value, [dynamic required = false]) → dynamic -
formCheckToast(
BuildContext context, FormKeyEnum key, dynamic value, [dynamic info = '', dynamic required = false]) → bool -
IconAdd(
dynamic b, {dynamic size, dynamic radius}) → Widget -
IconRemove(
dynamic b, {dynamic size, dynamic radius}) → Widget -
isNotNull(
dynamic v) → dynamic -
loggerWrite(
String text, {bool isError = false}) → dynamic -
main(
) → void -
printLog(
Object message, StackTrace current) → void -
showConfirmDialog(
BuildContext context, String text, {Function? confirmCallback, dynamic submitTitle = '确定', dynamic cancelTitle = "取消", dynamic title = '温馨提示'}) → Future? -
showLoading(
dynamic context, [String text = "加载中,请等待..."]) → dynamic -
showToast(
dynamic context, String text) → dynamic -
XAppBar(
dynamic context, {String? title, PreferredSizeWidget? bottom, Widget? subTitle, Widget? titleWidget, double? tWidth, double? tHeight, Function? willPopFn, Widget? backWidget, Function? backWidgetFn, List< Widget> ? actions, Color? backgroundColor, bool? elevation, double? toolbarHeight, String? theme = "light", bool automaticallyImplyLeading = true}) → AppBar