flare_checkbox 0.0.1+2 copy "flare_checkbox: ^0.0.1+2" to clipboard
flare_checkbox: ^0.0.1+2 copied to clipboard

outdated

Checkbox widget with two or three state animation with a Flare animation of your choice

flare_checkbox #

Checkbox widget with two or three state animation with a Flare animation of your choice

Usage #

FlareCheckbox(
  animation: 'assets/checkbox.flr',
  value: true,
),

You can customize the widget with:

animation: path/name to your flare animation

value: null, false or true

width: force width of the animation

height: force height of the animation

tristate: true/false to enable null as an initial value

onChanged: callback whenever to checkbox change his state

if tristate is false and value is null, it will be set to false

How it works #

To make your flare animation compatible with this widget it's simple:

  • when value is true the animation On is called
  • when value is false the animation Off is called
  • when value is null and tristate true the animation Unknown is called
4
likes
40
pub points
52%
popularity

Publisher

verified publisherjaumard.com

Checkbox widget with two or three state animation with a Flare animation of your choice

Repository (GitHub)
View/report issues

License

BSD-2-Clause (LICENSE)

Dependencies

flare_flutter, flutter

More

Packages that depend on flare_checkbox