mirror of
https://github.com/gabehf/Fladder.git
synced 2026-03-15 02:05:58 -07:00
fix: Undo removing of default values in constructors
This commit is contained in:
parent
666f831053
commit
5530c6fd0c
6 changed files with 17 additions and 10 deletions
|
|
@ -16,7 +16,7 @@ abstract class HomeSettingsModel with _$HomeSettingsModel {
|
|||
factory HomeSettingsModel({
|
||||
@Default({...LayoutMode.values}) Set<LayoutMode> screenLayouts,
|
||||
@Default({...ViewSize.values}) Set<ViewSize> layoutStates,
|
||||
required HomeBanner homeBanner,
|
||||
@Default(HomeBanner.carousel) HomeBanner homeBanner,
|
||||
@Default(HomeCarouselSettings.combined) HomeCarouselSettings carouselSettings,
|
||||
@Default(HomeNextUp.separate) HomeNextUp nextUp,
|
||||
}) = _HomeSettingsModel;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue