SimpField constructor
const
SimpField({
- Key? key,
- String hintText = '',
- required TextEditingController controller,
- TextAlign textAlign = TextAlign.left,
- bool isNum = false,
- required double width,
- double height = 35,
- bool isFilled = true,
- TextStyle textStyle = const TextStyle(),
- EdgeInsets contentPadding = const EdgeInsets.symmetric(horizontal: 5),
- Color fillColor = Colors.white,
- double borderRadius = 5,
- bool obscureText = false,
Implementation
const SimpField({
super.key,
this.hintText = '',
required this.controller,
this.textAlign = TextAlign.left,
this.isNum = false,
required this.width,
this.height = 35,
this.isFilled = true,
this.textStyle = const TextStyle(),
this.contentPadding = const EdgeInsets.symmetric(horizontal: 5),
this.fillColor = Colors.white,
this.borderRadius = 5,
this.obscureText = false,
});