RenderTextField constructor

RenderTextField({
  1. required String text,
  2. required int cursorPosition,
  3. String? placeholder,
  4. TextStyle? style,
  5. required bool hasFocus,
})

Creates a RenderTextField with the given text and display configuration.

Implementation

RenderTextField({
  required this.text,
  required this.cursorPosition,
  this.placeholder,
  this.style,
  required this.hasFocus,
});