> For the complete documentation index, see [llms.txt](https://docs.flutterping.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.flutterping.com/element-builder/widget-builder.md).

# WidgetBuilder

## Introduction

The `WidgetBuilder` class is a crucial component designed to facilitate the building of `material.Widget` elements in a Flutter application. This class extends the `ElementBuilder` class, providing a streamlined approach to constructing widgets based on the application's requirements.

## Class Definition

```dart
class WidgetBuilder extends ElementBuilder<material.Widget> {
  WidgetBuilder(Application application) : super(application);

  @override
  material.Widget build(Element element) {
    return application
        .make<WidgetBuilder>(element.type)
        .build(Element.fromJson(element.data));
  }
}
```
