PinButtonStyle constructor

PinButtonStyle({
  1. BoxShadow? shadow,
  2. BoxShadow? overShadow,
  3. Duration duration = const Duration(milliseconds: 250),
  4. double width = 40,
  5. double? overWidth,
  6. double height = 40,
  7. double? overHeight,
  8. EdgeInsetsGeometry margin = const EdgeInsets.all(5),
  9. EdgeInsetsGeometry? overMargin,
  10. EdgeInsetsGeometry padding = const EdgeInsets.all(5),
  11. EdgeInsetsGeometry? overPadding,
  12. Color? borderColor,
  13. Color? overBorderColor,
  14. Color? background,
  15. Color? overBackground,
  16. double borderWidth = 2,
  17. double? overBorderWidth,
  18. TextStyle? numberStyle,
  19. TextStyle? numberOverStyle,
  20. PinIconStyle? iconStyle,
  21. PinIconStyle? iconOverStyle,
  22. Radius? borderRadius = const Radius.circular(5),
  23. Radius? overBorderRadius,
  24. Alignment alignment = Alignment.center,
  25. Alignment? overAlignment,
  26. IconData leftIcon = Icons.fingerprint_outlined,
  27. 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
});