RushDarkModeButton class

A button widget for toggling dark mode in a Rush theme.

Example usage:

RushDarkModeButton(
  showSelectedIcon: true,
  showSingleIcon: false,
  style: ButtonStyle(
    backgroundColor: MaterialStateProperty.all(Colors.blue),
    foregroundColor: MaterialStateProperty.all(Colors.white),
  ),
)
Inheritance
Available extensions

Constructors

RushDarkModeButton.new({Key? key, ButtonStyle? style, bool showSelectedIcon = false, bool showSingleIcon = false})
Creates a RushDarkModeButton widget.
const

Properties

hashCode int
The hash code for this object.
no setterinherited
key Key?
Controls how one widget replaces another widget in the tree.
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
showSelectedIcon bool
Whether to show the selected icon.
final
showSingleIcon bool
Whether to show a single icon.
final
style ButtonStyle?
The style to use for the button widget.
final

Methods

aspectRatio(double aspectRatio) AspectRatio

Available on Widget, provided by the RushWidgetsExtension extension

Sets the aspect ratio of the widget.
backgroundColor(Color? color) DecoratedBox

Available on Widget, provided by the RushWidgetsExtension extension

Sets the background color of the widget.
build(BuildContext context) Widget
Describes the part of the user interface represented by this widget.
override
center({Key? key}) Widget

Available on Widget, provided by the CenterExtension extension

Extension method to directly access Center with any widget without wrapping or with dot operator. Pass the key to the Center widget. Example:
clipHalf({Clip clipBehavior = Clip.antiAlias}) ClipPath

Available on Widget, provided by the RushWidgetsExtension extension

Creates a half clip path with the specified clip behavior.
clipOval({Clip clipBehavior = Clip.antiAlias, CustomClipper<Rect>? clipper}) Widget

Available on Widget, provided by the RushWidgetsExtension extension

Clips the widget in an oval shape.
cornerRadius(double radius) ClipRRect

Available on Widget, provided by the RushWidgetsExtension extension

Creates a rounded rectangle clip with the specified radius.
createElement() StatelessElement
Creates a StatelessElement to manage this widget's location in the tree.
inherited
debugDescribeChildren() List<DiagnosticsNode>
Returns a list of DiagnosticsNode objects describing this node's children.
inherited
debugFillProperties(DiagnosticPropertiesBuilder properties) → void
Add additional properties associated with the node.
inherited
disabled({bool isDisabled = true}) Widget

Available on Widget, provided by the RushWidgetsExtension extension

Disables the widget.
expand({Key? key, int flex = 1}) Expanded

Available on Widget, provided by the RushWidgetsExtension extension

Extension for Expanded
filter({RushColorFilter filter = RushColorFilter.noFilter}) Widget

Available on Widget, provided by the FilterExtension extension

Filters the widget with a color filter.
flexible({Key? key, int flex = 1}) Flexible

Available on Widget, provided by the RushWidgetsExtension extension

Creates a flexible widget that expands to fill the available space.
fractionalBox({required double heightFactor, required double widthFactor, Key? key, Alignment? alignment}) Widget

Available on Widget, provided by the RushSizedBoxExtension extension

Creates a FractionallySizedBox widget with the specified height and width factors.
glass({Key? key, double? width, double? height, BoxBorder? border, BorderRadius? borderRadius, double? opacity = 0.05, double? shadowStrength = 4, double? circularRadius = 10, double? blur = 5}) Widget

Available on Widget, provided by the RushGlassWidgetExtension extension

Extension method to directly access RushGlass with any widget without wrapping or with dot operator.
h(double height, {Key? key}) Widget

Available on Widget, provided by the RushSizedBoxExtension extension

Creates a SizedBox widget with a specific height.
h0(BuildContext context, {Key? key}) Widget

Available on Widget, provided by the RushSizedBoxExtension extension

Creates a SizedBox widget with a specific height of 0.
h1(BuildContext context, {Key? key}) Widget

Available on Widget, provided by the RushSizedBoxExtension extension

Creates a SizedBox widget with a specific height of 1% of the MediaQuery height.
h10(BuildContext context, {Key? key}) Widget

Available on Widget, provided by the RushSizedBoxExtension extension

Creates a SizedBox widget with a specific height of 10% of the MediaQuery height.
h15(BuildContext context, {Key? key}) Widget

Available on Widget, provided by the RushSizedBoxExtension extension

