Compare commits

...

2 Commits

Author SHA1 Message Date
79dc34414c fix(ui_components): add loader to theme data (close #152)
All checks were successful
continuous-integration/drone/push Build is passing
2023-02-22 00:02:26 +00:00
349d1ae288 feat(ui_components): add new components to theme data (close #152) 2023-02-22 00:02:26 +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;
}