GridRow class

Responsive grid row for Kaeru UI. Example:

GridRow(xs: 2, md: 4, children: [...])
Inheritance
Available extensions

Constructors

GridRow({Key? key, int xs = 1, int? sm, int? md, int? lg, int? xl, required List<Widget> children, double spacing = 8, double runSpacing = 8})
Creates a GridRow.
const

Properties

bottomLeft Widget

Available on Widget, provided by the KaeruFlexWidgetExtension extension

Aligns the widget to the bottom left.
no setter
bottomRight Widget

Available on Widget, provided by the KaeruFlexWidgetExtension extension

Aligns the widget to the bottom right.
no setter
box VContainer

Available on Widget, provided by the KaeruBoxExtension extension

Begins a chainable VContainer builder.
no setter
centered Widget

Available on Widget, provided by the KaeruFlexWidgetExtension extension

Aligns the widget to the center.
no setter
children List<Widget>
The children of the grid row.
final
circle Widget

Available on Widget, provided by the KaeruWidgetClipExtension extension

Clips the widget into a circle.
no setter
flipX Widget

Available on Widget, provided by the KaeruWidgetTransform extension

Flips the widget horizontally.
no setter
flipY Widget

Available on Widget, provided by the KaeruWidgetTransform extension

Flips the widget vertically.
no setter
hashCode int
The hash code for this object.
no setterinherited
hide Widget

Available on Widget, provided by the KaeruVisibilityExtension extension

Hides the widget.
no setter
key Key?
Controls how one widget replaces another widget in the tree.
finalinherited
lg int?
The number of columns for large screens.
final
md int?
The number of columns for medium screens.
final
none Widget

Available on Widget, provided by the KaeruDisplayExtension extension

Always remove (no space).
no setter
positionedFill Positioned

Available on Widget, provided by the KaeruPositionedX extension

Fill entire Stack
no setter
runSpacing double
The spacing between rows.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sm int?
The number of columns for small screens.
final
spacing double
The spacing between columns.
final
topLeft Widget

Available on Widget, provided by the KaeruFlexWidgetExtension extension

Aligns the widget to the top left.
no setter
topRight Widget

Available on Widget, provided by the KaeruFlexWidgetExtension extension

Aligns the widget to the top right.
no setter
xl int?
The number of columns for extra large screens.
final
xs int
The number of columns for extra small screens.
final

Methods

align(Alignment alignment, {Key? key, double? heightFactor, double? widthFactor}) Align

Available on Widget, provided by the KaeruFlexWidgetExtension extension

Wraps the widget in an Align widget with the specified alignment.
aspectRatio(double ratio) Widget

Available on Widget, provided by the KaeruAspectRatio extension

Wraps the widget with AspectRatio
badge({Color bgColor = Colors.red, Color textColor = Colors.white, double paddingH = 6, double paddingV = 2, double borderRadius = 12, double fontSize = 12}) Widget

Available on Widget, provided by the KaeruBadgeWidget extension

Wraps the widget in a badge-style container.
build(BuildContext context) Widget
Describes the part of the user interface represented by this widget.
override
card({Key? key, Color? color, Color? shadowColor, Color? surfaceTintColor, double? elevation, ShapeBorder? shape, bool borderOnForeground = true, EdgeInsetsGeometry? margin, Clip? clipBehavior, bool semanticContainer = true}) Widget

Available on Widget, provided by the KaeruCardExtension extension

Wraps the widget in a Card.
clip({CustomClipper<Rect>? clipper, Clip clipBehavior = Clip.hardEdge}) Widget

Available on Widget, provided by the KaeruWidgetClipExtension extension

Wraps the widget in a ClipRect.
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, {double opacity = 0.5}) Widget

Available on Widget, provided by the KaeruDisplayExtension extension

Disable this widget visually + interaction
expand({int flex = 1}) Widget

Available on Widget, provided by the KaeruFlexWidgetExtension extension

Wraps the widget in an Expanded widget.
fadeIn({Key? key, Duration duration = const Duration(milliseconds: 500), Curve curve = Curves.easeIn}) Widget

Available on Widget, provided by the KaeruAnimation extension

Fades in the widget.
flexible({int flex = 1, FlexFit fit = FlexFit.loose}) Widget

Available on Widget, provided by the KaeruFlexWidgetExtension extension

Wraps the widget in a Flexible widget.
height(double height) Widget

Available on Widget, provided by the KaeruWidgetClipExtension extension

