style: dart format fix
This commit was merged in pull request #176.
This commit is contained in:
@@ -38,7 +38,7 @@ class NavigationItem extends StatelessWidget {
|
||||
context
|
||||
.themeExtension<TopBarThemeExtension>()
|
||||
?.selectedIndicatorHeight,
|
||||
// TODO: move default value
|
||||
// TODO(wyatt): move default value
|
||||
5,
|
||||
],
|
||||
valueValidator: (value) => value != null,
|
||||
@@ -49,7 +49,7 @@ class NavigationItem extends StatelessWidget {
|
||||
context
|
||||
.themeExtension<TopBarThemeExtension>()
|
||||
?.selectedIndicatorWidth,
|
||||
// TODO: move default value
|
||||
// TODO(wyatt): move default value
|
||||
70,
|
||||
],
|
||||
valueValidator: (value) => value != null,
|
||||
@@ -72,16 +72,17 @@ class NavigationItem extends StatelessWidget {
|
||||
ConstrainedBox(
|
||||
constraints: BoxConstraints(
|
||||
minWidth: ThemeHelper.getThemeElement<double, double>(
|
||||
[
|
||||
context
|
||||
.themeExtension<TopBarThemeExtension>()
|
||||
?.selectedIndicatorWidth,
|
||||
// TODO: move default value
|
||||
70,
|
||||
],
|
||||
valueValidator: (value) => value != null,
|
||||
transform: (value) => value,
|
||||
) ?? double.infinity,
|
||||
[
|
||||
context
|
||||
.themeExtension<TopBarThemeExtension>()
|
||||
?.selectedIndicatorWidth,
|
||||
// TODO(wyatt): move default value
|
||||
70,
|
||||
],
|
||||
valueValidator: (value) => value != null,
|
||||
transform: (value) => value,
|
||||
) ??
|
||||
double.infinity,
|
||||
),
|
||||
child: SizedBox(
|
||||
height: 50,
|
||||
|
||||
Reference in New Issue
Block a user