CircleAvatarParams class

Immutable parameters holder for circle avatar marker.

Annotations
  • @freezed

Constructors

CircleAvatarParams({required Color color, @Default(30) int radius, @Default(4) int borderWidth, @Default(6) int dotRadius, @Default(4) int spacing})
Creates new parameter holder.
const
factory

Properties

borderWidth int
Border width of the circle avatar.
no setterinherited
color Color
Color of the marker border. It will be applied to the border of the circle avatar and the dot below.
no setterinherited
copyWith → $CircleAvatarParamsCopyWith<CircleAvatarParams>
no setterinherited
dotRadius int
Radius of dot below the circle avatar.
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
keyPrefix String
Generates the prefix for cache key of the marker.
no setter
radius int
Radius of the circle avatar. Containing border width.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
spacing int
Spacing between the dot and the circle avatar.
no setterinherited

Methods

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.
inherited