I'm trying to create a bottom navigation bar like the Twitter app has, but I can't find how to customize the highlightShape size.
I can customize corners, colors but not size, I would like to make same size which exceed the bounds of the widget like splash in my builder.
Here is how look my bottom navigation button. Thank you! for help in advance.
Center(
child: Ink(
height: height,
width: width,
child: InkResponse(
splashFactory: InkRipple.splashFactory,
radius: radiusSize,
onTap: () {
const int itemIndex = 1;
_onTapped(itemIndex);
},
child: _pageIndex == 1
? Icon(OMIcons.favoriteBorder, color: Colors.black, size: 28.0)
: Icon(OMIcons.favoriteBorder, color: Colors.grey[600]),
),
),
),