ExtensionWidget extension
Methods
-
align({Key? key, Alignment alignment = Alignment.center, double? widthFactor, double? heightFactor})
→ Align
-
-
backdropFilter({Key? key, ImageFilter? filter, double fuzzyDegree = 4})
→ BackdropFilter
-
-
-
card({Color? color, Color? shadowColor, double? elevation, ShapeBorder? shape, bool? borderOnForeground, EdgeInsetsGeometry? margin, Clip? clipBehavior, bool? semanticContainer})
→ Card
-
-
center({Key? key, double? widthFactor, double? heightFactor})
→ Center
-
-
clipOval({Key? key, BorderRadius borderRadius = BorderRadius.zero, CustomClipper<Rect>? clipper, Clip clipBehavior = Clip.antiAlias})
→ ClipOval
-
-
clipPath({Key? key, BorderRadius borderRadius = BorderRadius.zero, CustomClipper<Path>? clipper, Clip clipBehavior = Clip.antiAlias})
→ ClipPath
-
-
clipRRect({Key? key, BorderRadius borderRadius = BorderRadius.zero, CustomClipper<RRect>? clipper, Clip clipBehavior = Clip.antiAlias})
→ ClipRRect
-
-
color(Color color, {Key? key})
→ ColoredBox
-
-
constrainedBox(BoxConstraints constraints, {Key? key})
→ ConstrainedBox
-
-
container({Key? key, EdgeInsetsGeometry? padding, Decoration? foregroundDecoration, Matrix4? transform, BoxConstraints? constraints, Color? color, double? width, double? height, EdgeInsetsGeometry? margin, Decoration? decoration, Clip? clipBehavior, AlignmentGeometry? alignment})
→ Container
-
-
decoratedBox(Decoration decoration, {Key? key, DecorationPosition position = DecorationPosition.background})
→ DecoratedBox
-
-
fittedBox({Key? key, BoxFit fit = BoxFit.contain, AlignmentGeometry alignment = Alignment.center, Clip clipBehavior = Clip.none})
→ FittedBox
-
-
flexible({Key? key, int flex = 1, FlexFit fit = FlexFit.loose})
→ Flexible
-
-
fromSize(Size size, {Key? key})
→ SizedBox
-
-
gestureDetector({Key? key, 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, GestureForcePressStartCallback? onForcePressStart, GestureForcePressPeakCallback? onForcePressPeak, GestureForcePressUpdateCallback? onForcePressUpdate, GestureForcePressEndCallback? onForcePressEnd, GestureDragDownCallback? onPanDown, GestureDragStartCallback? onPanStart, GestureDragUpdateCallback? onPanUpdate, GestureDragEndCallback? onPanEnd, GestureDragCancelCallback? onPanCancel, GestureScaleStartCallback? onScaleStart, GestureScaleUpdateCallback? onScaleUpdate, GestureScaleEndCallback? onScaleEnd, HitTestBehavior? behavior, bool excludeFromSemantics = false, DragStartBehavior dragStartBehavior = DragStartBehavior.start})
→ GestureDetector
-
-
hero(Object tag, {Key? key, CreateRectTween? createRectTween, HeroFlightShuttleBuilder? flightShuttleBuilder, HeroPlaceholderBuilder? placeholderBuilder, bool transitionOnUserGestures = false})
→ Hero
-
-
limitedBox({Key? key, double maxWidth = double.infinity, double maxHeight = double.infinity})
→ LimitedBox
-
-
margin(EdgeInsetsGeometry margin, {Key? key})
→ Padding
-
-
marginAll(double margin)
→ Widget
-
-
marginOnly({double left = 0.0, double top = 0.0, double right = 0.0, double bottom = 0.0})
→ Widget
-
-
marginSymmetric({double horizontal = 0.0, double vertical = 0.0})
→ Widget
-
-
offstage(bool offstage, {Key? key})
→ Offstage
-
-
onDoubleTap(GestureTapCallback onDoubleTap, {Key? key})
→ GestureDetector
-
-
onLongPress(GestureLongPressCallback onLongPress, {Key? key})
→ GestureDetector
-
-
onTap(GestureTapCallback? onTap, {Key? key})
→ GestureDetector
-
-
overflowBox({Key? key, Alignment alignment = Alignment.center, double? minWidth, double? maxWidth, double? minHeight, double? maxHeight})
→ OverflowBox
-
-
padding(EdgeInsetsGeometry padding)
→ Padding
-
-
paddingAll(double padding)
→ Widget
-
-
paddingOnly({double left = 0.0, double top = 0.0, double right = 0.0, double bottom = 0.0})
→ Widget
-
-
paddingSymmetric({double horizontal = 0.0, double vertical = 0.0})
→ Widget
-
-
positioned({Key? key, double? left, double? top, double? right, double? bottom, double? width, double? height})
→ Positioned
-
-
rotatedBox(int quarterTurns, {Key? key})
→ RotatedBox
-
-
setHeight(double height, {Key? key})
→ SizedBox
-
-
setSize(Size size, {Key? key})
→ SizedBox
-
-
setWidth(double width, {Key? key})
→ SizedBox
-
-
sizedBox({Key? key, double? width, double? height})
→ SizedBox
-
-
sizedOverflowBox(Size size, {Key? key, Alignment alignment = Alignment.center})
→ SizedOverflowBox
-
-
statusBarStyle(SystemUiOverlayStyle style)
→ AnnotatedRegion<SystemUiOverlayStyle>
-
-
toDecoratorEntry({DecoratorPositioned positioned = DecoratorPositioned.outer, OverlayVisibilityMode mode = OverlayVisibilityMode.always})
→ DecoratorEntry
-
-
unconstrainedBox({Key? key, TextDirection? textDirection, Alignment alignment = Alignment.center, Axis? constrainedAxis})
→ UnconstrainedBox
-
-
visibility(bool visible, {Key? key})
→ Visibility
-