ui_components/feat/add-new-components-to-theme-data #154
| @ -17,15 +17,41 @@ | |||||||
| import 'package:wyatt_ui_components/src/domain/entities/entities.dart'; | 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.bottomNavigationBar, |     this.bottomNavigationBar, | ||||||
|     this.errorWidget, |     this.errorWidget, | ||||||
|     this.loadingWidget, |     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 AppBarComponent? appBar; | ||||||
|   final BottomNavigationBarComponent? bottomNavigationBar; |   final BottomNavigationBarComponent? bottomNavigationBar; | ||||||
|   final ErrorWidgetComponent? errorWidget; |   final ErrorWidgetComponent? errorWidget; | ||||||
|   final LoadingWidgetComponent? loadingWidget; |   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; | ||||||
| } | } | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user