File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed
packages/flutter/lib/src/material Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -647,7 +647,6 @@ class _DayPeriodControl extends StatelessWidget {
647
647
dayPeriodSize = defaultTheme.dayPeriodInputSize;
648
648
}
649
649
650
- final Widget result;
651
650
OutlinedBorder amShape = resolvedShape;
652
651
OutlinedBorder pmShape = resolvedShape;
653
652
final bool hasRoundedBorder =
@@ -700,7 +699,7 @@ class _DayPeriodControl extends StatelessWidget {
700
699
shape: pmShape,
701
700
);
702
701
703
- result = _DayPeriodInputPadding (
702
+ return _DayPeriodInputPadding (
704
703
minSize: minInteractiveSize,
705
704
orientation: orientation,
706
705
child: SizedBox .fromSize (
@@ -755,7 +754,7 @@ class _DayPeriodControl extends StatelessWidget {
755
754
shape: pmShape,
756
755
);
757
756
758
- result = _DayPeriodInputPadding (
757
+ return _DayPeriodInputPadding (
759
758
minSize: minInteractiveSize,
760
759
orientation: orientation,
761
760
child: SizedBox (
@@ -769,7 +768,6 @@ class _DayPeriodControl extends StatelessWidget {
769
768
),
770
769
);
771
770
}
772
- return result;
773
771
}
774
772
}
775
773
You can’t perform that action at this time.
0 commit comments