GridViewCubitBuilder<Value extends Object> class
Constructors
-
GridViewCubitBuilder({Key? key, required MultiCubit<Value, Object, Object> iterableCubit, bool useOldValues = true, int skipValuesCount = 0, int? takeValuesCount, int? valuesPerScroll, bool isEnabledPullDown = false, bool isEnabledPullUp = false, Axis scrollDirection = Axis.vertical, bool reverse = false, ScrollController? controller, bool? primary, ScrollPhysics? physics, bool shrinkWrap = false, EdgeInsetsGeometry? padding, SliverGridDelegate? gridDelegate, LoadingCubitViewBuilder<IterableCubit<Value, Object>, IterableCubitState<Value, Object>> loadingBuilder = CubitViewBuilder.buildLoading, ErrorCubitViewBuilder<IterableCubit<Value, Object>, IterableCubitState<Value, Object>> errorBuilder = CubitViewBuilder.buildError, EmptyCubitViewBuilder<IterableCubit<Value, Object>, IterableCubitState<Value, Object>> emptyBuilder = CubitViewBuilder.buildEmpty, required CubitValueWidgetBuilder<Value> builder})
-
const
Properties
-
builder
→ CubitValueWidgetBuilder<Value>
-
ListView.itemBuilder
final
-
controller
→ ScrollController?
-
ScrollView.controller
final
-
effectiveValuesPerScroll
→ int
-
no setterinherited
-
emptyBuilder
→ EmptyCubitViewBuilder<IterableCubit<Value, Object>, IterableCubitState<Value, Object>>?
-
CubitViewBuilder.emptyBuilder
finalinherited
-
errorBuilder
→ ErrorCubitViewBuilder<IterableCubit<Value, Object>, IterableCubitState<Value, Object>>?
-
CubitViewBuilder.errorBuilder
finalinherited
-
gridDelegate
→ SliverGridDelegate?
-
GridView.gridDelegate
final
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
isEnabledPullDown
→ bool
-
finalinherited
-
isEnabledPullUp
→ bool
-
finalinherited
-
iterableCubit
→ IterableCubit<Value, Object>
-
finalinherited
-
key
→ Key?
-
Controls how one widget replaces another widget in the tree.
finalinherited
-
loadingBuilder
→ LoadingCubitViewBuilder<IterableCubit<Value, Object>, IterableCubitState<Value, Object>>?
-
CubitViewBuilder.loadingBuilder
finalinherited
-
padding
→ EdgeInsetsGeometry?
-
BoxScrollView.padding
final
-
physics
→ ScrollPhysics?
-
ScrollView.physics
final
-
primary
→ bool?
-
ScrollView.primary
final
-
reverse
→ bool
-
ScrollView.reverse
final
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
-
scrollDirection
→ Axis
-
ScrollView.scrollDirection
final
-
shrinkWrap
→ bool
-
ScrollView.shrinkWrap
final
-
skipValuesCount
→ int
-
Number of values to skip show
finalinherited
-
takeValuesCount
→ int?
-
Number of values to show
finalinherited
-
useOldValues
→ bool
-
finalinherited
-
valuesPerScroll
→ int?
-
finalinherited
Methods
-
build(BuildContext context)
→ Widget
-
Describes the part of the user interface represented by this widget.
inherited
-
buildDecoration(BuildContext context, Widget child)
→ Widget
-
inherited
-
buildScrollView(BuildContext context, IterableCubitState<Value, Object> state, BuiltList<Value> values)
→ Widget
-
override
-
buildValues(BuildContext context, IterableCubitState<Value, Object> state, BuiltList<Value> values)
→ Widget
-
inherited
-
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
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
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})
→ 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