mirror of
https://github.com/zjs81/meshcore-open.git
synced 2026-07-06 16:56:41 +10:00
f4cca2fb1d
- Created a new ExportOptions.plist file to define export settings for app distribution. - Configured the plist with method, team ID, signing style, symbol upload option, and destination.
22 lines
761 B
Dart
22 lines
761 B
Dart
import 'package:flutter/material.dart';
|
|
|
|
Route<T> buildQuickSwitchRoute<T>(Widget page) {
|
|
return PageRouteBuilder<T>(
|
|
pageBuilder: (context, animation, secondaryAnimation) => page,
|
|
transitionDuration: const Duration(milliseconds: 220),
|
|
reverseTransitionDuration: const Duration(milliseconds: 200),
|
|
transitionsBuilder: (context, animation, secondaryAnimation, child) {
|
|
// Pure crossfade — no positional slide, so the shared top chrome
|
|
// (app bar + Contacts/Channels toggle) stays rock-steady while switching.
|
|
return FadeTransition(
|
|
opacity: CurvedAnimation(
|
|
parent: animation,
|
|
curve: Curves.easeOut,
|
|
reverseCurve: Curves.easeIn,
|
|
),
|
|
child: child,
|
|
);
|
|
},
|
|
);
|
|
}
|