setHole method
Implementation
setHole(AntdMaskHole? targetHole, [AntdMaskHole? initHole]) {
if (targetHole == null && initHole == null) {
return;
}
if (initHole != null) {
hole = initHole;
}
this.targetHole = targetHole ?? AntdMaskHole.zero;
controller?.reset();
controller?.forward();
setState(() {});
}