interface Widget.Builder
A builder interface for widgets created by Widget.builder().
interface Builder<TView extends Widget = Widget> extends ViewBuilder<TView>;
Description
This interface defines the structure of the builder object returned by the static builder() method on Widget subclasses. It provides a fluent interface for configuring widget instances.
Instance members
initializer
The initializer instance that handles view configuration.build()
Creates a new instance of the widget along with its body.apply()
Applies a view builder function, returning its result.extend()
Extends this builder with custom methods, returning a new builder object.
Related
class Widget
A base class that represents a reusable UI component with encapsulated state.
