PlaceholderWidget constructor

const PlaceholderWidget({
  1. Key? key,
  2. required String label,
  3. bool isRequired = false,
  4. bool hasError = false,
  5. TextStyle? textStyle,
})

Implementation

const PlaceholderWidget({
  Key? key,
  required this.label,
  this.isRequired = false,
  this.hasError = false,
  this.textStyle,
}) : super(key: key);