WidgetExtensions extension
- on
Properties
- debugRandomColor → Widget
- 
      Available on Widget, provided by the WidgetExtensions extension no setter
Methods
- 
  align(AlignmentGeometry alignment, {Key? key}) → Widget 
- 
      Available on Widget, provided by the WidgetExtensions extension 对齐
- 
  alignBottom() → Widget 
- 
      Available on Widget, provided by the WidgetExtensions extension 对齐 底部
- 
  alignCenter() → Widget 
- 
      Available on Widget, provided by the WidgetExtensions extension 对齐 中间
- 
  alignLeft() → Widget 
- 
      Available on Widget, provided by the WidgetExtensions extension 对齐 左边
- 
  alignRight() → Widget 
- 
      Available on Widget, provided by the WidgetExtensions extension 对齐 右边
- 
  alignTop() → Widget 
- 
      Available on Widget, provided by the WidgetExtensions extension 对齐 顶部
- 
  aspectRatio({Key? key, required double aspectRatio}) → Widget 
- 
      Available on Widget, provided by the WidgetExtensions extension 
- 
  backgroundColor(Color color, {Key? key}) → Widget 
- 
      Available on Widget, provided by the WidgetExtensions extension 背景颜色
- 
  backgroundImage(DecorationImage image, {Key? key}) → Widget 
- 
      Available on Widget, provided by the WidgetExtensions extension 背景图片
- 
  border({Key? key, double? all, double? left, double? right, double? top, double? bottom, Color color = const Color(0xFF000000), BorderStyle style = BorderStyle.solid}) → Widget 
- 
      Available on Widget, provided by the WidgetExtensions extension 边框
- 
  borderRadius({Key? key, double? all, double? topLeft, double? topRight, double? bottomLeft, double? bottomRight}) → Widget 
- 
      Available on Widget, provided by the WidgetExtensions extension 圆角
- 
  boxShadow({Key? key, Color color = const Color(0xFF000000), Offset offset = Offset.zero, double blurRadius = 0.0, double spreadRadius = 0.0}) → Widget 
- 
      Available on Widget, provided by the WidgetExtensions extension 阴影
- 
  card({Key? key, double? radius, Color? color, Color? shadowColor, double? blurRadius}) → Widget 
- 
      Available on Widget, provided by the WidgetExtensions extension 卡片
- 
  center({Key? key, double? widthFactor, double? heightFactor}) → Widget 
- 
      Available on Widget, provided by the WidgetExtensions extension 
- 
  clipOval({Key? key}) → Widget 
- 
      Available on Widget, provided by the WidgetExtensions extension 裁剪 oval
- 
  clipRect({Key? key, CustomClipper< Rect> ? clipper, Clip clipBehavior = Clip.hardEdge}) → Widget
- 
      Available on Widget, provided by the WidgetExtensions extension 裁剪 rect
- 
  clipRRect({Key? key, double? all, double? topLeft, double? topRight, double? bottomLeft, double? bottomRight, CustomClipper< RRect> ? clipper, Clip clipBehavior = Clip.antiAlias}) → Widget
- 
      Available on Widget, provided by the WidgetExtensions extension 裁剪圆角
- 
  constrained({Key? key, double? width, double? height, double minWidth = 0.0, double maxWidth = double.infinity, double minHeight = 0.0, double maxHeight = double.infinity}) → Widget 
- 
      Available on Widget, provided by the WidgetExtensions extension 约束
- 
  decorated({Key? key, Color? color, DecorationImage? image, BoxBorder? border, BorderRadius? borderRadius, List< BoxShadow> ? boxShadow, Gradient? gradient, BlendMode? backgroundBlendMode, BoxShape shape = BoxShape.rectangle, DecorationPosition position = DecorationPosition.background}) → Widget
- 
      Available on Widget, provided by the WidgetExtensions extension 盒子装饰器
- 
  elevation(double elevation, {Key? key, BorderRadiusGeometry borderRadius = BorderRadius.zero, Color shadowColor = const Color(0xFF000000)}) → Widget 
- 
      Available on Widget, provided by the WidgetExtensions extension elevation
- 
  expanded({Key? key, int flex = 1}) → Widget 
- 
      Available on Widget, provided by the WidgetExtensions extension expanded 撑满
- 
  fittedBox({Key? key, BoxFit fit = BoxFit.contain, AlignmentGeometry alignment = Alignment.centerLeft, Clip clipBehavior = Clip.none}) → Widget 
- 
      Available on Widget, provided by the WidgetExtensions extension 
- 
  flexible({Key? key, int flex = 1, FlexFit fit = FlexFit.loose}) → Widget 
