Welcome to the Flutter feedback portal. We’re happy you’re here! If you have feedback on how to improve the Flutter, we’d love to hear it!>
Thanks for joining our community and helping improve Syncfusion products!
Current behavior - We are not passing interaction to the tooltip widget, so placing an interactive widget in the tooltip does not work.
|
SfTreemap( dataCount: _source.length, weightValueMapper: (int index) { return _source[index].usersInMillions; }, levels: <TreemapLevel>[ TreemapLevel( groupMapper: (int index) { return _source[index].country; }, tooltipBuilder: (BuildContext context, TreemapTile tile) { return IconButton( icon: const Icon(Icons.add_circle_outline_sharp), onPressed: () { print('Button clicked'); }, ); }, ), ], ) |
Proposed behavior - Pass interaction to the tooltip widget.