StyledWidget extension
Methods
-
alignment(AlignmentGeometry alignment, {Key? key, bool animate = false})
→ Widget
-
-
animate(Duration duration, Curve curve, {Key? key})
→ Widget
-
animated all properties before this method
-
aspectRatio({Key? key, required double aspectRatio})
→ Widget
-
-
backgroundBlendMode(BlendMode blendMode, {Key? key, bool animate = false})
→ Widget
-
-
backgroundBlur(double sigma, {Key? key, bool animate = false})
→ Widget
-
-
backgroundColor(Color color, {Key? key, bool animate = false})
→ Widget
-
-
backgroundGradient(Gradient gradient, {Key? key, bool animate = false})
→ Widget
-
-
backgroundImage(DecorationImage image, {Key? key, bool animate = false})
→ Widget
-
-
backgroundLinearGradient({Key? key, AlignmentGeometry begin = Alignment.centerLeft, AlignmentGeometry end = Alignment.centerRight, List<Color>? colors, List<double>? stops, TileMode tileMode = TileMode.clamp, GradientTransform? transform, bool animate = false})
→ Widget
-
-
backgroundRadialGradient({Key? key, AlignmentGeometry center = Alignment.center, double radius = 0.5, List<Color>? colors, List<double>? stops, TileMode tileMode = TileMode.clamp, AlignmentGeometry? focal, double focalRadius = 0.0, GradientTransform? transform, bool animate = false})
→ Widget
-
-
backgroundSweepGradient({Key? key, AlignmentGeometry center = Alignment.center, double startAngle = 0.0, double endAngle = pi * 2, List<Color>? colors, List<double>? stops, TileMode tileMode = TileMode.clamp, GradientTransform? transform, bool animate = false})
→ Widget
-
-
border({Key? key, double? all, double? left, double? right, double? top, double? bottom, Color color = const Color(0xFF000000), BorderStyle style = BorderStyle.solid, bool animate = false})
→ Widget
-
-
borderRadius({Key? key, double? all, double? topLeft, double? topRight, double? bottomLeft, double? bottomRight, bool animate = false})
→ Widget
-
-
borderRadiusDirectional({Key? key, double? all, double? topStart, double? topEnd, double? bottomStart, double? bottomEnd, bool animate = false})
→ Widget
-
-
boxShadow({Key? key, Color color = const Color(0xFF000000), Offset offset = Offset.zero, double blurRadius = 0.0, double spreadRadius = 0.0, bool animate = false})
→ Widget
-
-
card({Key? key, Color? color, double? elevation, ShapeBorder? shape, bool borderOnForeground = true, EdgeInsetsGeometry? margin, Clip? clipBehavior, bool semanticContainer = true})
→ Widget
-
-
center({Key? key, double? widthFactor, double? heightFactor})
→ Widget
-
-
clipOval({Key? key})
→ Widget
-
-
clipRect({Key? key, CustomClipper<Rect>? clipper, Clip clipBehavior = Clip.hardEdge})
→ Widget
-
-
clipRRect({Key? key, double? all, double? topLeft, double? topRight, double? bottomLeft, double? bottomRight, CustomClipper<RRect>? clipper, Clip clipBehavior = Clip.antiAlias, bool animate = false})
→ Widget
-
-
constrained({Key? key, double? width, double? height, double minWidth = 0.0, double maxWidth = double.infinity, double minHeight = 0.0, double maxHeight = double.infinity, bool animate = false})
→ Widget
-
-
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, bool animate = false})
→ Widget
-
-
elevation(double elevation, {Key? key, BorderRadiusGeometry borderRadius = BorderRadius.zero, Color shadowColor = const Color(0xFF000000)})
→ Widget
-
-
expanded({Key? key, int flex = 1})
→ Widget
-
-
fittedBox({Key? key, BoxFit fit = BoxFit.contain, AlignmentGeometry alignment = Alignment.center})
→ Widget
-
-
flexible({Key? key, int flex = 1, FlexFit fit = FlexFit.loose})
→ Widget
-
-
fractionallySizedBox({Key? key, AlignmentGeometry alignment = Alignment.center, double? widthFactor, double? heightFactor})
→ Widget
-
-
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
-
-
height(double height, {Key? key, bool animate = false})
→ Widget
-
-
limitedBox({Key? key, double maxWidth = double.infinity, double maxHeight = double.infinity})
→ Widget
-
-
neumorphism({Key? key, required double elevation, BorderRadius borderRadius = BorderRadius.zero, Color backgroundColor = const Color(0xffEDF1F5), double curve = 0.0, bool animate = false})
→ Widget
-
-
offstage({Key? key, bool offstage = true})
→ Widget
-
-
opacity(double opacity, {Key? key, bool animate = false, bool alwaysIncludeSemantics = false})
→ Widget
-
-
overflow({Key? key, AlignmentGeometry alignment = Alignment.center, double? minWidth, double? maxWidth, double? minHeight, double? maxHeight, bool animate = false})
→ Widget
-
-
padding({Key? key, double? all, double? horizontal, double? vertical, double? top, double? bottom, double? left, double? right, bool animate = false})
→ Widget
-
-
paddingDirectional({Key? key, double? all, double? horizontal, double? vertical, double? top, double? bottom, double? start, double? end, bool animate = false})
→ Widget
-
-
parent(Widget parent({required Widget child}))
→ Widget
-
Applies a parent to a child
-
positioned({Key? key, double? left, double? top, double? right, double? bottom, double? width, double? height, bool animate = false})
→ Widget
-
-
positionedDirectional({Key? key, double? start, double? end, double? top, double? bottom, double? width, double? height, bool animate = false})
→ Widget
-
-
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
-
-
rotate({Key? key, required double angle, Offset? origin, AlignmentGeometry alignment = Alignment.center, bool transformHitTests = true, bool animate = false})
→ Widget
-
-
safeArea({Key? key, bool top = true, bool bottom = true, bool left = true, bool right = true})
→ Widget
-
-
scale({Key? key, double? all, double? x, double? y, Offset? origin, AlignmentGeometry alignment = Alignment.center, bool transformHitTests = true, bool animate = false})
→ Widget
-
-
scrollable({Key? key, Axis scrollDirection = Axis.vertical, bool reverse = false, bool? primary, ScrollPhysics? physics, ScrollController? controller, DragStartBehavior dragStartBehavior = DragStartBehavior.start, EdgeInsetsGeometry? padding})
→ Widget
-
-
semanticsLabel(String label, {Key? key})
→ Widget
-
-
transform({Key? key, required Matrix4 transform, Offset? origin, AlignmentGeometry? alignment, bool transformHitTests = true, bool animate = false})
→ Widget
-
-
translate({Key? key, required Offset offset, bool transformHitTests = true, bool animate = false})
→ Widget
-
-
width(double width, {Key? key, bool animate = false})
→ Widget
-