pattern_dots 0.0.1-alpha copy "pattern_dots: ^0.0.1-alpha" to clipboard
pattern_dots: ^0.0.1-alpha copied to clipboard

A pattern lock UI using flutter.

pattern_dots #

A pattern lock UI using flutter.

USAGE #

bool isError = false;
...
PatternStyle(
  data: PatternStyleData(
    width: 4,
    tapRange: 24,
  ),
  child: PatternView(
    isError: isError,
    onTapDown: () {
      isError = false;
      setState(() {});
    },
    onComplete: (cells) {
      isError = !listEquals(cells, [0, 4, 5, 8]);
      setState(() {});
    },
  ),
);
...
1
likes
0
points
17
downloads

Publisher

verified publisherlaihz.tech

Weekly Downloads

A pattern lock UI using flutter.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter

More

Packages that depend on pattern_dots