SimpField constructor

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