LabelField constructor

const LabelField({
  1. Key? key,
  2. String hintText = '',
  3. required TextEditingController controller,
  4. TextAlign textAlign = TextAlign.left,
  5. bool isNum = false,
  6. required String label,
  7. required double wid1,
  8. required double wid2,
  9. double hei1 = 35,
  10. double hei2 = 35,
  11. bool isFilled = true,
  12. TextStyle textStyle = const TextStyle(),
  13. EdgeInsets contentPadding = const EdgeInsets.symmetric(horizontal: 5),
  14. Color fillColor = Colors.white,
  15. double borderRadius = 5,
  16. 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,
});