TextField constructor

const TextField({
  1. Key? key,
  2. String? initialValue,
  3. Style? style,
  4. Style? focusedStyle,
  5. int width = 20,
  6. bool onSubmitted(
    1. String
    )?,
})

Implementation

const TextField({
  super.key,
  this.initialValue,
  this.style,
  this.focusedStyle,
  this.width = 20,
  this.onSubmitted,
});