TimePickerHandlerDecoration class
used to decorate our init or end handler of time picker
Constructors
Properties
- border → Border?
-
Helps to define which border you want to apply to the handler shape
final
- color → Color
-
handler default color
final
- handlerOutterRadius → double
-
if a value is provided it must be bigger than this.radius otherwise it will not draw the expected effect
the outter handler will only get draw when this.showHandlerOutter = true.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- icon → Icon?
-
{@tool icon}
The icon to display on top of the handler
if The Icon.size is not provided the default is 30
final
- radius → double
-
default handler radius = 8
when using shape = rectangle, the rect will get generated from Rect.fromCircle
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- shadow → BoxShadow?
-
optional shadow which will get apply to the handler, if not provided there handler will get draw without shadow
final
- shape → BoxShape
-
shape defines the handler default shape could be a square or circle
default shape is circle
final
- showHandler → bool
-
final
- showHandlerOutter → bool
-
{@tool snippet}
draw a outter container for the handler, the outter shape could be either a rectangle or circle
the shape will always match the default handler shape which is control by using the this.shape
default value is always false unless defined
if set to true then the handlerOutterRadius also needs to get set unless you want to use the default value
showHandlerOutter enable then both this.shadow and this.icon are expected to be null.
we are keeping this as backwards compatibility since similar effect could be generate by using
final
- useRoundedPickerCap → bool
-
final
Methods
-
copyWith(
{BoxShape? shape, Icon? icon, Color? color, BoxShadow? shadow, double? radius, Border? border, double? handlerOutterRadius, bool? showRoundedCapInSelection}) → TimePickerHandlerDecoration -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
paint(
Canvas canvas, Offset center) → void -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited