MFlipper class

Cycles through children on a timer, without the app running.

Android only. RemoteViews permits ViewFlipper, which the system advances on its own — the one way to get continuously changing content in a widget. WidgetKit has no equivalent, so on iOS only the first child renders; use it for a rotating headline or stat, not for anything a user must be able to read in full.

Inheritance

Constructors

MFlipper(List<MNode> children, {Duration interval = const Duration(seconds: 4)})
const

Properties

children List<MNode>
final
hashCode int
The hash code for this object.
no setterinherited
interval Duration
How long each child stays visible.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
override
toString() String
A string representation of this object.
inherited

Operators

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