mirror of
https://git.selfprivacy.org/kherel/selfprivacy.org.app.git
synced 2024-09-12 06:47:18 +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,
|
|
);
|