ShowCaseButton constructor
const
ShowCaseButton({
- Key? key,
- required GlobalKey<
State< globalKey,StatefulWidget> > - List<
GlobalKey< ? globalKeys,State< >StatefulWidget> > - required Widget child,
- required String description,
- String? title,
- bool showButtonSkip = false,
- double height = 50,
- double width = 120,
- EdgeInsets targetPadding = EdgeInsets.zero,
- Color tooltipBackgroundColor = Colors.white,
- Color textColor = Colors.black,
- ShapeBorder targetShapeBorder = const RoundedRectangleBorder(borderRadius: BorderRadius.all(Radius.circular(8))),
- 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,
),
});