The PageBuilderExtensions class provides a set of helper methods to make building app models with pages and UI components easier.
It offers shortcuts for creating commonly used components such as containers, buttons, inputs, and property bindings, so you can focus on structuring your page logic instead of writing repetitive setup code.
⚠️ Note
This code is not part of Bloqs itself.
It belongs to the sample app provided as an example of how you can structure your own extensions.
You are encouraged to extend it, customize it, and add your own utility methods to better fit the needs of your application.
This creates a vertical container with a header, a required text input, and a button linked to a logic block.
Full Source Code
With these extensions, building app models becomes more concise and maintainable, while still giving you the flexibility to extend and adapt the approach to your own applications.