showcaseWithWidget method

dynamic showcaseWithWidget({
  1. required ThemeController themeCtr,
  2. required BuildContext context,
})

Implementation

showcaseWithWidget({ required ThemeController themeCtr, required BuildContext context}) {
  // if( showButtonSkip ) {
  //   return Showcase.withWidget(
  //     key: globalKey,
  //     height: height,//double.infinity,//50,//
  //     width: width,//double.infinity,//140,//
  //     targetPadding: targetPadding,
  //     //tooltipBackgroundColor: Theme.of(context).primaryColor,
  //     //textColor: Colors.white,
  //     targetShapeBorder: targetShapeBorder,
  //     container: buttonOption(themeCtr: themeCtr, context: context),
  //     tooltipActionConfig: tooltipActionConfig,
  //     child: child,
  //   );
  // }
  return Showcase(
    key: globalKey,
    title: title,
    description: description,
    targetPadding: targetPadding,
    tooltipBackgroundColor: tooltipBackgroundColor,
    textColor: textColor,
    targetShapeBorder: targetShapeBorder,
    tooltipActionConfig: tooltipActionConfig,
    child: child,
  );
}