interface ViewBuilder
An interface for objects that build pre-configured view instances.
interface ViewBuilder<TView extends View = View>;
Description
Classes that extend this type (such as UIButton.ButtonBuilder) typically provide a fluent interface for creating and configuring views. They use a ViewBuilder.Initializer to configure the initialization logic, including property setting, binding, event handling, and initialization callbacks (e.g. for adding content to container views), and expose this functionality using methods on the builder class.
Type members
class Initializer static
A class that handles the initialization and configuration of views, as part of a view builder.
Instance members
build()
Creates a new instance of the view using the embedded initializer.
Related
Widget.builder() static
Creates a widget builder for this class.
