PinButtonStyle constructor
PinButtonStyle({
- BoxShadow? shadow,
- BoxShadow? overShadow,
- Duration duration = const Duration(milliseconds: 250),
- double width = 40,
- double? overWidth,
- double height = 40,
- double? overHeight,
- EdgeInsetsGeometry margin = const EdgeInsets.all(5),
- EdgeInsetsGeometry? overMargin,
- EdgeInsetsGeometry padding = const EdgeInsets.all(5),
- EdgeInsetsGeometry? overPadding,
- Color? borderColor,
- Color? overBorderColor,
- Color? background,
- Color? overBackground,
- double borderWidth = 2,
- double? overBorderWidth,
- TextStyle? numberStyle,
- TextStyle? numberOverStyle,
- PinIconStyle? iconStyle,
- PinIconStyle? iconOverStyle,
- Radius? borderRadius = const Radius.circular(5),
- Radius? overBorderRadius,
- Alignment alignment = Alignment.center,
- Alignment? overAlignment,
- IconData leftIcon = Icons.fingerprint_outlined,
- IconData rightIcon = Icons.backspace_outlined,
Implementation
PinButtonStyle({
this.shadow,
this.overShadow,
this.duration = const Duration(milliseconds: 250),
this.width = 40,
this.overWidth,
this.height = 40,
this.overHeight,
this.margin = const EdgeInsets.all(5),
this.overMargin,
this.padding = const EdgeInsets.all(5),
this.overPadding,
this.borderColor,
this.overBorderColor,
this.background,
this.overBackground,
this.borderWidth = 2,
this.overBorderWidth,
this.numberStyle,
this.numberOverStyle,
this.iconStyle,
this.iconOverStyle,
this.borderRadius = const Radius.circular(5),
this.overBorderRadius,
this.alignment = Alignment.center,
this.overAlignment,
this.leftIcon = Icons.fingerprint_outlined,
this.rightIcon = Icons.backspace_outlined
});