Skip to content

Commit

Permalink
Rename onDotTap into onTap
Browse files Browse the repository at this point in the history
Co-authored-by: J-P Nurmi <jpnurmi@gmail.com>
  • Loading branch information
Jupi007 and jpnurmi committed Feb 5, 2023
1 parent 97bec1d commit 56561b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/src/widgets/yaru_page_indicator.dart
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ class YaruPageIndicator extends StatelessWidget {

/// Callback called when tapping a dot.
/// It passes the tapped page index as parameter.
final Function(int page)? onDotTap;
final ValueChanged<int>? onTap;

@override
Widget build(BuildContext context) {
Expand Down

0 comments on commit 56561b9

Please sign in to comment.