RestorableTextEditingController.fromValue constructor Null safety

RestorableTextEditingController.fromValue(
  1. TextEditingValue value
)

Creates a RestorableTextEditingController from an initial TextEditingValue.

This constructor treats a null value argument as if it were TextEditingValue.empty.

Implementation

RestorableTextEditingController.fromValue(TextEditingValue value) : _initialValue = value;