buildSpeedDial method
Implementation
Widget buildSpeedDial() {
return SpeedDial(
elevation: 2,
animatedIcon: AnimatedIcons.menu_close,
animatedIconTheme: IconThemeData(color: Colors.white),
curve: Curves.linear,
overlayColor: Colors.black,
overlayOpacity: 0.2,
backgroundColor: MyColors.primary,
children: [
SpeedDialChild(
elevation: 2,
label: "Record Voice",
child: Icon(Icons.mic, color: MyColors.grey_80),
backgroundColor: Colors.white,
onTap: () {},
),
SpeedDialChild(
elevation: 2,
label: "Call Friend",
child: Icon(Icons.call, color: MyColors.grey_80),
backgroundColor: Colors.white,
onTap: () {},
),
],
);
}