Skip to content

Commit 6e77f58

Browse files
committed
Fix #196 bgcolor has no effect if FAB has a custom content
1 parent 72c05bc commit 6e77f58

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

client/lib/controls/floating_action_button.dart

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ class FloatingActionButtonControl extends StatelessWidget {
5454
button = FloatingActionButton(
5555
autofocus: autofocus,
5656
onPressed: onPressed,
57+
backgroundColor: bgColor,
5758
tooltip: tooltip,
5859
child: createControl(control, contentCtrls.first.id, disabled));
5960
} else if (icon != null && text == null) {

0 commit comments

Comments
 (0)