SonrTextInput constructor Null safety

const SonrTextInput(
  1. {Key? key,
  2. String? label,
  3. String? hintText,
  4. TextEditingController? controller,
  5. bool? obscureText,
  6. VoidCallback? suffixOnPress,
  7. Icon? suffixIcon,
  8. VoidCallback? prefixOnPress,
  9. Icon? prefixIcon}
)

Implementation

const SonrTextInput({
  super.key,
  this.label,
  this.hintText,
  this.controller,
  this.obscureText,
  this.suffixOnPress,
  this.suffixIcon,
  this.prefixOnPress,
  this.prefixIcon,
});