Pato05
950969b774
add favorite button in notifications\nfix android tv\ntry to fix library tracks (unsuccessful)\nbetter MenuSheet
24 lines
502 B
Dart
24 lines
502 B
Dart
import 'package:flutter/widgets.dart';
|
|
|
|
abstract class BasicPageRoute<T> extends PageRoute<T> {
|
|
@override
|
|
final Duration transitionDuration;
|
|
@override
|
|
final bool maintainState;
|
|
|
|
BasicPageRoute({
|
|
this.transitionDuration = const Duration(milliseconds: 300),
|
|
this.maintainState = true,
|
|
super.settings,
|
|
});
|
|
|
|
@override
|
|
bool get barrierDismissible => false;
|
|
|
|
@override
|
|
Color? get barrierColor => null;
|
|
|
|
@override
|
|
String? get barrierLabel => null;
|
|
}
|