AnimatedHiblob class

An animated hiblob: seeded breathe, bob, blinks, and glances.

AnimatedHiblob(
  name: user.email,
  size: 120,
  animation: HiblobAnimation.always,
  options: const HiblobOptions(expression: thinking),
)

With HiblobAnimation.hover, ambient motion ramps in while a pointer is over the widget and idles out when it leaves — the right default in lists, where every row would otherwise be moving at once.

Set active to false when the widget is known to be off-screen. The widget follows TickerMode, and when the platform requests reduced motion (MediaQueryData.disableAnimations) it paints the motionless frame instead; opt out with respectReducedMotion only if the application offers an equivalent control.

Expression (and name) changes crossfade between the old and new figure.

Inheritance

Constructors

AnimatedHiblob({Key? key, required String name, double? size, HiblobOptions options = const HiblobOptions(), HiblobAnimation animation = HiblobAnimation.always, bool active = true, bool respectReducedMotion = true, String? semanticLabel})
Creates an animated hiblob.
const

Properties

active → bool
Whether animation time advances; set false when off-screen.
final
animation → HiblobAnimation
The ambient motion mode.
final
hashCode → int
The hash code for this object.
no setterinherited
key → Key?
Controls how one widget replaces another widget in the tree.
finalinherited
name → String
The name this hiblob stands for.
final
options → HiblobOptions
Color, trait, and expression options.
final
respectReducedMotion → bool
Whether MediaQueryData.disableAnimations freezes the figure.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
semanticLabel → String?
The assistive-technology label, if any.
final
size → double?
A fixed square edge, or null to fill the constraints.
final

Methods

createElement() → StatefulElement
Creates a StatefulElement to manage this widget's location in the tree.
inherited
createState() → State<AnimatedHiblob>
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, 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

Operators

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