TemplateBuilder constructor

TemplateBuilder({
  1. required Widget childBuilder(
    1. BuildContext context,
    2. DeviceScreenType type
    ),
  2. required Widget drawerBuilder(
    1. BuildContext context,
    2. DeviceScreenType type
    ),
  3. required AppBar appBarBuilder(
    1. BuildContext context,
    2. DeviceScreenType type
    ),
  4. Widget topBuilder(
    1. BuildContext context,
    2. DeviceScreenType type
    )?,
  5. Widget bottomBuilder(
    1. BuildContext context,
    2. DeviceScreenType type
    )?,
  6. Widget topInnerBuilder(
    1. BuildContext context,
    2. DeviceScreenType type
    )?,
  7. Widget bottomInnerBuilder(
    1. BuildContext context,
    2. DeviceScreenType type
    )?,
  8. bool disable = false,
  9. 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),
});