FlipMatrixBoardStream<T> class
Component to present a matrix board of FlipWidgets that animates the arrival of items in a stream.
Most common code between FlipMatrixBoardSingleChild and FlipMatrixBoardStream is found in FlipMatrixBoardBuilder
.
- Inheritance
-
- Object
- DiagnosticableTree
- Widget
- StatefulWidget
- FlipMatrixBoardStream
Constructors
-
FlipMatrixBoardStream({Key? key, T? initialValue, required Stream<
T> itemStream, required ItemBuilder<T> itemBuilder, required Axis axis, required double width, required double height, required int columnCount, required int rowCount, int minAnimationMillis = 1000, int maxAnimationMillis = 3000, int maxDelayMillis = 2500, Color? backgroundColor}) -
FlipMatrixBoardStream constructor.
const
Properties
- axis → Axis
-
Flip animation axis.
final
- backgroundColor → Color?
-
Background before the first animation when there is no initialValue.
final
- columnCount → int
-
Number of columns of the display matrix.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- height → double
-
Whole widget height.
final
- initialValue → T?
-
Optional initial value to be displayed before the first animation.
final
-
itemBuilder
→ ItemBuilder<
T> -
Builder to construct widgets out of stream items.
final
-
itemStream
→ Stream<
T> -
Stream of items that will be built and flipped into view.
final
- key → Key?
-
Controls how one widget replaces another widget in the tree.
finalinherited
- maxAnimationMillis → int
-
Max animation duration for the generated random value.
final
- maxDelayMillis → int
-
Max flip delay for the generate random delay.
final
- minAnimationMillis → int
-
Minimum animation duration for the generated random value.
final
- rowCount → int
-
Number of rows of the display matrix.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- width → double
-
Whole widget width.
final
Methods
-
createElement(
) → StatefulElement -
Creates a StatefulElement to manage this widget's location in the tree.
inherited
-
createState(
) → State< FlipMatrixBoardStream< T> > -
Creates the mutable state for this widget at a given location in the tree.
override
-
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
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited