We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Here, the docs said
final controller = SlidableController(); // ... Slidable( controller: controller, // ... ); // ... // Open the actions void _handleOpen() { controller.openEndActionPane(); // OR //controller.openStartActionPane(); } void _handleOpen() { controller.close(); }
But thie SlidableController() got error 1 positional argument expected by 'SlidableController.new', but 0 found.
1 positional argument expected by 'SlidableController.new', but 0 found.
The text was updated successfully, but these errors were encountered:
I have same problem.
Sorry, something went wrong.
For me work this
In definition of class: class _MyAppState extends State with SingleTickerProviderStateMixin
and late final slidableController = SlidableController(this);
Thanks, @froccawork . It worked for me.
The widget has to be a Stateful(StatefulWidget / ConsumerStatefulWidget).
No branches or pull requests
Here, the docs said
But thie SlidableController() got error
1 positional argument expected by 'SlidableController.new', but 0 found.
The text was updated successfully, but these errors were encountered: