LCOV - code coverage report
Current view: top level - src/routes - get_route.dart (source / functions) Hit Total Coverage
Test: lcov.info Lines: 5 5 100.0 %
Date: 2020-07-01 03:00:01 Functions: 0 0 -

          Line data    Source code
       1             : import 'package:flutter/widgets.dart';
       2             : import 'package:get/src/routes/bindings_interface.dart';
       3             : import 'custom_transition.dart';
       4             : import 'transitions_type.dart';
       5             : 
       6             : class GetPage {
       7             :   final String name;
       8             :   final GetPageBuilder page;
       9             :   final bool popGesture;
      10             :   final Map<String, String> parameter;
      11             :   final String title;
      12             :   final Transition transition;
      13             :   final Curve curve;
      14             :   final Alignment alignment;
      15             :   final bool maintainState;
      16             :   final bool opaque;
      17             :   final Bindings binding;
      18             :   final List<Bindings> bindings;
      19             :   final CustomTransition customTransition;
      20             :   final Duration transitionDuration;
      21             :   final bool fullscreenDialog;
      22             :   final RouteSettings settings;
      23             : 
      24           2 :   const GetPage({
      25             :     @required this.name,
      26             :     @required this.page,
      27             :     this.title,
      28             :     this.settings,
      29             :     this.maintainState = true,
      30             :     this.curve = Curves.linear,
      31             :     this.alignment,
      32             :     this.parameter,
      33             :     this.opaque = true,
      34             :     this.transitionDuration = const Duration(milliseconds: 400),
      35             :     this.popGesture,
      36             :     this.binding,
      37             :     this.bindings,
      38             :     this.transition,
      39             :     this.customTransition,
      40             :     this.fullscreenDialog = false,
      41           1 :   })  : assert(page != null),
      42           1 :         assert(name != null),
      43           1 :         assert(maintainState != null),
      44           1 :         assert(fullscreenDialog != null);
      45             : }

Generated by: LCOV version 1.14