mirror of
https://github.com/gabehf/Fladder.git
synced 2026-03-16 10:46:00 -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
|
|
@ -279,7 +279,7 @@ class _HomeSettingsModel extends HomeSettingsModel {
|
|||
_HomeSettingsModel(
|
||||
{final Set<LayoutMode> screenLayouts = const {...LayoutMode.values},
|
||||
final Set<ViewSize> layoutStates = const {...ViewSize.values},
|
||||
required this.homeBanner,
|
||||
this.homeBanner = HomeBanner.carousel,
|
||||
this.carouselSettings = HomeCarouselSettings.combined,
|
||||
this.nextUp = HomeNextUp.separate})
|
||||
: _screenLayouts = screenLayouts,
|
||||
|
|
@ -307,6 +307,7 @@ class _HomeSettingsModel extends HomeSettingsModel {
|
|||
}
|
||||
|
||||
@override
|
||||
@JsonKey()
|
||||
final HomeBanner homeBanner;
|
||||
@override
|
||||
@JsonKey()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue