
How to customize a tabbar like this with Flutter, and the round image could be tapped? The red rectangle is tabbar.
I have try cover a large image on middle tab but it did not work well:
//the middle tab
Container(
child: Stack(
children: [
Tab(
text: "Bills",
icon: Icon(Icons.assignment),
),
Container(
child: Stack(
children: [
Positioned(
bottom: 30.h,
child: Icon(
Icons.assignment,
size: 80.h,
),
)
],
))
],
),
),
I have two questions:
How to add widget beyond super widget? Like the round image beyond the tabbar without the overflow error?
How to detect the tap only in tabbar(the red line)? I'm familiar with iOS method hitTest check.