getItemMenu method
Implementation
Widget getItemMenu(BottomNav d){
return Container(
padding: EdgeInsets.symmetric(horizontal: 4, vertical: 2),
decoration: BoxDecoration(
color: Colors.red, borderRadius: BorderRadius.circular(8),
),
constraints: const BoxConstraints(minWidth: 10, minHeight: 10,),
child: d.badgeText == "" ? Container(width: 0, height: 0) : Text(d.badgeText,
style: MyText.overline(context)!.copyWith(color: Colors.white)
),
);
}