LCOV - code coverage report
Current view: top level - src/routes - get_route.dart (source / functions) Hit Total Coverage
Test: lcov.info Lines: 4 4 100.0 %
Date: 2020-06-02 18:55:34 Functions: 0 0 -

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

Generated by: LCOV version 1.14