LabelField constructor
const
LabelField({
- Key? key,
- String hintText = '',
- required TextEditingController controller,
- TextAlign textAlign = TextAlign.left,
- bool isNum = false,
- required String label,
- required double wid1,
- required double wid2,
- double hei1 = 35,
- double hei2 = 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 LabelField({
super.key,
this.hintText = '',
required this.controller,
this.textAlign = TextAlign.left,
this.isNum = false,
required this.label,
required this.wid1,
required this.wid2,
this.hei1 = 35,
this.hei2 = 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,
});