Skip to content

Commit a8169f2

Browse files
committed
Update separator inset
1 parent 5a59efc commit a8169f2

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

packages/flutter/lib/src/cupertino/sliding_segmented_control.dart

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,10 +41,8 @@ const CupertinoDynamicColor _kThumbColor = CupertinoDynamicColor.withBrightness(
4141
darkColor: Color(0xFF636366),
4242
);
4343

44-
// The height of the separator.
45-
const double _kSeparatorHeight = 18.0;
4644
// The amount of space by which to inset each separator.
47-
const EdgeInsets _kSeparatorInset = EdgeInsets.symmetric(vertical: (_kMinSegmentedControlHeight - _kSeparatorHeight) / 2);
45+
const EdgeInsets _kSeparatorInset = EdgeInsets.symmetric(vertical: 5);
4846
const double _kSeparatorWidth = 1;
4947
const Radius _kSeparatorRadius = Radius.circular(_kSeparatorWidth / 2);
5048

0 commit comments

Comments
 (0)