freezer/lib/page_routes/basic_page_route.dart
Pato05 950969b774
use dartfix, make more stuff constant +
add favorite button in notifications\nfix android tv\ntry to fix library tracks (unsuccessful)\nbetter MenuSheet
2023-10-13 00:09:37 +02:00

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;
}