accessor 0.0.9
accessor: ^0.0.9 copied to clipboard

A simple variable accessor.

Accessor #

A simple variable accessor.

Documentation #

Defining variable is like

    Accessor<int>("number").data = 5;

Also you can access the variable with same method

    Accessor<int>("number").data;

You can listen variable

    Accessor<int>("number").listen((data) => print(data.toString()));

Note: Listen function triggered when value is changed or removed.

This project is a starting point for a Dart package, a library module containing code that can be shared easily across multiple Flutter or Dart projects.

For help getting started with Flutter, view our online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference.

1
likes
90
pub points
39%
popularity

A simple variable accessor.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

flutter

More

Packages that depend on accessor