@@ -266,6 +266,9 @@ class _MailPageState extends State<MailPage> {
266266 TooltipActionButton (
267267 backgroundColor: Colors .transparent,
268268 type: TooltipDefaultActionType .previous,
269+ padding: EdgeInsets .symmetric (
270+ vertical: 4 ,
271+ ),
269272 textStyle: TextStyle (
270273 color: Colors .white,
271274 ),
@@ -332,7 +335,7 @@ class _MailPageState extends State<MailPage> {
332335 key: _lastShowcaseWidget,
333336 title: 'Compose Mail' ,
334337 description: 'Click here to compose mail' ,
335- targetShapeBorder : const CircleBorder ( ),
338+ targetBorderRadius : const BorderRadius . all ( Radius . circular ( 16 ) ),
336339 showArrow: false ,
337340 tooltipActions: [
338341 TooltipActionButton (
@@ -535,41 +538,25 @@ class MailTile extends StatelessWidget {
535538 Showcase .withWidget (
536539 key: showCaseKey! ,
537540 height: 50 ,
538- width: 140 ,
541+ width: 150 ,
539542 tooltipActionConfig: const TooltipActionConfig (
540- alignment: MainAxisAlignment .center ,
543+ alignment: MainAxisAlignment .spaceBetween ,
541544 crossAxisAlignment: CrossAxisAlignment .center,
542545 actionGap: 16 ,
543546 ),
544- tooltipActions: [
545- const TooltipActionButton (
546- backgroundColor: Colors .transparent,
547+ tooltipActions: const [
548+ TooltipActionButton (
547549 type: TooltipDefaultActionType .previous,
548- padding : EdgeInsets .zero ,
550+ name : 'Back' ,
549551 textStyle: TextStyle (
550552 color: Colors .white,
551553 ),
552554 ),
553- TooltipActionButton .custom (
554- button: InkWell (
555- onTap: () => ShowCaseWidget .of (context).next (),
556- child: Container (
557- decoration: BoxDecoration (
558- color: Colors .pink,
559- borderRadius: BorderRadius .circular (16 ),
560- border: Border .all (
561- color: Colors .white,
562- width: 2 ,
563- ),
564- ),
565- padding: const EdgeInsets .all (8 ),
566- child: const Text (
567- 'Next' ,
568- style: TextStyle (
569- color: Colors .white,
570- ),
571- ),
572- ),
555+ TooltipActionButton (
556+ type: TooltipDefaultActionType .skip,
557+ name: 'Close' ,
558+ textStyle: TextStyle (
559+ color: Colors .white,
573560 ),
574561 ),
575562 ],
@@ -585,7 +572,7 @@ class MailTile extends StatelessWidget {
585572 Radius .circular (15 ),
586573 ),
587574 ),
588- width: 140 ,
575+ width: 150 ,
589576 child: Column (
590577 crossAxisAlignment: CrossAxisAlignment .start,
591578 children: < Widget > [
0 commit comments