Creates a SizedBox widget with a specific height of 15% of the MediaQuery height.
h16(BuildContext context, {Key? key}) Widget

Available on Widget, provided by the RushSizedBoxExtension extension

Creates a SizedBox widget with a specific height of 16% of the MediaQuery height.
h2(BuildContext context, {Key? key}) Widget

Available on Widget, provided by the RushSizedBoxExtension extension

Creates a SizedBox widget with a specific height of 2% of the MediaQuery height.
h20(BuildContext context, {Key? key}) Widget

Available on Widget, provided by the RushSizedBoxExtension extension

Creates a SizedBox widget with a specific height of 20% of the MediaQuery height.
h24(BuildContext context, {Key? key}) Widget

Available on Widget, provided by the RushSizedBoxExtension extension

Creates a SizedBox widget with a specific height of 24% of the MediaQuery height.
h32(BuildContext context, {Key? key}) Widget

Available on Widget, provided by the RushSizedBoxExtension extension

Creates a SizedBox widget with a specific height of 32% of the MediaQuery height.
h4(BuildContext context, {Key? key}) Widget

Available on Widget, provided by the RushSizedBoxExtension extension

Creates a SizedBox widget with a specific height of 4% of the MediaQuery height.
h40(BuildContext context, {Key? key}) Widget

Available on Widget, provided by the RushSizedBoxExtension extension

Creates a SizedBox widget with a specific height of 40% of the MediaQuery height.
h48(BuildContext context, {Key? key}) Widget

Available on Widget, provided by the RushSizedBoxExtension extension

Creates a SizedBox widget with a specific height of 48% of the MediaQuery height.
h56(BuildContext context, {Key? key}) Widget

Available on Widget, provided by the RushSizedBoxExtension extension

Creates a SizedBox widget with a specific height of 56% of the MediaQuery height.
h60(BuildContext context, {Key? key}) Widget

Available on Widget, provided by the RushSizedBoxExtension extension

Creates a SizedBox widget with a specific height of 60% of the MediaQuery height.
h64(BuildContext context, {Key? key}) Widget

Available on Widget, provided by the RushSizedBoxExtension extension

Creates a SizedBox widget with a specific height of 64% of the MediaQuery height.
h8(BuildContext context, {Key? key}) Widget

Available on Widget, provided by the RushSizedBoxExtension extension

Creates a SizedBox widget with a specific height of 8% of the MediaQuery height.
hFourFifth(BuildContext context, {Key? key}) Widget

Available on Widget, provided by the RushSizedBoxExtension extension

Creates a SizedBox widget with a specific height of 80% of the MediaQuery height.
hFull(BuildContext context, {Key? key}) Widget

Available on Widget, provided by the RushSizedBoxExtension extension

Creates a SizedBox widget with a full height of the MediaQuery height.
hHalf(BuildContext context, {Key? key}) Widget

Available on Widget, provided by the RushSizedBoxExtension extension

Creates a SizedBox widget with a specific height of 50% of the MediaQuery height.
hide({Key? key, bool isVisible = false, bool maintainSize = false}) Widget

Available on Widget, provided by the RushWidgetsExtension extension

Hides the widget based on the visibility flag.
hOneForth(BuildContext context, {Key? key}) Widget

Available on Widget, provided by the RushSizedBoxExtension extension

Creates a SizedBox widget with a specific height of 25% of the MediaQuery height.
hOneThird(BuildContext context, {Key? key}) Widget

Available on Widget, provided by the RushSizedBoxExtension extension

Creates a SizedBox widget with a specific height of 33.333333% of the MediaQuery height.
hPercentage({required BuildContext context, required double heightPCT, Key? key}) Widget

Available on Widget, provided by the RushSizedBoxExtension extension

Creates a SizedBox widget with a specific height percentage of the MediaQuery height.
hThreeForth(BuildContext context, {Key? key}) Widget

Available on Widget, provided by the RushSizedBoxExtension extension

Creates a SizedBox widget with a specific height of 75% of the MediaQuery height.
hTwoThird(BuildContext context, {Key? key}) Widget

Available on Widget, provided by the RushSizedBoxExtension extension

Creates a SizedBox widget with a specific height of 66.666667% of the MediaQuery height.
material({Key? key, MaterialType type = MaterialType.canvas, Duration animationDuration = kThemeAnimationDuration, bool borderOnForeground = true, BorderRadiusGeometry? borderRadius, Clip clipBehavior = Clip.none, Color? color, double elevation = 0.0, Color? shadowColor, ShapeBorder? shape, TextStyle? textStyle, Color? surfaceTintColor}) Widget

