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({double? width, double? height, EdgeInsetsGeometry? margin, EdgeInsetsGeometry? padding, TextStyle? textStyle, BoxDecoration? decoration, BoxConstraints? constraints})
Theme of the individual pin items for following states: default, focused pin, submitted pin, following pin, disabled pin and error pin
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
Merge two PinTheme into one
copyBorderWith({required Border border}) PinTheme
Create a new PinTheme from the current instance with new border
copyDecorationWith({Color? color, DecorationImage? image, BoxBorder? border, BorderRadiusGeometry? borderRadius, List<BoxShadow>? boxShadow, Gradient? gradient, BlendMode? backgroundBlendMode, BoxShape? shape}) PinTheme
Create a new PinTheme from the current instance with new decoration
copyWith({double? width, double? height, TextStyle? textStyle, BoxConstraints? constraints, BoxDecoration? decoration, EdgeInsetsGeometry? padding, EdgeInsetsGeometry? margin}) PinTheme
Create a new PinTheme from the current instance
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