Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 14 additions & 7 deletions lib/src/fab_menu_item.dart
Original file line number Diff line number Diff line change
Expand Up @@ -203,21 +203,28 @@ class FabMenuMiniItemWidget extends StatelessWidget {
}
}

Widget _getChip() {
Widget _getChip() {
return chipColor != null
? new Chip(
backgroundColor: chipColor,
label: new Text(
text,
textAlign: TextAlign.center,
overflow: TextOverflow.ellipsis,
style:
new TextStyle(color: textColor, fontWeight: FontWeight.bold),
label: new InkWell(
onTap: () {
onPressed();
hideWidget == null ? null : hideWidget();
},
child: new Text(
text,
textAlign: TextAlign.center,
overflow: TextOverflow.ellipsis,
style: new TextStyle(
color: textColor, fontWeight: FontWeight.bold),
),
),
)
: null;
}


Widget _getFloatingActionButton() {
return fabColor != null
? new FloatingActionButton(
Expand Down