EditCommonUi class
Properties
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
toString()
→ String
-
A string representation of this object.
inherited
Static Methods
-
buildCardLayout(List<Widget> widgetList, {bool hasHorizontalPadding = true, bool marginTopEnable = true, bool hasHorizontalMarging = true})
→ Widget
-
-
buildConfirmButtonItem({String text = "", String image = "", bool enable = true, double margin = 12, double radius = 24, dynamic onClick()?})
→ Widget
-
radius 10方圆角 24半圆角
-
buildDividerItem({bool isMargin = true})
→ Widget
-
-
buildInputItem({String? title, String? subTitle, Color? titleColor, Color? bgColor, String? unitName, String? inputHint, String? text, TextStyle? style, TextStyle? hintStyle, EdgeInsetsGeometry? padding, bool setPadding = false, dynamic onchanged(String value)?, bool enable = true, int? decimalRange, int integerRange = 10, double? height = 48, List<TextInputFormatter>? formatter, TextEditingController? controller, bool digitsOnly = false, bool numOnly = false, bool hasHorizontalPadding = true, bool isDivide = false, bool showRedStar = false})
→ Widget
-
digitsOnly: 数字,只能是整数
numOnly: 数字,包括小数
intRange:整数位最大长度,默认为10
-
buildLoadingContent(Future? future, Widget content)
→ Widget
-
-
buildNetErrorLayout()
→ Widget
-
-
buildRadioBoxItem(String title, List<String> radiosTitle, ValueChanged<int?> onChanged, int checkValue, {bool isDivide = false})
→ Widget
-
-
buildSelectorItem({String? title, String? hintText, String? text, dynamic onClick()?, Color? textColor, bool showArrow = true, bool isRoundRect = false, bool isDivide = false, bool hasHorizontalPadding = true, bool showRedStar = false})
→ Widget
-
-
buildShowArrowItem({String? title, dynamic onClick()?, Color? textColor, bool isRoundRect = false, bool isDivide = false, bool hasHorizontalPadding = true, Widget? rightWidget})
→ Widget
-
-
buildShowItem({String? title, dynamic onClick()?, Color? textColor, bool isRoundRect = false, bool isDivide = false, bool hasHorizontalPadding = true, Widget? rightWidget})
→ Widget
-
-
buildShowRedDotItem({String? title, String? numberStr, dynamic onClick()?, Color? textColor, bool isRoundRect = false, bool isDivide = false, bool hasHorizontalPadding = true, Widget? rightWidget})
→ Widget
-
-
buildSingleSelectionWidget(String title, {bool showRedStart = false, List<String> selectItems = const [], dynamic onSelect(int inex)?, int? selectIndex})
→ Widget
-
-
buildTwoButtonItem({String? leftMessage, Function? leftFunc, String? rightMessage, Function? rightFunc, bool hasBorder = false, double radius = 10})
→ Widget
-