Constrains the widget to the given height.
inkWell(GestureTapCallback? onTap, {GestureTapCallback? onDoubleTap, GestureLongPressCallback? onLongPress, ValueChanged<bool>? onHighlightChanged, ValueChanged<bool>? onHover, MouseCursor? mouseCursor, Color? splashColor, Color? highlightColor, Color? hoverColor, BorderRadius? borderRadius, WidgetStateProperty<Color?>? overlayColor, bool enableFeedback = true, FocusNode? focusNode, bool canRequestFocus = true, void onFocusChange(bool)?, void onTapDown(TapDownDetails)?, void onTapUp(TapUpDetails)?, void onTapCancel()?, void onSecondaryTap()?, void onSecondaryTapUp(TapUpDetails)?, void onSecondaryTapDown(TapDownDetails)?, void onSecondaryTapCancel()?, Color? focusColor, InteractiveInkFeatureFactory? splashFactory, double? radius, ShapeBorder? customBorder, bool excludeFromSemantics = false, bool autofocus = false, WidgetStatesController? statesController, Duration? hoverDuration}) Widget

Available on Widget, provided by the KaeruInkWellExtension extension

Wraps the widget in an InkWell.
lgOnly(BuildContext context) Widget

Available on Widget, provided by the KaeruResponsiveWidget extension

Shows the widget only on large screens.
lgUp(BuildContext context) Widget

Available on Widget, provided by the KaeruResponsiveWidget extension

Shows the widget on large screens and up.
m(double v, [double? y]) Widget

Available on Widget, provided by the KaeruMarginExtension extension

Wraps the widget in a container with the specified margin.
mar(EdgeInsetsGeometry p) Widget

Available on Widget, provided by the KaeruMarginExtension extension

Wraps the widget in a container with the specified p margin.
mb(double v) Widget

Available on Widget, provided by the KaeruMarginExtension extension

Wraps the widget in a container with the specified bottom v margin.
mdDown(BuildContext context) Widget

Available on Widget, provided by the KaeruResponsiveWidget extension

Shows the widget on medium and large screens.
mdOnly(BuildContext context) Widget

Available on Widget, provided by the KaeruResponsiveWidget extension

Shows the widget only on medium screens.
mdUp(BuildContext context) Widget

Available on Widget, provided by the KaeruResponsiveWidget extension

Shows the widget on medium screens and up.
ml(double v) Widget

Available on Widget, provided by the KaeruMarginExtension extension

Wraps the widget in a container with the specified left v margin.
mr(double v) Widget

Available on Widget, provided by the KaeruMarginExtension extension

Wraps the widget in a container with the specified right v margin.
mt(double v) Widget

Available on Widget, provided by the KaeruMarginExtension extension

Wraps the widget in a container with the specified top v margin.
mx(double v) Widget

Available on Widget, provided by the KaeruMarginExtension extension

Wraps the widget in a container with the specified horizontal v margin.
my(double v) Widget

Available on Widget, provided by the KaeruMarginExtension extension

Wraps the widget in a container with the specified vertical v margin.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
nullIf(bool state) Widget?

Available on Widget, provided by the KaeruDisplayExtension extension

onDoubleTap(VoidCallback onDoubleTap) Widget

Available on Widget, provided by the KaeruGestureExtension extension

Wraps the widget in a GestureDetector and handles double tap events.
onLongPress(VoidCallback onLongPress) Widget

Available on Widget, provided by the KaeruGestureExtension extension

Wraps the widget in a GestureDetector and handles long press events.
onTap(VoidCallback onTap) Widget

Available on Widget, provided by the KaeruGestureExtension extension

Wraps the widget in a GestureDetector and handles tap events.
p(double v, [double? y]) Widget

Available on Widget, provided by the KaeruPaddingExtension extension

Wraps the widget in a Padding with the specified padding.
pad(EdgeInsets insets) Widget

Available on Widget, provided by the KaeruPaddingExtension extension

Wraps the widget in a Padding with the specified insets.
pb(double v) Widget

Available on Widget, provided by the KaeruPaddingExtension extension

Wraps the widget in a Padding with the specified bottom v padding.
pBottomLeft({double? bottom, double? left}) Positioned

Available on Widget, provided by the KaeruPositionedX extension

Positions the widget at the bottom left of the stack.
pBottomRight({double? bottom, double? right}) Positioned

Available on Widget, provided by the KaeruPositionedX extension

Positions the widget at the bottom right of the stack.
pl(double v) Widget

Available on Widget, provided by the KaeruPaddingExtension extension

Wraps the widget in a Padding with the specified left v padding.
positioned({double? top, double? left, double? right, double? bottom, double? width, double? height}) Positioned

Available on Widget, provided by the KaeruPositionedX extension

Wraps the built Container into a Positioned widget
pr(double v) Widget

Available on Widget, provided by the KaeruPaddingExtension extension

Wraps the widget in a Padding with the specified right v padding.
preferredSize({Key? key, double? height, double? width}) PreferredSize

Available on Widget, provided by the PreferredSizeExtension extension

pt(double v) Widget

