TestDocumentSelector class

Selects a Document configuration when composing a SuperReader widget in a test.

Each document selection returns a TestDocumentConfigurator, which is used to complete the configuration, and to pump the SuperReader.

Constructors

TestDocumentSelector(WidgetTester _widgetTester)
const

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

fromMarkdown(String markdown) TestDocumentConfigurator
Configures the editor with a Document that's parsed from the given markdown.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
withCustomContent(MutableDocument document) TestDocumentConfigurator
withLongTextContent() TestDocumentConfigurator
withSingleEmptyParagraph() TestDocumentConfigurator
withSingleParagraph() TestDocumentConfigurator
withSingleParagraphShort() TestDocumentConfigurator
withTwoEmptyParagraphs() TestDocumentConfigurator

Operators

operator ==(Object other) bool
The equality operator.
inherited