Fix FAB colors
This commit is contained in:
parent
ea71a97e45
commit
96b572023c
|
@ -381,6 +381,7 @@ class _ChatState extends State<_Chat> {
|
|||
child: Icon(Icons.arrow_downward,
|
||||
color: Theme.of(context).primaryColor),
|
||||
onPressed: () => _scrollController.jumpTo(0),
|
||||
foregroundColor: Theme.of(context).textTheme.bodyText1.color,
|
||||
backgroundColor: Theme.of(context).scaffoldBackgroundColor,
|
||||
mini: true,
|
||||
),
|
||||
|
|
|
@ -193,10 +193,12 @@ class _ChatListState extends State<ChatList> {
|
|||
floatingActionButton: SpeedDial(
|
||||
child: Icon(Icons.add),
|
||||
overlayColor: blackWhiteColor(context),
|
||||
foregroundColor: Colors.white,
|
||||
backgroundColor: Theme.of(context).primaryColor,
|
||||
children: [
|
||||
SpeedDialChild(
|
||||
child: Icon(Icons.people_outline),
|
||||
foregroundColor: Colors.white,
|
||||
backgroundColor: Colors.blue,
|
||||
label: I18n.of(context).createNewGroup,
|
||||
labelStyle:
|
||||
|
@ -207,6 +209,7 @@ class _ChatListState extends State<ChatList> {
|
|||
),
|
||||
SpeedDialChild(
|
||||
child: Icon(Icons.person_add),
|
||||
foregroundColor: Colors.white,
|
||||
backgroundColor: Colors.green,
|
||||
label: I18n.of(context).newPrivateChat,
|
||||
labelStyle: TextStyle(
|
||||
|
|
|
@ -101,6 +101,7 @@ class _NewGroupState extends State<_NewGroup> {
|
|||
],
|
||||
),
|
||||
floatingActionButton: FloatingActionButton(
|
||||
foregroundColor: Colors.white,
|
||||
backgroundColor: Theme.of(context).primaryColor,
|
||||
onPressed: () => submitAction(context),
|
||||
child: Icon(Icons.arrow_forward),
|
||||
|
|
|
@ -236,6 +236,7 @@ class _NewPrivateChatState extends State<_NewPrivateChat> {
|
|||
floatingActionButton: FloatingActionButton(
|
||||
onPressed: () => submitAction(context),
|
||||
child: Icon(Icons.arrow_forward),
|
||||
foregroundColor: Colors.white,
|
||||
backgroundColor: Theme.of(context).primaryColor,
|
||||
),
|
||||
);
|
||||
|
|
Loading…
Reference in a new issue