selectAllEnabled property
bool
selectAllEnabled
override
Whether select all is enabled.
Implementation
@override
bool get selectAllEnabled =>
textEditingValue.text.isNotEmpty &&
!(textEditingValue.selection.baseOffset == 0 &&
textEditingValue.selection.extentOffset ==
textEditingValue.text.length);