ShowCaseButton constructor

const ShowCaseButton({
  1. Key? key,
  2. required GlobalKey<State<StatefulWidget>> globalKey,
  3. List<GlobalKey<State<StatefulWidget>>>? globalKeys,
  4. required Widget child,
  5. required String description,
  6. String? title,
  7. bool showButtonSkip = false,
  8. double height = 50,
  9. double width = 120,
  10. EdgeInsets targetPadding = EdgeInsets.zero,
  11. Color tooltipBackgroundColor = Colors.white,
  12. Color textColor = Colors.black,
  13. ShapeBorder targetShapeBorder = const RoundedRectangleBorder(borderRadius: BorderRadius.all(Radius.circular(8))),
  14. TooltipActionConfig? tooltipActionConfig = const TooltipActionConfig(alignment: MainAxisAlignment.end, position: TooltipActionPosition.outside, gapBetweenContentAndAction: 10),
})

Implementation

const ShowCaseButton({super.key,
  required this.globalKey,
  this.globalKeys,
  required this.child,
  required this.description,
  this.title,
  this.showButtonSkip=false,
  this.height= 50,
  this.width= 120,
  this.targetPadding= EdgeInsets.zero,
  this.tooltipBackgroundColor = Colors.white,
  this.textColor = Colors.black,
  this.targetShapeBorder = const RoundedRectangleBorder(
    borderRadius: BorderRadius.all(Radius.circular(8)),
  ),
  this.tooltipActionConfig= const TooltipActionConfig(
    alignment: MainAxisAlignment.end,
    position: TooltipActionPosition.outside,
    gapBetweenContentAndAction: 10,
  ),
});