Polish adaptive app chrome
This commit is contained in:
@@ -254,10 +254,10 @@ class SegmentedBar extends StatelessWidget
|
||||
end: Alignment.bottomCenter,
|
||||
colors: [
|
||||
background,
|
||||
background.withValues(alpha: background.a * 0.85),
|
||||
background.withValues(alpha: background.a * 0.95),
|
||||
background.withValues(alpha: 0),
|
||||
],
|
||||
stops: const [0, 0.45, 1],
|
||||
stops: const [0, 0.5, 1],
|
||||
),
|
||||
),
|
||||
),
|
||||
|
||||
@@ -120,7 +120,8 @@ class SegmentedTitlePill extends StatelessWidget {
|
||||
fontWeight: FontWeight.w600,
|
||||
color: foreground,
|
||||
);
|
||||
subtitleStyle = text.tabLabelTextStyle.copyWith(
|
||||
subtitleStyle = text.textStyle.copyWith(
|
||||
fontSize: 13,
|
||||
color:
|
||||
foreground ?? CupertinoColors.secondaryLabel.resolveFrom(context),
|
||||
);
|
||||
|
||||
@@ -111,7 +111,7 @@ class StickySectionTitle extends StatelessWidget {
|
||||
),
|
||||
);
|
||||
final row = Padding(
|
||||
padding: const EdgeInsetsDirectional.only(start: 13, end: 8),
|
||||
padding: const EdgeInsetsDirectional.only(start: 16, end: 8),
|
||||
child: Row(
|
||||
children: [
|
||||
Expanded(
|
||||
|
||||
Reference in New Issue
Block a user