PinTheme class
Theme of the individual pin items for following states: default, focused pin, submitted pin, following pin, disabled pin and error pin
Constructors
- PinTheme.new({double? width, double? height, EdgeInsetsGeometry? margin, EdgeInsetsGeometry? padding, TextStyle? textStyle, BoxDecoration? decoration, BoxConstraints? constraints})
-
const
Properties
- constraints → BoxConstraints?
-
Additional constraints to apply to the each field container.
properties
final
- decoration → BoxDecoration?
-
Box decoration of following properties of Pin item
You can customize every pixel with it
properties are being animated implicitly when value changes
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- height → double?
-
height of each Pinput field
final
- margin → EdgeInsetsGeometry?
-
Empty space to surround the Pinput field container.
final
- padding → EdgeInsetsGeometry?
-
Empty space to inscribe the Pinput field container.
For example space between border and text
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- textStyle → TextStyle?
-
The style to use for PinPut
If null, defaults to the
subhead
text style from the current Theme.final - width → double?
-
width of each Pinput field
final
Methods
-
apply(
{required PinTheme theme}) → PinTheme -
copyBorderWith(
{required Border border}) → PinTheme -
copyDecorationWith(
{Color? color, DecorationImage? image, BoxBorder? border, BorderRadiusGeometry? borderRadius, List< BoxShadow> ? boxShadow, Gradient? gradient, BlendMode? backgroundBlendMode, BoxShape? shape}) → PinTheme -
copyWith(
{double? width, double? height, TextStyle? textStyle, BoxConstraints? constraints, BoxDecoration? decoration, EdgeInsetsGeometry? padding, EdgeInsetsGeometry? margin}) → PinTheme -
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