FormioComponentBuilder class abstract

Base interface for all Form.io component builders.

Implement this interface to create custom component builders that can be registered with the ComponentFactory.

Example:

class MyCustomComponentBuilder implements FormioComponentBuilder {
  @override
  Widget build(FormioComponentBuildContext context) {
    return MyCustomWidget(
      component: context.component,
      value: context.value,
      onChanged: context.onChanged,
    );
  }
}
Implementers

Constructors

FormioComponentBuilder()

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

build(FormioComponentBuildContext context) Widget
Builds the widget for this component.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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