Available on Widget, provided by the KaeruPaddingExtension extension

Wraps the widget in a Padding with the specified top v padding.
pTopLeft({double? top, double? left}) Positioned

Available on Widget, provided by the KaeruPositionedX extension

Shortcuts Positions the widget at the top left of the stack.
pTopRight({double? top, double? right}) Positioned

Available on Widget, provided by the KaeruPositionedX extension

Positions the widget at the top right of the stack.
px(double v) Widget

Available on Widget, provided by the KaeruPaddingExtension extension

Wraps the widget in a Padding with the specified horizontal v padding.
py(double v) Widget

Available on Widget, provided by the KaeruPaddingExtension extension

Wraps the widget in a Padding with the specified vertical v padding.
rotate({Key? key, Duration duration = const Duration(milliseconds: 500), Curve curve = Curves.easeInOut, double begin = -0.5, double end = 0.0}) Widget

Available on Widget, provided by the KaeruAnimation extension

Rotates the widget.
rotate(double radians) Widget

Available on Widget, provided by the KaeruWidgetTransform extension

Rotates the widget by radians.
rounded([double radius = 8]) Widget

Available on Widget, provided by the KaeruWidgetClipExtension extension

Clips the widget with rounded corners.
scale({Key? key, Duration duration = const Duration(milliseconds: 500), Curve curve = Curves.easeInOut, double begin = 0.8, double end = 1.0}) Widget

Available on Widget, provided by the KaeruAnimation extension

Scales the widget.
scrollable({Axis axis = Axis.vertical, bool enabled = true, bool reverse = false, ScrollPhysics? physics, EdgeInsetsGeometry? padding, bool? primary, ScrollController? controller, Widget? child, DragStartBehavior dragStartBehavior = DragStartBehavior.start, Clip clipBehavior = Clip.hardEdge, HitTestBehavior hitTestBehavior = HitTestBehavior.opaque, String? restorationId, ScrollViewKeyboardDismissBehavior? keyboardDismissBehavior}) Widget

Available on Widget, provided by the KaeruFlexWidgetExtension extension

Wraps the widget in a SingleChildScrollView.
show(bool show) Widget

Available on Widget, provided by the KaeruDisplayExtension extension

Shows the widget if show is true, otherwise shows a SizedBox.shrink.
size(double width, double height) Widget

Available on Widget, provided by the KaeruWidgetClipExtension extension

Constrains the widget to the given width and height.
slideUp({Key? key, Duration duration = const Duration(milliseconds: 500), Curve curve = Curves.easeOut, double distance = 50}) Widget

Available on Widget, provided by the KaeruAnimation extension

Slides up the widget.
smDown(BuildContext context) Widget

Available on Widget, provided by the KaeruResponsiveWidget extension

Shows the widget on small and medium screens.
smOnly(BuildContext context) Widget

Available on Widget, provided by the KaeruResponsiveWidget extension

Shows the widget only on small screens.
smUp(BuildContext context) Widget

Available on Widget, provided by the KaeruResponsiveWidget extension

Shows the widget on small screens and up.
square(double size) Widget

Available on Widget, provided by the KaeruWidgetClipExtension extension

Constrains the widget to a square of the given size.
textButton({Key? key, required VoidCallback? onPressed, VoidCallback? onLongPress, ValueChanged<bool>? onHover, ValueChanged<bool>? onFocusChange, ButtonStyle? style, FocusNode? focusNode, bool? autofocus, Clip? clipBehavior, WidgetStatesController? statesController}) TextButton

Available on Widget, provided by the TextButtonExtension extension

toDiagnosticsNode({String? name, DiagnosticsTreeStyle? style}) DiagnosticsNode
Returns a debug representation of the object that is used by debugging tools and by DiagnosticsNode.toStringDeep.
inherited
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
translate({double dx = 0, double dy = 0}) Widget

Available on Widget, provided by the KaeruWidgetTransform extension

Translates the widget by dx and dy.
visible(bool visible, {Widget replacement = const SizedBox.shrink()}) Widget

Available on Widget, provided by the KaeruVisibilityExtension extension

Makes the widget visible or invisible based on the visible parameter.
width(double width) Widget

Available on Widget, provided by the KaeruWidgetClipExtension extension

Constrains the widget to the given width.
xlOnly(BuildContext context) Widget

Available on Widget, provided by the KaeruResponsiveWidget extension

Shows the widget only on extra large screens.
xsDown(BuildContext context) Widget

Available on Widget, provided by the KaeruResponsiveWidget extension

Chainable visibility: xsDown, smUp, mdDown... Shows the widget on extra small and small screens.
xsOnly(BuildContext context) Widget

Available on Widget, provided by the KaeruResponsiveWidget extension

Only show on specific breakpoints Shows the widget only on extra small screens.

Operators

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