FluentAvatarGroupStyle class

The visual configuration of a FluentAvatarGroup.

Same shape as FluentAvatarStyle: nullable WidgetStateProperty fields that mean "inherit", merged defaults → subtree theme → the widget's own style.

Annotations

Constructors

FluentAvatarGroupStyle({WidgetStateProperty<double?>? spacing, WidgetStateProperty<Color?>? outlineColor, WidgetStateProperty<double?>? outlineWidth, WidgetStateProperty<Color?>? dividerColor, WidgetStateProperty<double?>? dividerWidth, WidgetStateProperty<BorderRadius?>? borderRadius, WidgetStateProperty<double?>? diameter})
Creates a style. Omitted properties inherit.
const

Properties

borderRadius WidgetStateProperty<BorderRadius?>?
The pie's own clip, and the outline radius in a stacked group.
final
diameter WidgetStateProperty<double?>?
One avatar's edge length. The pie is exactly this big; a spread or stacked group is this tall.
final
dividerColor WidgetStateProperty<Color?>?
The rule between two pie slices.
final
dividerWidth WidgetStateProperty<double?>?
Width of dividerColor.
final
hashCode int
The hash code for this object.
no setteroverride
outlineColor WidgetStateProperty<Color?>?
The ring each avatar takes in a stacked group, so an overlapped avatar still reads as a separate person.
final
outlineWidth WidgetStateProperty<double?>?
Width of outlineColor. Zero in the spread and pie layouts.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
spacing WidgetStateProperty<double?>?
Gap between neighbouring avatars. Negative for FluentAvatarGroupLayout.stack, which is how the overlap is expressed.
final

Methods

copyWith({WidgetStateProperty<double?>? spacing, WidgetStateProperty<Color?>? outlineColor, WidgetStateProperty<double?>? outlineWidth, WidgetStateProperty<Color?>? dividerColor, WidgetStateProperty<double?>? dividerWidth, WidgetStateProperty<BorderRadius?>? borderRadius, WidgetStateProperty<double?>? diameter}) FluentAvatarGroupStyle
This style with the given properties replaced.
merge(FluentAvatarGroupStyle? other) FluentAvatarGroupStyle
This style with the non-null properties of other layered on top.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

from({double? spacing, Color? outlineColor, double? outlineWidth, Color? dividerColor, double? dividerWidth, BorderRadius? borderRadius, double? diameter}) FluentAvatarGroupStyle
Convenience for the common case of one value across every state.