WidgetExt extension

on

Properties

cardWidget Widget

Available on Widget, provided by the WidgetExt extension

no setter
center Widget

Available on Widget, provided by the WidgetExt extension

no setter
editPage Widget

Available on Widget, provided by the WidgetExt extension

no setter
expanded Widget

Available on Widget, provided by the WidgetExt extension

no setter
materialRouter Route

Available on Widget, provided by the WidgetExt extension

no setter
maxWidthButton Widget

Available on Widget, provided by the WidgetExt extension

no setter
positionedFill Widget

Available on Widget, provided by the WidgetExt extension

no setter
removeScrollViewSplash Widget

Available on Widget, provided by the WidgetExt extension

no setter
topBorder Widget

Available on Widget, provided by the WidgetExt extension

no setter
toSliverWidget Widget

Available on Widget, provided by the WidgetExt extension

no setter

Methods

addScrollbar({ScrollController? controller}) Widget

Available on Widget, provided by the WidgetExt extension

添加滚动条
aspectRatio(double v) Widget

Available on Widget, provided by the WidgetExt extension

border(BuildContext context, {BoxDecoration? decoration, Color? borderColor, BorderRadius? borderRadius, double width = 1.0}) Widget

Available on Widget, provided by the WidgetExt extension

click(VoidCallback onTap) Widget

Available on Widget, provided by the WidgetExt extension

disableTextScaling(BuildContext context, ValueCopyWith<MediaQueryData> copyWith) Widget

Available on Widget, provided by the WidgetExt extension

ifShow(bool show) Widget

Available on Widget, provided by the WidgetExt extension

ifTrue(bool value, Widget trueWidget, [Duration? duration]) Widget

Available on Widget, provided by the WidgetExt extension

如果value为true, 则展示trueWidget,否则展示为本身this
loading(bool value) Widget

Available on Widget, provided by the WidgetExt extension

longClick({required VoidCallback onLongPress}) Widget

Available on Widget, provided by the WidgetExt extension

marginOnly({double left = 0.0, double right = 0.0, double top = 0.0, double bottom = 0.0}) Widget

Available on Widget, provided by the WidgetExt extension

maxHeight(double height) Widget

Available on Widget, provided by the WidgetExt extension

maxWidth(double width) Widget

Available on Widget, provided by the WidgetExt extension

minHeight(double height) Widget

Available on Widget, provided by the WidgetExt extension

minWidth(double width) Widget

Available on Widget, provided by the WidgetExt extension

paddingOnly({double left = 0.0, double right = 0.0, double top = 0.0, double bottom = 0.0}) Widget

Available on Widget, provided by the WidgetExt extension

paddingWithObj(EdgeInsets edgeInsets) Widget

Available on Widget, provided by the WidgetExt extension

visible(bool value) Widget

Available on Widget, provided by the WidgetExt extension

visibleOrNull(bool value) Widget?

Available on Widget, provided by the WidgetExt extension