CircularWidgetConfig class

Constructors

CircularWidgetConfig({double itemRadius = 100, double centerWidgetRadius = 150, double innerSpacing = 10, double startAngleDeg = -90, double totalArchDeg = 360, bool isClockwise = true, bool isAddExtraFakeItem = true, CircularLayoutDrawOrder drawOrder = CircularLayoutDrawOrder.itemsOnTop})
const

Properties

centerWidgetRadius double
Radius of the center widget
final
drawOrder CircularLayoutDrawOrder
drawOrder
final
hashCode int
The hash code for this object.
no setterinherited
innerSpacing double
Space between inner circle and outer circles
final
isAddExtraFakeItem bool
Set this to true to prevent overlapping the first and last item in a 360 deg arch
final
isClockwise bool
Draw items clockwise
final
itemRadius double
Radius of the outer item
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
startAngleDeg double
Where to start drawing the first item (0 refers to the right axis)
final
totalArchDeg double
The total arch angle (in degrees), 360 by default to fill entire widget
final
totalRadius double
total radius of the entire widget
no setter

Methods

copyWith({double? itemRadius, double? centerWidgetRadius, double? innerSpacing, double? startAngleDeg, double? totalArchDeg, bool? isClockwise, bool? isAddExtraFakeItem, CircularLayoutDrawOrder? drawOrder}) CircularWidgetConfig
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