ResponsiveStaggeredGrid class
- Inheritance
-
- Object
- DiagnosticableTree
- Widget
- RenderObjectWidget
- AbstractLayoutBuilder<
BoxConstraints> - ConstrainedLayoutBuilder<
BoxConstraints> - LayoutBuilder
- Layout
- ResponsiveStaggeredGrid
- Available extensions
Constructors
-
ResponsiveStaggeredGrid.builder({Key? key, int crossAxisCount = 120, double mainAxisSpacing = 7, double crossAxisSpacing = 4, AxisDirection? axisDirection = AxisDirection.down, EdgeInsetsGeometry? contantPadding, required List<
ResponsiveStaggeredGridTile> builder(LayoutSize layoutSize, BuildContext context, BoxConstraints boxConstraints)}) -
ResponsiveStaggeredGrid.count({Key? key, int crossAxisCount = 120, double mainAxisSpacing = 7, double crossAxisSpacing = 4, AxisDirection? axisDirection = AxisDirection.down, EdgeInsetsGeometry? contantPadding, required List<
ResponsiveStaggeredGridTile> children})
Properties
- builder → Widget Function(BuildContext context, BoxConstraints constraints)
-
Called at layout time to construct the widget tree.
finalinherited
- 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
Methods
-
createElement(
) → RenderObjectElement -
RenderObjectWidgets always inflate to a RenderObjectElement subclass.
inherited
-
createRenderObject(
BuildContext context) → RenderAbstractLayoutBuilderMixin< BoxConstraints, RenderBox> -
Creates an instance of the RenderObject class that this
RenderObjectWidget represents, using the configuration described by this
RenderObjectWidget.
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
-
didUnmountRenderObject(
covariant RenderObject renderObject) → void -
This method is called when a RenderObject that was previously
associated with this widget is removed from the render tree.
The provided RenderObject will be of the same type as the one created by
this widget's createRenderObject method.
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
responsiveLayout(
{Key? key, Alignment alignment = Alignment.topCenter, Widget? background, Color? backgroundColor, List< ResponsiveBreakpoint> ? breakpoints, List<ResponsiveBreakpoint> ? breakpointsLandscape, bool debugLog = false, String? defaultName, String? defaultNameLandscape, bool defaultScale = true, ResponsiveDouble defaultScaleFactor = const ResponsiveDouble(s: 1, m: 1.15, xm: 1.2, l: 1.1), ResponsiveDouble? defaultScaleFactorLandscape, bool? defaultScaleLandscape = true, List<ResponsiveTargetPlatform> ? landscapePlatforms, MediaQueryData? mediaQueryData, bool shrinkWrap = true, bool useShortestSide = false, ResponsiveDouble? minWidth, ResponsiveDouble? maxWidth, ResponsiveDouble? minWidthLandscape, ResponsiveDouble? maxWidthLandscape}) → Widget -
Available on Widget, provided by the ResponsiveWidgetExtension extension
-
staggeredGridTileCount(
{ResponsiveInt crossAxisCellCount = const ResponsiveInt(), required ResponsiveDouble mainAxisCellCount}) → ResponsiveStaggeredGridTile -
Available on Widget, provided by the WidgetResponsiveStaggeredGridTile extension
-
staggeredGridTileExtent(
{ResponsiveInt crossAxisCellCount = const ResponsiveInt(), required ResponsiveDouble mainAxisExtent}) → ResponsiveStaggeredGridTile -
Available on Widget, provided by the WidgetResponsiveStaggeredGridTile extension
-
staggeredGridTileFit(
{ResponsiveInt crossAxisCellCount = const ResponsiveInt()}) → ResponsiveStaggeredGridTile -
Available on Widget, provided by the WidgetResponsiveStaggeredGridTile 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
-
updateRenderObject(
BuildContext context, covariant RenderObject renderObject) → void -
Copies the configuration described by this RenderObjectWidget to the
given RenderObject, which will be of the same type as returned by this
object's createRenderObject.
inherited
-
updateShouldRebuild(
covariant AbstractLayoutBuilder< BoxConstraints> oldWidget) → bool -
Whether builder needs to be called again even if the layout constraints
are the same.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited