circular_pattern 0.1.1 copy "circular_pattern: ^0.1.1" to clipboard
circular_pattern: ^0.1.1 copied to clipboard

An alternative data input widget for flutter, consisting of circular dots.

circular_pattern #

pub package License: MIT

Circular Pattern is a flutter package similar to mobile pattern lock which dots designed in a circular form

Features #

  • A string symbol can be inserted to the middle of the pattern points
  • Editable font and color theme

Getting started #

Import package and add CircularPattern to the widget tree.

Usage #

An example usage can be found at /example folder.

CircularPattern(
    onStart: () {
    // called when started drawing a new pattern
    },
    onComplete: (List<PatternDot> input) {
    // called when connected minimum amount of dots
    // input is a list of PatternDot
    },
    // dots is a list of PatternDot
    dots: const [
        PatternDot(value: '1'),
        PatternDot(value: '2'),
        PatternDot(value: '3'),
        PatternDot(value: '4'),
        PatternDot(value: '5'),
        PatternDot(value: '6'),
    ],

    //Optionally edit color and font themes with CircularPatternOptions()
    options: const CircularPatternOptions(),
),
3
likes
150
points
33
downloads

Publisher

verified publisherak.gen.tr

Weekly Downloads

An alternative data input widget for flutter, consisting of circular dots.

Repository (GitHub)

Documentation

API reference

License

MIT (license)

Dependencies

flutter

More

Packages that depend on circular_pattern