TemplateBuilder constructor
TemplateBuilder({
- required Widget childBuilder(
- BuildContext context,
- DeviceScreenType type
- required Widget drawerBuilder(
- BuildContext context,
- DeviceScreenType type
- required AppBar appBarBuilder(
- BuildContext context,
- DeviceScreenType type
- Widget topBuilder(
- BuildContext context,
- DeviceScreenType type
- Widget bottomBuilder(
- BuildContext context,
- DeviceScreenType type
- Widget topInnerBuilder(
- BuildContext context,
- DeviceScreenType type
- Widget bottomInnerBuilder(
- BuildContext context,
- DeviceScreenType type
- bool disable = false,
- EdgeInsets padding = const EdgeInsets.all(16),
Implementation
TemplateBuilder({
required this.childBuilder,
required this.drawerBuilder,
required this.appBarBuilder,
this.topBuilder,
this.bottomBuilder,
this.topInnerBuilder,
this.bottomInnerBuilder,
this.disable: false,
this.padding: const EdgeInsets.all(16),
});