Available on Widget, provided by the RushWidgetsExtension extension

Creates a widget wrapped in a Material widget.
mouseRegion({Key? key, PointerHoverEventListener? onHover, PointerEnterEventListener? onEnter, PointerExitEventListener? onExit, MouseCursor mouseCursor = MouseCursor.defer, bool opaque = true}) MouseRegion

Available on Widget, provided by the RushGestureExtensions extension

MouseRegion Full Widget
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onFeedBackTap(VoidCallback? onTap, {Key? key, HitTestBehavior hitTestBehavior = HitTestBehavior.deferToChild, bool touchFeedBack = false}) Widget

Available on Widget, provided by the RushGestureExtensions extension

it is very much like onTap extension but when you put your finger on it, its color will change, and you can decide that whether it will have a touchFeedBack (vibration on your phone)
onMouseEnter(PointerEnterEventListener? onEnter, {Key? key}) MouseRegion

Available on Widget, provided by the RushGestureExtensions extension

Mouse Region Enter
onMouseEnterExit({Key? key, PointerEnterEventListener? onEnter, PointerExitEventListener? onExit}) MouseRegion

Available on Widget, provided by the RushGestureExtensions extension

Mouse Region Enter & Exit
onMouseExit(PointerExitEventListener? onExit, {Key? key}) MouseRegion

Available on Widget, provided by the RushGestureExtensions extension

Mouse Region Exit
onMouseHover(PointerHoverEventListener? onHover, {Key? key}) MouseRegion

Available on Widget, provided by the RushGestureExtensions extension

Mouse Region Hover
opacity({required double value, Key? key}) Widget

Available on Widget, provided by the RushWidgetsExtension extension

Applies opacity to the widget.
p(double value, {Key? key}) Padding

Available on Widget, provided by the RushPaddingExtensions extension

Gives custom padding from all sides by value.
p0({Key? key}) Padding

Available on Widget, provided by the RushPaddingExtensions extension

Gives 0 padding from all sides.
p1({Key? key}) Padding

Available on Widget, provided by the RushPaddingExtensions extension

Gives 1dp padding from all sides.
p12({Key? key}) Padding

Available on Widget, provided by the RushPaddingExtensions extension

Gives 12dp padding from all sides.
p16({Key? key}) Padding

Available on Widget, provided by the RushPaddingExtensions extension

Gives 16dp padding from all sides.
p2({Key? key}) Padding

Available on Widget, provided by the RushPaddingExtensions extension

Gives 2dp padding from all sides.
p20({Key? key}) Padding

Available on Widget, provided by the RushPaddingExtensions extension

Gives 20dp padding from all sides.
p24({Key? key}) Padding

Available on Widget, provided by the RushPaddingExtensions extension

Gives 24dp padding from all sides.
p32({Key? key}) Padding

Available on Widget, provided by the RushPaddingExtensions extension

Gives 32dp padding from all sides.
p4({Key? key}) Padding

Available on Widget, provided by the RushPaddingExtensions extension

Gives 4dp padding from all sides.
p64({Key? key}) Padding

Available on Widget, provided by the RushPaddingExtensions extension

Gives 64dp padding from all sides.
p8({Key? key}) Padding

Available on Widget, provided by the RushPaddingExtensions extension

Gives 8dp padding from all sides.
pLTRB(double left, double top, double right, double bottom, {Key? key}) Padding

Available on Widget, provided by the RushPaddingExtensions extension

Gives custom padding from all sides by left top right bottom.
pOnly({Key? key, double left = 0.0, double right = 0.0, double top = 0.0, double bottom = 0.0}) Padding

Available on Widget, provided by the RushPaddingExtensions extension

Gives custom padding by only left top right bottom.
positioned({double? top, double? bottom, double? left, double? right, double? height, double? width, bool isFilled = false}) Widget

Available on Widget, provided by the RushWidgetsExtension extension

Positions the widget at a specific location.
pSymmetric({Key? key, double v = 0.0, double h = 0.0}) Padding

Available on Widget, provided by the RushPaddingExtensions extension

Gives custom padding symmetrically by v h.
px(double value, {Key? key}) Padding

Available on Widget, provided by the RushPaddingExtensions extension

Gives custom padding horizontally.
px0({Key? key}) Padding

