super_editor_test library
Classes
- ConfiguredSuperEditorWidget
- CurrentPlatform
- DocumentEqualsMarkdownMatcher
- EquivalentDocumentMatcher
- EquivalentQuillDocumentMatcher
- ExpandingTaskComponent
- A task component which expands its height when it's selected.
- ExpandingTaskComponentBuilder
- Builds TaskComponentViewModels and ExpandingTaskComponents for every TaskNode in a document.
- FakeDocumentLayout
- Fake DocumentLayout, intended for tests that interact with a logical DocumentLayout but do not depend upon a real widget tree with a real DocumentLayout implementation.
- FakeImageComponentBuilder
- A ComponentBuilder which builds an ImageComponent that always renders images as a SizedBox with the given size.
- FakeSuperEditorScroller
-
Fake
SuperEditorScroll, intended for tests that interact with logical resources but do not depend upon a real widget tree with a realScrollable. - StandardEditorPieces
- SuperEditorInspector
- Inspects a given SuperEditor in the widget tree.
- SuperEditorTestConfiguration
- TestDocumentContext
- TestDocumentSelector
- Selects a Document configuration when composing a SuperEditor widget in a test.
- TestSuperEditorConfigurator
- Builder that configures and pumps a SuperEditor widget.
Enums
Extensions
- DocumentTester on WidgetTester
- Extensions on WidgetTester that configure and pump SuperEditor document editors.
- SuperEditorRobot on WidgetTester
- Extensions on WidgetTester for interacting with a SuperEditor the way a user would.
Properties
- debugIsWebOverride ↔ WebPlatformOverride?
-
Overrides the value of CurrentPlatform.isWeb.
getter/setter pair
Functions
-
documentEquivalentTo(
Document expectedDocument) → Matcher -
equalsMarkdown(
String markdown) → Matcher -
imeClientGetter(
[Finder? finder]) → DeltaTextInputClient - Provides access to an IME client, to simulate IME input within a test.
-
quillDocumentEquivalentTo(
Delta expectedDocument) → Matcher -
Creates a Matcher that compares an actual Quill
Deltadocument to the givenexpectedDocument.
Typedefs
- WidgetTreeBuilder = Widget Function(Widget superEditor)
-
Must return a widget tree containing the given
superEditor