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.

Libraries

accessor
accessorException