Input.withTheme constructor

Input.withTheme({
  1. required String prompt,
  2. required Theme theme,
  3. bool validator(
    1. String
    )?,
  4. String initialText = '',
  5. String? defaultValue,
})

Constructs an Input component with the supplied theme.

Implementation

Input.withTheme({
  required this.prompt,
  required this.theme,
  this.validator,
  this.initialText = '',
  this.defaultValue,
});