arjundevlucid

fixed 80 line docs length limit

... ... @@ -544,8 +544,10 @@ extension GetNavigationExt on GetInterface {
// return page;
// } else if (page is Widget) {
// Get.log(
// '''WARNING, consider using: "Get.$method(() => Page())" instead of "Get.$method(Page())".
// Using a widget function instead of a widget fully guarantees that the widget and its controllers will be removed from memory when they are no longer used.
// '''WARNING, consider using: "Get.$method(() => Page())"
//instead of "Get.$method(Page())".
// Using a widget function instead of a widget fully guarantees that the widget
//and its controllers will be removed from memory when they are no longer used.
// ''');
// return () => page;
// } else if (page is String) {
... ...
... ... @@ -326,7 +326,8 @@ class GetDelegate extends RouterDelegate<RouteDecoder>
PreventDuplicateHandlingMode.ReorderRoutes,
}) async {
routeName = _cleanRouteName("/${page.runtimeType}");
// if (preventDuplicateHandlingMode == PreventDuplicateHandlingMode.Recreate) {
// if (preventDuplicateHandlingMode ==
// PreventDuplicateHandlingMode.Recreate) {
// routeName = routeName + page.hashCode.toString();
// }
... ...
void main() {
// testWidgets('Back swipe dismiss interrupted by route push', (tester) async {
// testWidgets('Back swipe dismiss interrupted by route push',
// (tester) async {
// // final scaffoldKey = GlobalKey();
// await tester.pumpWidget(
... ... @@ -59,7 +60,8 @@ void main() {
// expect(find.text('push'), findsOneWidget);
// expect(
// tester.getTopLeft(find.ancestor(
// of: find.text('push'), matching: find.byType(CupertinoPageScaffold))),
// of: find.text('push'),
// matching: find.byType(CupertinoPageScaffold))),
// Offset.zero,
// );
// expect(find.text('route'), findsNothing);
... ...