Tweak scroll label style

This commit is contained in:
Ming Ming 2022-07-17 03:24:36 +08:00
parent 799594443b
commit db9ba1f96c

View file

@ -165,7 +165,7 @@ class _HomePhotosState extends State<HomePhotos>
topOffset: _calcAppBarExtent(context), topOffset: _calcAppBarExtent(context),
bottomOffset: _calcBottomAppBarExtent(context), bottomOffset: _calcBottomAppBarExtent(context),
labelTextBuilder: (_) => _buildScrollLabel(context), labelTextBuilder: (_) => _buildScrollLabel(context),
labelPadding: const EdgeInsets.symmetric(horizontal: 24), labelPadding: const EdgeInsets.symmetric(horizontal: 40),
child: ScrollConfiguration( child: ScrollConfiguration(
behavior: ScrollConfiguration.of(context) behavior: ScrollConfiguration.of(context)
.copyWith(scrollbars: false), .copyWith(scrollbars: false),
@ -365,6 +365,7 @@ class _HomePhotosState extends State<HomePhotos>
text, text,
style: const TextStyle( style: const TextStyle(
color: AppTheme.primaryTextColorLight, color: AppTheme.primaryTextColorLight,
fontSize: 16,
), ),
), ),
); );