PanelKitPage constructor
PanelKitPage({
- Key? key,
- required String title,
- Widget builder(
- BuildContext context,
- PanelKitController controller
- List<
PanelKitPageTab> ? tabs, - bool showLoadingIndicator = false,
- Widget? header,
Implementation
PanelKitPage({
super.key,
required super.title,
this.builder,
this.tabs,
this.showLoadingIndicator = false,
this.header,
}) {
if (tabs == null && builder == null)
throw Exception("Tabs or builder is required");
if (tabs != null && builder != null)
throw Exception("Cant have both tabs and builder");
}