mirror of
https://git.selfprivacy.org/kherel/selfprivacy.org.app.git
synced 2025-03-11 17:24:09 +00:00
9 lines
272 B
Dart
9 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,
|
|
);
|