clear abstract method
Note: all elements below here should remain asynchronous to allow component tests to function properly. Clears the text of this element, if possible (e.g. for text fields).
focusBefore
indicates whether to focus this element before clearing.
blurAfter
indicates whether to blur this element after clearing.
Implementation
/// Clears the text of this element, if possible (e.g. for text fields).
///
/// [focusBefore] indicates whether to focus this element before clearing.
/// [blurAfter] indicates whether to blur this element after clearing.
Future<void> clear({bool focusBefore = true, bool blurAfter = true});