SubTextEditingController.fromValue constructor

SubTextEditingController.fromValue({
  1. TextEditingValue? value,
  2. required SubValueBuild<TextEditingController> builder,
  3. SubValueKeys? keys,
})

Creates a TextEditingController from the initial value that will be disposed automatically.

Implementation

SubTextEditingController.fromValue({
  TextEditingValue? value,
  required super.builder,
  super.keys,
}) : super(
        create: () => TextEditingController.fromValue(value),
      );