AccessibilityAddon class
A WidgetbookAddon for inspecting a. It's based on the
accessibility_tools
package.
- Inheritance
-
- Object
- FieldsComposable<
void> - WidgetbookAddon<
void> - BuilderAddon
- AccessibilityAddon
- Annotations
-
- @Deprecated('Please use the `accessibility_tools` package directly with a `BuilderAddon`. ' 'For more information, see https://docs.widgetbook.io/addons/accessibility-addon.')
Constructors
Properties
- builder → Widget Function(BuildContext context, Widget child)
-
finalinherited
-
fields
→ List<
Field> -
no setterinherited
- groupName → String
-
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- initialSetting → void
-
finalinherited
- name → String
-
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
buildFields(
BuildContext context) → Widget -
Converts the fields into a Widget that will be rendered in the
settings side panel.
inherited
-
buildUseCase(
BuildContext context, Widget child, void setting) → Widget -
Wraps use cases with a custom widget depending on the addon
setting
that is obtained from valueFromQueryGroup.inherited -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
slugify(
String name) → String -
inherited
-
toJson(
) → Map< String, dynamic> -
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
valueFromQueryGroup(
Map< String, String> group) → void -
Converts a query group to a value of type
T
.inherited -
valueOf<
TField> (String name, Map< String, String> group) → TField? -
Decodes the value of the Field with
name
from the querygroup
using the FieldCodec.toValue from Field.codec.inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited