Skip to content

Exception When Reassigning SlidableController #523

Description

@cllarisy

In silidable.dart, the _SlidableState class declares a late final SlidableController controller and initializes it in initState. However, attempting to reassign it in didUpdateWidget causes an error.

I'm trying to figure out why Slidable.controller gets assigned two different objects in my project, but I still don't understand why a controller that will be updated is defined as final.

I would be very grateful if someone could explain it. : )

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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