Skip to content

Commit

Permalink
Add tooltip
Browse files Browse the repository at this point in the history
  • Loading branch information
CodeDoctorDE committed Oct 27, 2024
1 parent 9085d42 commit b01f6a3
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions packages/material_leap/lib/src/widgets/context_region.dart
Original file line number Diff line number Diff line change
Expand Up @@ -84,8 +84,10 @@ class _ContextRegionState extends State<ContextRegion> {
child: widget.builder(
context,
widget.buttonBuilder?.call(context, controller, null) ??
defaultMenuButton(calculateLocalOffset: true)(
context, controller, null),
defaultMenuButton(
calculateLocalOffset: true,
tooltip: widget.tooltip,
)(context, controller, null),
controller),
),
);
Expand Down

0 comments on commit b01f6a3

Please sign in to comment.