Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

PageBuilder

Introduction

The PageBuilder class is designed to facilitate the construction of material.Page elements in a Flutter application. This class extends the ElementBuilder class, providing a streamlined approach to building pages based on the application's requirements.

Class Definition

class PageBuilder extends ElementBuilder<material.Page> {
  PageBuilder(Application application) : super(application);

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

Last updated