v2.0.0pattern_lock
Bloqueio de padrão como widget do Flutter. Personalizável e fácil de usar.
39Curtidas 4,2 milDownloads em 30 dias160Pontos Pub
AndroidiOSWebmacOSWindowsLinux
Bloqueio de padrão como widget do Flutter!
Texto original em inglês. Visite o GitHub para a versão atual.
Pattern Lock as Flutter widget.
PatternLock(
// color of selected points.
selectedColor: Colors.red,
// radius of points.
pointRadius: 8,
// whether show user's input and highlight selected points.
showInput: true,
// count of points horizontally and vertically.
dimension: 3,
// padding of points area relative to distance between points.
relativePadding: 0.7,
// needed distance from input to point to select point.
selectThreshold: 25,
// whether fill points.
fillPoints: true,
// callback that called when user's input complete. Called if user selected one or more points.
onInputComplete: (List<int> input) {
print("pattern is $input");
},
);
Example app with pattern setting and checking can be found here.
Lista de dependências 2 itens
{"sdk":"flutter"}{"sdk":"flutter"}Filtre pelo caso de uso, compare a atividade e confira o projeto original antes de adotá-lo.
“A repository is the most basic element of GitHub.”
GitHub Docs — About repositories ↗