GroupAvatarStyle constructor
const
GroupAvatarStyle({
- double size = 56.0,
- GroupAvatarMode mode = GroupAvatarMode.aligned,
- List<
double> stackedReductionFactor = const [1.0, 1.25, 1.4, 1.5], - Border? stackedBorder,
- GroupAvatarShape shape = GroupAvatarShape.rectangle,
- double borderRadius = 20.0,
- bool withSeparator = false,
- Color? separatorColor,
- double separatorThickness = 1.5,
Implementation
const GroupAvatarStyle(
{this.size = 56.0,
this.mode = GroupAvatarMode.aligned,
this.stackedReductionFactor = const [1.0, 1.25, 1.4, 1.5],
this.stackedBorder,
this.shape = GroupAvatarShape.rectangle,
this.borderRadius = 20.0,
this.withSeparator = false,
this.separatorColor,
this.separatorThickness = 1.5})
: assert(
stackedReductionFactor.length == 4, "The list must have 4 values");