Available on Widget, provided by the RushPaddingExtensions extension

Gives 0 padding horizontally.
px1({Key? key}) Padding

Available on Widget, provided by the RushPaddingExtensions extension

Gives 1dp padding horizontally.
px12({Key? key}) Padding

Available on Widget, provided by the RushPaddingExtensions extension

Gives 12dp padding horizontally.
px16({Key? key}) Padding

Available on Widget, provided by the RushPaddingExtensions extension

Gives 16dp padding horizontally.
px2({Key? key}) Padding

Available on Widget, provided by the RushPaddingExtensions extension

Gives 2dp padding horizontally.
px20({Key? key}) Padding

Available on Widget, provided by the RushPaddingExtensions extension

Gives 20dp padding horizontally.
px24({Key? key}) Padding

Available on Widget, provided by the RushPaddingExtensions extension

Gives 24dp padding horizontally.
px32({Key? key}) Padding

Available on Widget, provided by the RushPaddingExtensions extension

Gives 32dp padding horizontally.
px4({Key? key}) Padding

Available on Widget, provided by the RushPaddingExtensions extension

Gives 4dp padding horizontally.
px64({Key? key}) Padding

Available on Widget, provided by the RushPaddingExtensions extension

Gives 64dp padding horizontally.
px8({Key? key}) Padding

Available on Widget, provided by the RushPaddingExtensions extension

Gives 8dp padding horizontally.
py(double value, {Key? key}) Padding

Available on Widget, provided by the RushPaddingExtensions extension

Gives custom padding vertically.
py0({Key? key}) Padding

Available on Widget, provided by the RushPaddingExtensions extension

Gives 0 padding vertically.
py1({Key? key}) Padding

Available on Widget, provided by the RushPaddingExtensions extension

Gives 1dp padding vertically.
py12({Key? key}) Padding

Available on Widget, provided by the RushPaddingExtensions extension

Gives 12dp padding vertically.
py16({Key? key}) Padding

Available on Widget, provided by the RushPaddingExtensions extension

Gives 16dp padding vertically.
py2({Key? key}) Padding

Available on Widget, provided by the RushPaddingExtensions extension

Gives 2dp padding vertically.
py20({Key? key}) Padding

Available on Widget, provided by the RushPaddingExtensions extension

Gives 20dp padding vertically.
py24({Key? key}) Padding

Available on Widget, provided by the RushPaddingExtensions extension

Gives 24dp padding vertically.
py32({Key? key}) Padding

Available on Widget, provided by the RushPaddingExtensions extension

Gives 32dp padding vertically.
py4({Key? key}) Padding

Available on Widget, provided by the RushPaddingExtensions extension

Gives 4dp padding vertically.
py64({Key? key}) Padding

Available on Widget, provided by the RushPaddingExtensions extension

Gives 64dp padding vertically.
py8({Key? key}) Padding

Available on Widget, provided by the RushPaddingExtensions extension

Gives 8dp padding vertically.
rushBevel({Key? key, Widget? child, Color? backgroundColor, double? radius, double? width, double? height, BorderSide? borderSide, DecorationImage? backgroundImage, Gradient? gradient, List<BoxShadow>? shadows}) RushBevel

Available on Widget, provided by the RushShapesExtension extension

Extension method to directly access RushBevel with any widget without wrapping or with dot operator.
rushCapsule({Key? key, Widget? child, Color? backgroundColor, double? width, double? height, BoxBorder? border, BoxDecoration? customDecoration, DecorationImage? backgroundImage, BlendMode? blendMode, Gradient? gradient, List<BoxShadow>? shadows}) RushCapsule

Available on Widget, provided by the RushShapesExtension extension

Extension method to directly access RushCapsule with any widget without wrapping or with dot operator.
rushCircle({Key? key, Widget? child, Color? backgroundColor, double? radius, BoxBorder? border, BoxDecoration? customDecoration, DecorationImage? backgroundImage, BlendMode? blendMode, Gradient? gradient, List<BoxShadow>? shadows}) RushCircle

Available on Widget, provided by the RushShapesExtension extension

Extension method to directly access RushCircle with any widget without wrapping or with dot operator.
rushContinuousRectangle({Key? key, Widget? child, Color? backgroundColor, double? radius, double? width, double? height, BorderSide? borderSide, DecorationImage? backgroundImage, Gradient? gradient, List<BoxShadow>? shadows}) RushContinuousRectangle

