mirror of
https://github.com/KRTirtho/spotube.git
synced 2025-09-13 16:05:18 +00:00

track Share popup menu not showing when not logged in fix page tranistions changed to default material 3 design's Wrong link in Login page fix Changing UserPreferences provider resets the Playback provider using using hookified_infinite_scroll_pagination officially
19 lines
466 B
Dart
19 lines
466 B
Dart
import 'package:flutter/material.dart';
|
|
|
|
class SpotubePageRoute extends PageRouteBuilder {
|
|
final Widget child;
|
|
SpotubePageRoute({required this.child})
|
|
: super(
|
|
pageBuilder: (context, animation, secondaryAnimation) => child,
|
|
settings: RouteSettings(
|
|
name: child.key.toString(),
|
|
),
|
|
);
|
|
}
|
|
|
|
class SpotubePage extends MaterialPage {
|
|
const SpotubePage({
|
|
required Widget child,
|
|
}) : super(child: child);
|
|
}
|