feat(ui_components): add top navigation bar component to theme data

This commit is contained in:
Malo Léon 2023-02-22 11:24:30 +01:00 committed by Hugo Pointcheval
parent 8064c953e3
commit 6d1515e3f7
Signed by: hugo
GPG Key ID: 3AAC487E131E00BC

View File

@ -19,6 +19,7 @@ import 'package:wyatt_ui_components/src/domain/entities/entities.dart';
class ComponentThemeData { class ComponentThemeData {
const ComponentThemeData.raw({ const ComponentThemeData.raw({
this.appBar, this.appBar,
this.topNavigationBarComponent,
this.bottomNavigationBar, this.bottomNavigationBar,
this.errorWidget, this.errorWidget,
this.loadingWidget, this.loadingWidget,
@ -35,7 +36,10 @@ class ComponentThemeData {
this.skillCardComponent, this.skillCardComponent,
}); });
final AppBarComponent? appBar; final AppBarComponent? appBar;
final TopNavigationBarComponent? topNavigationBarComponent;
final BottomNavigationBarComponent? bottomNavigationBar; final BottomNavigationBarComponent? bottomNavigationBar;
final ErrorWidgetComponent? errorWidget; final ErrorWidgetComponent? errorWidget;
final LoadingWidgetComponent? loadingWidget; final LoadingWidgetComponent? loadingWidget;
final LoaderComponent? loaderComponent; final LoaderComponent? loaderComponent;