Available on Widget, provided by the RushShapesExtension extension

Extension method to directly access RushContinuousRectangle with any widget without wrapping or with dot operator.
rushCupertinoRoute({bool fullscreenDialog = false}) CupertinoPageRoute

Available on Widget, provided by the RushRoutesWidgetsExtension extension

Generates a CupertinoPageRoute for the widget.
rushEllipse({Key? key, Widget? child, Color? backgroundColor, double? width, double? height, BoxBorder? border, BoxDecoration? customDecoration, DecorationImage? backgroundImage, BlendMode? blendMode, Gradient? gradient, List<BoxShadow>? shadows}) RushEllipse

Available on Widget, provided by the RushShapesExtension extension

Extension method to directly access RushEllipse with any widget without wrapping or with dot operator.
rushMaterialRoute({bool fullscreenDialog = false}) MaterialPageRoute

Available on Widget, provided by the RushRoutesWidgetsExtension extension

Generates a MaterialPageRoute for the widget.
rushPreviewRoute({required BuildContext parentContext}) Route

Available on Widget, provided by the RushRoutesWidgetsExtension extension

Generates a preview route for the widget.
rushTicket({Key? key, Widget? child, Color? backgroundColor, double? width, double? height, bool? isHardEdged, bool? isTwoSided}) RushTicket

Available on Widget, provided by the RushShapesExtension extension

Extension method to directly access RushTicket with any widget without wrapping or with dot operator.
rushTriangle({Key? key, Widget? child, Color? backgroundColor, double? width, double? height, double? strokeWidth}) RushTriangle

Available on Widget, provided by the RushShapesExtension extension

Extension method to directly access RushTriangle with any widget without wrapping or with dot operator.
safeArea({Key? key, EdgeInsets minimum = EdgeInsets.zero, bool maintainBottomViewPadding = false, bool top = true, bool bottom = true, bool left = true, bool right = true}) Widget

Available on Widget, provided by the RushWidgetsExtension extension

Wraps the widget in a SafeArea widget.
shaderMask({required Gradient gradient, Key? key, BlendMode blendMode = BlendMode.modulate}) Widget

Available on Widget, provided by the RushWidgetsExtension extension

Applies a shader mask to the widget.
shimmer({Key? key, Gradient? gradient, Duration duration = const Duration(seconds: 1), int count = 10000, bool showAnimation = true, bool showGradient = false, Color primaryColor = Colors.grey, Color? secondaryColor}) Widget

Available on Widget, provided by the RushShimmerExtension extension

Extension method to directly access RushShimmer with any widget without wrapping or with dot operator.
stroke(double width, Color color, {bool isCircle = false}) DecoratedBox

Available on Widget, provided by the RushWidgetsExtension extension

Adds a stroke to the widget.
toDiagnosticsNode({String? name, DiagnosticsTreeStyle? style}) DiagnosticsNode
Returns a debug representation of the object that is used by debugging tools and by DiagnosticsNode.toStringDeep.
inherited
tooltip(String message, {Key? key, Decoration? decoration, double? height, bool? preferBelow, EdgeInsetsGeometry? padding, TextStyle? textStyle, Duration? waitDuration, EdgeInsetsGeometry? margin}) Widget

Available on Widget, provided by the RushWidgetsExtension extension

Adds a tooltip to the widget.
toString({DiagnosticLevel minLevel = DiagnosticLevel.info}) String
A string representation of this object.
inherited
toStringDeep({String prefixLineOne = '', String? prefixOtherLines, DiagnosticLevel minLevel = DiagnosticLevel.debug, int wrapWidth = 65}) String
Returns a string representation of this node and its descendants.
inherited
toStringShallow({String joiner = ', ', DiagnosticLevel minLevel = DiagnosticLevel.debug}) String
Returns a one-line detailed description of the object.
inherited
toStringShort() String
A short, textual description of this widget.
inherited
w(double width, {Key? key}) Widget

Available on Widget, provided by the RushSizedBoxExtension extension

Creates a SizedBox widget with a specific width.
w0(BuildContext context, {Key? key}) Widget

Available on Widget, provided by the RushSizedBoxExtension extension

Creates a SizedBox widget with a specific width of 0% of the MediaQuery width.
w1(BuildContext context, {Key? key}) Widget

Available on Widget, provided by the RushSizedBoxExtension extension

