WidgetExt extension
Methods
-
addScrollbar({ScrollController? controller})
→ Widget
-
添加滚动条
-
aspectRatio(double v)
→ Widget
-
-
border(BuildContext context, {BoxDecoration? decoration, Color? borderColor, BorderRadius? borderRadius, double width = 1.0})
→ Widget
-
-
cardWidget2(double eve)
→ Widget
-
-
click(VoidCallback onTap)
→ Widget
-
-
disableTextScaling(BuildContext context, ValueCopyWith<MediaQueryData> copyWith)
→ Widget
-
-
height(double hei)
→ Widget
-
高度扩展
-
ifShow(bool show)
→ Widget
-
-
longClick({required VoidCallback onLongPress})
→ Widget
-
-
margin(double v)
→ Widget
-
-
marginOnly({double left = 0.0, double right = 0.0, double top = 0.0, double bottom = 0.0})
→ Widget
-
-
maxHeight(double height)
→ Widget
-
-
maxWidth(double width)
→ Widget
-
-
mb(double v)
→ Widget
-
-
minHeight(double height)
→ Widget
-
-
minWidth(double width)
→ Widget
-
-
ml(double v)
→ Widget
-
-
mr(double v)
→ Widget
-
-
mt(double v)
→ Widget
-
-
padding(double v)
→ Widget
-
-
paddingOnly({double left = 0.0, double right = 0.0, double top = 0.0, double bottom = 0.0})
→ Widget
-
-
paddingWithObj(EdgeInsets edgeInsets)
→ Widget
-