GetText constructor

const GetText({
  1. required ValueChanged<String> onDone,
  2. Key? key,
  3. FormFieldValidator<String>? validator,
  4. String? text,
  5. String title = 'Enter Text',
  6. List<Widget> actions = const [],
  7. String labelText = 'Text',
  8. Widget? icon = const Icon(Icons.done_rounded),
})

Create an instance.

Implementation

const GetText({
  required this.onDone,
  super.key,
  this.validator,
  this.text,
  this.title = 'Enter Text',
  this.actions = const [],
  this.labelText = 'Text',
  this.icon = const Icon(Icons.done_rounded),
});