Creates a SizedBox widget with a specific width of 1% of the MediaQuery width.
w10(BuildContext context, {Key? key}) Widget

Available on Widget, provided by the RushSizedBoxExtension extension

Creates a SizedBox widget with a specific width of 10% of the MediaQuery width.
w15(BuildContext context, {Key? key}) Widget

Available on Widget, provided by the RushSizedBoxExtension extension

Creates a SizedBox widget with a specific width of 15% of the MediaQuery width.
w16(BuildContext context, {Key? key}) Widget

Available on Widget, provided by the RushSizedBoxExtension extension

Creates a SizedBox widget with a specific width of 16% of the MediaQuery width.
w2(BuildContext context, {Key? key}) Widget

Available on Widget, provided by the RushSizedBoxExtension extension

Creates a SizedBox widget with a specific width of 2% of the MediaQuery width.
w20(BuildContext context, {Key? key}) Widget

Available on Widget, provided by the RushSizedBoxExtension extension

Creates a SizedBox widget with a specific width of 20% of the MediaQuery width.
w24(BuildContext context, {Key? key}) Widget

Available on Widget, provided by the RushSizedBoxExtension extension

Creates a SizedBox widget with a specific width of 24% of the MediaQuery width.
w32(BuildContext context, {Key? key}) Widget

Available on Widget, provided by the RushSizedBoxExtension extension

Creates a SizedBox widget with a specific width of 32% of the MediaQuery width.
w4(BuildContext context, {Key? key}) Widget

Available on Widget, provided by the RushSizedBoxExtension extension

Creates a SizedBox widget with a specific width of 4% of the MediaQuery width.
w40(BuildContext context, {Key? key}) Widget

Available on Widget, provided by the RushSizedBoxExtension extension

Creates a SizedBox widget with a specific width of 40% of the MediaQuery width.
w48(BuildContext context, {Key? key}) Widget

Available on Widget, provided by the RushSizedBoxExtension extension

Creates a SizedBox widget with a specific width of 48% of the MediaQuery width.
w56(BuildContext context, {Key? key}) Widget

Available on Widget, provided by the RushSizedBoxExtension extension

Creates a SizedBox widget with a specific width of 56% of the MediaQuery width.
w60(BuildContext context, {Key? key}) Widget

Available on Widget, provided by the RushSizedBoxExtension extension

Creates a SizedBox widget with a specific width of 60% of the MediaQuery width.
w64(BuildContext context, {Key? key}) Widget

Available on Widget, provided by the RushSizedBoxExtension extension

Creates a SizedBox widget with a specific width of 64% of the MediaQuery width.
w8(BuildContext context, {Key? key}) Widget

Available on Widget, provided by the RushSizedBoxExtension extension

Creates a SizedBox widget with a specific width of 8% of the MediaQuery width.
wFourFifth(BuildContext context, {Key? key}) Widget

Available on Widget, provided by the RushSizedBoxExtension extension

Creates a SizedBox widget with a specific width of 80% of the MediaQuery width.
wFull(BuildContext context, {Key? key}) Widget

Available on Widget, provided by the RushSizedBoxExtension extension

Creates a SizedBox widget with a full width of the MediaQuery width.
wh(double width, double height, {Key? key}) Widget

Available on Widget, provided by the RushSizedBoxExtension extension

Creates a SizedBox widget with a specific width and height.
wh0(BuildContext context, {Key? key}) Widget

Available on Widget, provided by the RushSizedBoxExtension extension

Creates a SizedBox widget with a width and height of 0.
wh1(BuildContext context, {Key? key}) Widget

Available on Widget, provided by the RushSizedBoxExtension extension

Creates a SizedBox widget with a width and height of 1.
wh10(BuildContext context, {Key? key}) Widget

Available on Widget, provided by the RushSizedBoxExtension extension

Creates a SizedBox widget with a width and height of 10.
wh15(BuildContext context, {Key? key}) Widget

Available on Widget, provided by the RushSizedBoxExtension extension

Creates a SizedBox widget with a width and height of 15.
wh16(BuildContext context, {Key? key}) Widget

Available on Widget, provided by the RushSizedBoxExtension extension

Creates a SizedBox widget with a width and height of 16.
wh2(BuildContext context, {Key? key}) Widget

Available on Widget, provided by the RushSizedBoxExtension extension

Creates a SizedBox widget with a width and height of 2.
wh20(BuildContext context, {Key? key}) Widget

Available on Widget, provided by the RushSizedBoxExtension extension

