PinInputStyle constructor
PinInputStyle({
- bool obscureText = false,
- String obscureSymbol = '*',
- Duration duration = const Duration(milliseconds: 250),
- EdgeInsetsGeometry margin = const EdgeInsets.all(5),
- EdgeInsetsGeometry padding = const EdgeInsets.all(5),
- TextStyle? textStyle,
- Color? borderColor,
- Color? emptyBackground,
- Color? fullBackground,
- double width = 40,
- double height = 40,
- double borderWidth = 2,
- Radius? borderRadius = const Radius.circular(5),
- 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,
});