mask_guide

Last updated:

0 purchases

mask_guide Image
mask_guide Images
Add to Cart

Description:

mask guide

Masked guide implemented with ColorFilter, refer by https://juejin.cn/post/7089087097218269197 #
Getting started #
import 'package:mask_guide/mask_guide.dart';
copied to clipboard
Usage #
First of all, add MaskGuideNavigatorObserver() in MaterialApp() #
MaterialApp(
navigatorObservers: [MaskGuideNavigatorObserver()],
)
copied to clipboard
Usage of Custom Step Widget #
Extend the StepWidget and override preStep, nextStep, doneCallBack if you need.
To create a custom step widget, you should calculate the position of the widget yourself.
class CustomStepWidget extends StepWidget

@override
void preStep() {
super.preStep();
// todo: do something
}

@override
void nextStep() {
super.nextStep();
// todo: do something
}

@override
void doneCallBack() {
super.doneCallBack();
// todo: do something
}
copied to clipboard
Check example for more.

License:

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.