Skip to content
New issue

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

chore: gradle and android #519

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Fix formatting issues in controller.dart and slidable.dart
- Corrected the closing markdown comment in the documentation of the openTo method in controller.dart.
- Adjusted indentation for the controller parameter in the Slidable widget within slidable.dart.

These changes enhance code readability and maintain consistency in documentation formatting.
berhili098 committed Jan 16, 2025

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
commit 826b312b4ddc95832287afe8c471e350fba19eab
2 changes: 1 addition & 1 deletion lib/src/controller.dart
Original file line number Diff line number Diff line change
@@ -321,7 +321,7 @@ class SlidableController {
/// The [ratio] sign will determine which direction the slidable should open.
/// ```dart
/// controller.openTo(-1); //opens slidable all the way to the left side
/// ```
/// ```
Future<void> openTo(
double ratio, {
Duration duration = _defaultMovementDuration,
2 changes: 1 addition & 1 deletion lib/src/slidable.dart
Original file line number Diff line number Diff line change
@@ -282,7 +282,7 @@ class _SlidableState extends State<Slidable>
closeOnScroll: widget.closeOnScroll,
child: SlidableDismissal(
axis: flipAxis(widget.direction),
controller: controller,
controller: controller,
child: ActionPaneConfiguration(
alignment: actionPaneAlignment,
direction: widget.direction,