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