ui_components/feat/add-new-components-to-theme-data #154

Merged
hugo merged 2 commits from ui_components/feat/add-new-components-to-theme-data into master 2023-02-22 00:02:27 +00:00

View File

@ -17,15 +17,41 @@
import 'package:wyatt_ui_components/src/domain/entities/entities.dart';
class ComponentThemeData {
const ComponentThemeData.raw({
this.appBar,
this.bottomNavigationBar,
this.errorWidget,
this.loadingWidget,
this.loaderComponent,
this.richTextBuilderComponent,
this.textInputComponent,
this.fileSelectionButtonComponent,
this.flatButtonComponent,
this.simpleIconButtonComponent,
this.symbolButtonComponent,
this.informationCardComponent,
this.portfolioCardComponent,
this.quoteCardComponent,
this.skillCardComponent,
});
final AppBarComponent? appBar;
final BottomNavigationBarComponent? bottomNavigationBar;
final ErrorWidgetComponent? errorWidget;
final LoadingWidgetComponent? loadingWidget;
final LoaderComponent? loaderComponent;
final RichTextBuilderComponent? richTextBuilderComponent;
final TextInputComponent? textInputComponent;
// Buttons
final FileSelectionButtonComponent? fileSelectionButtonComponent;
final FlatButtonComponent? flatButtonComponent;
final SimpleIconButtonComponent? simpleIconButtonComponent;
final SymbolButtonComponent? symbolButtonComponent;
// Cards
final InformationCardComponent? informationCardComponent;
final PortfolioCardComponent? portfolioCardComponent;
final QuoteCardComponent? quoteCardComponent;
final SkillCardComponent? skillCardComponent;
}