- 
      Available on Widget, provided by the WidgetExtensions extension 弹性布局 flexible
- 
  fractionallySizedBox({Key? key, AlignmentGeometry alignment = Alignment.center, double? widthFactor, double? heightFactor}) → Widget 
- 
      Available on Widget, provided by the WidgetExtensions extension 
- 
  gestures({Key? key, GestureOnTapChangeCallback? onTapChange, GestureTapDownCallback? onTapDown, GestureTapUpCallback? onTapUp, GestureTapCallback? onTap, GestureTapCancelCallback? onTapCancel, GestureTapDownCallback? onSecondaryTapDown, GestureTapUpCallback? onSecondaryTapUp, GestureTapCancelCallback? onSecondaryTapCancel, GestureTapCallback? onDoubleTap, GestureLongPressCallback? onLongPress, GestureLongPressStartCallback? onLongPressStart, GestureLongPressMoveUpdateCallback? onLongPressMoveUpdate, GestureLongPressUpCallback? onLongPressUp, GestureLongPressEndCallback? onLongPressEnd, GestureDragDownCallback? onVerticalDragDown, GestureDragStartCallback? onVerticalDragStart, GestureDragUpdateCallback? onVerticalDragUpdate, GestureDragEndCallback? onVerticalDragEnd, GestureDragCancelCallback? onVerticalDragCancel, GestureDragDownCallback? onHorizontalDragDown, GestureDragStartCallback? onHorizontalDragStart, GestureDragUpdateCallback? onHorizontalDragUpdate, GestureDragEndCallback? onHorizontalDragEnd, GestureDragCancelCallback? onHorizontalDragCancel, GestureDragDownCallback? onPanDown, GestureDragStartCallback? onPanStart, GestureDragUpdateCallback? onPanUpdate, GestureDragEndCallback? onPanEnd, GestureDragCancelCallback? onPanCancel, GestureScaleStartCallback? onScaleStart, GestureScaleUpdateCallback? onScaleUpdate, GestureScaleEndCallback? onScaleEnd, GestureForcePressStartCallback? onForcePressStart, GestureForcePressPeakCallback? onForcePressPeak, GestureForcePressUpdateCallback? onForcePressUpdate, GestureForcePressEndCallback? onForcePressEnd, HitTestBehavior? behavior, bool excludeFromSemantics = false, DragStartBehavior dragStartBehavior = DragStartBehavior.start}) → Widget 
- 
      Available on Widget, provided by the WidgetExtensions extension 手势
- 
  height(double height, {Key? key}) → Widget 
- 
      Available on Widget, provided by the WidgetExtensions extension 约束 高度
- 
  inkWell({Key? key, dynamic onTap()?, double? borderRadius}) → Widget 
- 
      Available on Widget, provided by the WidgetExtensions extension 
- 
  limitedBox({Key? key, double maxWidth = double.infinity, double maxHeight = double.infinity}) → Widget 
- 
      Available on Widget, provided by the WidgetExtensions extension 限制盒子 最大宽高
- 
  offstage({Key? key, bool offstage = true}) → Widget 
- 
      Available on Widget, provided by the WidgetExtensions extension 偏移
- 
  onLongPress(GestureTapCallback? onLongPress, {Key? key, HitTestBehavior? behavior, bool excludeFromSemantics = false, DragStartBehavior dragStartBehavior = DragStartBehavior.start}) → Widget 
- 
      Available on Widget, provided by the WidgetExtensions extension 长按手势
- 
  onTap(GestureTapCallback? onTap, {Key? key, HitTestBehavior? behavior, bool excludeFromSemantics = false, DragStartBehavior dragStartBehavior = DragStartBehavior.start}) → Widget 
- 
      Available on Widget, provided by the WidgetExtensions extension 手势
- 
  opacity(double opacity, {Key? key, bool alwaysIncludeSemantics = false}) → Widget 
- 
      Available on Widget, provided by the WidgetExtensions extension 透明度
- 
  overflow({Key? key, AlignmentGeometry alignment = Alignment.center, double? minWidth, double? maxWidth, double? minHeight, double? maxHeight}) → Widget 
- 
      Available on Widget, provided by the WidgetExtensions extension 溢出
- 
  padding({Key? key, EdgeInsetsGeometry? value, double? all, double? horizontal, double? vertical, double? top, double? bottom, double? left, double? right}) → Widget 
- 
      Available on Widget, provided by the WidgetExtensions extension 内间距
- 
  paddingBottom(double val) → Widget 
- 
      Available on Widget, provided by the WidgetExtensions extension 内间距 下
- 
  paddingHorizontal(double val) → Widget 
- 
      Available on Widget, provided by the WidgetExtensions extension 内间距 横向
