File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -481,6 +481,7 @@ class Showcase extends StatefulWidget {
481
481
/// - `tooltipActions` : A list of custom actions (widgets) to display within the tooltip.
482
482
/// - `tooltipActionConfig` : Configuration options for custom tooltip actions.
483
483
/// - `floatingActionWidget` : Custom static floating action widget to show a static widget anywhere
484
+ /// - `toolTipMargin` : The margin around the screen which tooltip try not to cross (defaults to 14dp).
484
485
///
485
486
/// **Differences from default constructor:**
486
487
///
@@ -521,6 +522,7 @@ class Showcase extends StatefulWidget {
521
522
this .tooltipActionConfig,
522
523
this .scrollAlignment = 0.5 ,
523
524
this .enableAutoScroll,
525
+ this .toolTipMargin = 14 ,
524
526
}) : showArrow = false ,
525
527
onToolTipClick = null ,
526
528
scaleAnimationDuration = const Duration (milliseconds: 300 ),
@@ -543,7 +545,6 @@ class Showcase extends StatefulWidget {
543
545
descriptionPadding = null ,
544
546
titleTextDirection = null ,
545
547
descriptionTextDirection = null ,
546
- toolTipMargin = 14 ,
547
548
showcaseKey = key,
548
549
assert (
549
550
overlayOpacity >= 0.0 && overlayOpacity <= 1.0 ,
You can’t perform that action at this time.
0 commit comments