mirror of
https://git.selfprivacy.org/kherel/selfprivacy.org.app.git
synced 2024-07-06 14:23:33 +00:00
12 lines
412 B
Dart
12 lines
412 B
Dart
// ignore_for_file: always_specify_types
|
|
|
|
import 'package:flutter/material.dart';
|
|
|
|
Route materialRoute(final Widget widget) => MaterialPageRoute(
|
|
builder: (final BuildContext context) => widget,
|
|
);
|
|
|
|
Route noAnimationRoute(final Widget widget) => PageRouteBuilder(
|
|
pageBuilder: (final BuildContext context, final Animation<double> animation1, final Animation<double> animation2) => widget,
|
|
);
|