Creates a SizedBox widget with a width and height of 20.
wh24(BuildContext context, {Key? key}) Widget

Available on Widget, provided by the RushSizedBoxExtension extension

Creates a SizedBox widget with a width and height of 24.
wh32(BuildContext context, {Key? key}) Widget

Available on Widget, provided by the RushSizedBoxExtension extension

Creates a SizedBox widget with a width and height of 32.
wh4(BuildContext context, {Key? key}) Widget

Available on Widget, provided by the RushSizedBoxExtension extension

Creates a SizedBox widget with a width and height of 4.
wh40(BuildContext context, {Key? key}) Widget

Available on Widget, provided by the RushSizedBoxExtension extension

Creates a SizedBox widget with a width and height of 40.
wh48(BuildContext context, {Key? key}) Widget

Available on Widget, provided by the RushSizedBoxExtension extension

Creates a SizedBox widget with a width and height of 48.
wh56(BuildContext context, {Key? key}) Widget

Available on Widget, provided by the RushSizedBoxExtension extension

Creates a SizedBox widget with a width and height of 56.
wh60(BuildContext context, {Key? key}) Widget

Available on Widget, provided by the RushSizedBoxExtension extension

Creates a SizedBox widget with a width and height of 60.
wh64(BuildContext context, {Key? key}) Widget

Available on Widget, provided by the RushSizedBoxExtension extension

Creates a SizedBox widget with a width and height of 64.
wh8(BuildContext context, {Key? key}) Widget

Available on Widget, provided by the RushSizedBoxExtension extension

Creates a SizedBox widget with a width and height of 8.
wHalf(BuildContext context, {Key? key}) Widget

Available on Widget, provided by the RushSizedBoxExtension extension

Creates a SizedBox widget with a specific width of 50% of the MediaQuery width.
whFourFifth(BuildContext context, {Key? key}) Widget

Available on Widget, provided by the RushSizedBoxExtension extension

Creates a SizedBox widget with a width and height of 80.
whFull(BuildContext context, {Key? key}) Widget

Available on Widget, provided by the RushSizedBoxExtension extension

Creates a SizedBox widget with a width and height of the full screen.
whHalf(BuildContext context, {Key? key}) Widget

Available on Widget, provided by the RushSizedBoxExtension extension

Creates a SizedBox widget with a width and height of 50.
whOneForth(BuildContext context, {Key? key}) Widget

Available on Widget, provided by the RushSizedBoxExtension extension

Creates a SizedBox widget with a width and height of 25.
whOneThird(BuildContext context, {Key? key}) Widget

Available on Widget, provided by the RushSizedBoxExtension extension

Creates a SizedBox widget with a width and height of 33.333333.
whPercentage({required BuildContext context, required double widthPercentage, required double heightPercentage, Key? key}) Widget

Available on Widget, provided by the RushSizedBoxExtension extension

Creates a SizedBox widget with a specific width and height as a percentage of the screen size.
whThreeForth(BuildContext context, {Key? key}) Widget

Available on Widget, provided by the RushSizedBoxExtension extension

Creates a SizedBox widget with a width and height of 75.
whTwoThird(BuildContext context, {Key? key}) Widget

Available on Widget, provided by the RushSizedBoxExtension extension

Creates a SizedBox widget with a width and height of 66.666667.
wOneForth(BuildContext context, {Key? key}) Widget

Available on Widget, provided by the RushSizedBoxExtension extension

Creates a SizedBox widget with a specific width of 25% of the MediaQuery width.
wOneThird(BuildContext context, {Key? key}) Widget

Available on Widget, provided by the RushSizedBoxExtension extension

Creates a SizedBox widget with a specific width of 33.333333% of the MediaQuery width.
wPercentage({required BuildContext context, required double percentage, Key? key}) Widget

Available on Widget, provided by the RushSizedBoxExtension extension

SizedBox widget with a width calculated as a percentage of the MediaQuery width.
wThreeForth(BuildContext context, {Key? key}) Widget

Available on Widget, provided by the RushSizedBoxExtension extension

Creates a SizedBox widget with a specific width of 75% of the MediaQuery width.
wTwoThird(BuildContext context, {Key? key}) Widget

Available on Widget, provided by the RushSizedBoxExtension extension

Creates a SizedBox widget with a specific width of 66.666667% of the MediaQuery width.

Operators

operator ==(Object other) bool
The equality operator.
inherited