- 
  paddingLeft(double val) → Widget 
- 
      Available on Widget, provided by the WidgetExtensions extension 内间距 左
- 
  paddingRight(double val) → Widget 
- 
      Available on Widget, provided by the WidgetExtensions extension 内间距 右
- 
  paddingTop(double val) → Widget 
- 
      Available on Widget, provided by the WidgetExtensions extension 内间距 上
- 
  paddingVertical(double val) → Widget 
- 
      Available on Widget, provided by the WidgetExtensions extension 内间距 纵向
- 
  positioned({Key? key, double? left, double? top, double? right, double? bottom, double? width, double? height}) → Widget 
- 
      Available on Widget, provided by the WidgetExtensions extension stack布局 位置
- 
  ripple({Key? key, Color? focusColor, Color? hoverColor, Color? highlightColor, Color? splashColor, InteractiveInkFeatureFactory? splashFactory, double? radius, ShapeBorder? customBorder, bool enableFeedback = true, bool excludeFromSemantics = false, FocusNode? focusNode, bool canRequestFocus = true, bool autoFocus = false, bool enable = true}) → Widget 
- 
      Available on Widget, provided by the WidgetExtensions extension 涟漪
- 
  safeArea({Key? key, bool top = true, bool bottom = true, bool left = true, bool right = true, EdgeInsets minimum = EdgeInsets.zero}) → Widget 
- 
      Available on Widget, provided by the WidgetExtensions extension 安全区
- 
  scale({Key? key, double? all, double? x, double? y, Offset? origin, AlignmentGeometry alignment = Alignment.center, bool transformHitTests = true}) → Widget 
- 
      Available on Widget, provided by the WidgetExtensions extension 比例缩放
- 
  scrollable({Key? key, Axis scrollDirection = Axis.vertical, bool reverse = false, bool? primary, ScrollPhysics? physics, ScrollController? controller, DragStartBehavior dragStartBehavior = DragStartBehavior.start, EdgeInsetsGeometry? padding}) → Widget 
- 
      Available on Widget, provided by the WidgetExtensions extension 滚动视图
- 
  semanticsLabel(String label, {Key? key}) → Widget 
- 
      Available on Widget, provided by the WidgetExtensions extension 语义调试 MaterialApp.showSemanticsDebugger: true,
- 
  sliverPadding({Key? key, EdgeInsetsGeometry? value, double? all, double? horizontal, double? vertical, double? top, double? bottom, double? left, double? right}) → Widget 
- 
      Available on Widget, provided by the WidgetExtensions extension 内间距
- 
  sliverPaddingBottom(double val) → Widget 
- 
      Available on Widget, provided by the WidgetExtensions extension 内间距 下
- 
  sliverPaddingHorizontal(double val) → Widget 
- 
      Available on Widget, provided by the WidgetExtensions extension 内间距 横向
- 
  sliverPaddingLeft(double val) → Widget 
- 
      Available on Widget, provided by the WidgetExtensions extension 内间距 左
- 
  sliverPaddingRight(double val) → Widget 
- 
      Available on Widget, provided by the WidgetExtensions extension 内间距 右
- 
  sliverPaddingTop(double val) → Widget 
- 
      Available on Widget, provided by the WidgetExtensions extension 内间距 上
- 
  sliverPaddingVertical(double val) → Widget 
- 
      Available on Widget, provided by the WidgetExtensions extension 内间距 纵向
- 
  sliverToBoxAdapter({Key? key}) → Widget 
- 
      Available on Widget, provided by the WidgetExtensions extension SliverToBoxAdapter
- 
  tight({double? width, double? height, Key? key}) → Widget 
- 
      Available on Widget, provided by the WidgetExtensions extension 约束 宽高
- 
  tightSize(double size, {Key? key}) → Widget 
- 
      Available on Widget, provided by the WidgetExtensions extension 约束 宽高 size
- 
  transform({Key? key, required Matrix4 transform, Offset? origin, AlignmentGeometry? alignment, bool transformHitTests = true}) → Widget 
- 
      Available on Widget, provided by the WidgetExtensions extension transforms Matrix4
- 
  translate({Key? key, required Offset offset, bool transformHitTests = true}) → Widget 
- 
      Available on Widget, provided by the WidgetExtensions extension translate 变化位置
- 
  unconstrained({Key? key, TextDirection? textDirection, AlignmentGeometry alignment = Alignment.center, Axis? constrainedAxis, Clip clipBehavior = Clip.none}) → Widget 
- 
      Available on Widget, provided by the WidgetExtensions extension 
- 
  width(double width, {Key? key}) → Widget 
- 
      Available on Widget, provided by the WidgetExtensions extension 约束 宽度