PinInputStyle constructor

PinInputStyle({
  1. bool obscureText = false,
  2. String obscureSymbol = '*',
  3. Duration duration = const Duration(milliseconds: 250),
  4. EdgeInsetsGeometry margin = const EdgeInsets.all(5),
  5. EdgeInsetsGeometry padding = const EdgeInsets.all(5),
  6. TextStyle? textStyle,
  7. Color? borderColor,
  8. Color? emptyBackground,
  9. Color? fullBackground,
  10. double width = 40,
  11. double height = 40,
  12. double borderWidth = 2,
  13. Radius? borderRadius = const Radius.circular(5),
  14. Alignment alignment = Alignment.center,
})

Implementation

PinInputStyle({
  this.obscureText      = false,
  this.obscureSymbol    = '*',
  this.duration         = const Duration(milliseconds: 250),
  this.margin           = const EdgeInsets.all(5),
  this.padding          = const EdgeInsets.all(5),
  this.textStyle,
  this.borderColor,
  this.emptyBackground,
  this.fullBackground,
  this.width            = 40,
  this.height           = 40,
  this.borderWidth      = 2,
  this.borderRadius     = const Radius.circular(5),
  this.alignment        = Alignment.center,
});