GroupAvatarStyle constructor

const GroupAvatarStyle({
  1. double size = 56.0,
  2. GroupAvatarMode mode = GroupAvatarMode.aligned,
  3. List<double> stackedReductionFactor = const [1.0, 1.25, 1.4, 1.5],
  4. Border? stackedBorder,
  5. GroupAvatarShape shape = GroupAvatarShape.rectangle,
  6. double borderRadius = 20.0,
  7. bool withSeparator = false,
  8. Color? separatorColor,
  9. 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");