mirror of
https://github.com/jagandeepbrar/lunasea.git
synced 2026-08-31 04:32:32 +00:00
9 lines
243 B
Dart
9 lines
243 B
Dart
import 'package:flutter/material.dart';
|
|
|
|
extension PageControllerExtension on PageController {
|
|
/// Jump a [PageView] to the given index.
|
|
Future<void> lunaJumpToPage(int index) async {
|
|
if (this.hasClients) this.jumpToPage(index);
|
|
}
|
|
}
|