mirror of
https://git.selfprivacy.org/kherel/selfprivacy.org.app.git
synced 2024-11-08 09:53:12 +00:00
10 lines
272 B
Dart
10 lines
272 B
Dart
import 'package:flutter/material.dart';
|
|
|
|
Route materialRoute(Widget widget) => MaterialPageRoute(
|
|
builder: (context) => widget,
|
|
);
|
|
|
|
Route noAnimationRoute(Widget widget) => PageRouteBuilder(
|
|
pageBuilder: (context, animation1, animation2) => widget,
|
|
);
|