Skip to content

[Possibility] migrate the state from global key to InheritedWidget/InheritedNotifier #45

@Macacoazul01

Description

@Macacoazul01

If #41 issue is a real problem and not a case of using a disposed widget maybe a new approach to the state handling of the package will be necessary.

Two new classes will be added:

class SearchDropDownProvider extends InheritedNotifier<SearchDropDownController>{}

class SearchDropDownController extends ChangeNotifier {}

The downside here is the complexibility of the structure.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions