mirror of
https://gitlab.com/famedly/fluffychat.git
synced 2024-12-25 15:02:33 +01:00
change: AppBar elevation
This commit is contained in:
parent
a746d14d0e
commit
5859b7cc55
@ -67,6 +67,7 @@ abstract class FluffyThemes {
|
||||
fillColor: lighten(AppConfig.primaryColor, .51),
|
||||
),
|
||||
appBarTheme: AppBarTheme(
|
||||
elevation: 1,
|
||||
brightness: Brightness.light,
|
||||
color: Colors.white,
|
||||
textTheme: TextTheme(
|
||||
@ -116,6 +117,7 @@ abstract class FluffyThemes {
|
||||
),
|
||||
),
|
||||
appBarTheme: AppBarTheme(
|
||||
elevation: 1,
|
||||
brightness: Brightness.dark,
|
||||
color: Color(0xff1D1D1D),
|
||||
textTheme: TextTheme(
|
||||
|
@ -194,6 +194,7 @@ class _ChatDetailsState extends State<ChatDetails> {
|
||||
headerSliverBuilder:
|
||||
(BuildContext context, bool innerBoxIsScrolled) => <Widget>[
|
||||
SliverAppBar(
|
||||
elevation: Theme.of(context).appBarTheme.elevation,
|
||||
leading: BackButton(),
|
||||
expandedHeight: 300.0,
|
||||
floating: true,
|
||||
|
@ -220,12 +220,6 @@ class _HomeViewState extends State<HomeView> with TickerProviderStateMixin {
|
||||
),
|
||||
],
|
||||
title: Text(title),
|
||||
bottom: AdaptivePageLayout.of(context).columnMode(context)
|
||||
? PreferredSize(
|
||||
preferredSize: Size.fromHeight(1),
|
||||
child: Divider(height: 1),
|
||||
)
|
||||
: null,
|
||||
),
|
||||
body: TabBarView(
|
||||
controller: _pageController,
|
||||
@ -253,6 +247,7 @@ class _HomeViewState extends State<HomeView> with TickerProviderStateMixin {
|
||||
),
|
||||
floatingActionButtonLocation: FloatingActionButtonLocation.centerDocked,
|
||||
bottomNavigationBar: BottomNavigationBar(
|
||||
elevation: 1,
|
||||
unselectedItemColor: Theme.of(context).textTheme.bodyText1.color,
|
||||
currentIndex: currentIndex,
|
||||
showSelectedLabels: true,
|
||||
|
Loading…
Reference in New Issue
Block a user