> 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/router-config-builder.md).

# RouterConfigBuilder

## Introduction

The `RouterConfigBuilder` class is designed to facilitate the construction of `material.RouterConfig<Object>` elements in a Flutter application. This class extends the `ElementBuilder` class, providing a streamlined approach to building router configurations based on the application's requirements.

## Class Definition

```dart
class RouterConfigBuilder extends ElementBuilder<material.RouterConfig<Object>> {
  RouterConfigBuilder(Application application) : super(application);

  @override
  material.RouterConfig<Object> build(Element element) {
    return application.make<RouterConfigBuilder>(element.type).build(element);
  }
}
```
