<p dir="auto">#I get an Error if I wan't to push an MaterialPage.</p>
<h2 dir="auto">Screenshot</h2>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/1265139/43197842-cd396418-900c-11e8-816f-a0479d32b4db.png"><img src="https://user-images.githubusercontent.com/1265139/43197842-cd396418-900c-11e8-816f-a0479d32b4db.png" alt="bildschirmfoto 2018-07-25 um 13 14 20" style="max-width: 100%;"></a></p>
<h2 dir="auto">Code</h2>
<div class="highlight highlight-source-dart notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="import 'package:flutter/material.dart';

void main() {
  runApp(MaterialApp(
    title: 'Navigation Basics',
    home: FirstScreen(),
  ));
}


class FirstScreen extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: Text('First Screen'),
      ),
      body: Center(
        child: RaisedButton(
          child: Text('Launch screen'),
          onPressed: () {
            Navigator.push(
              context,
              new MaterialPageRoute(
                  builder: (BuildContext context) =&gt; new SecondScreen()),
            );
          },
        ),
      ),
    );
  }
}

class SecondScreen extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: Text(&quot;Second Screen&quot;),
      ),
      body: Center(
        child: RaisedButton(
          onPressed: () {
            Navigator.pop(context);
          },
          child: Text('Go back!'),
        ),
      ),
    );
  }
}
"><pre class="notranslate"><span class="pl-k">import</span> <span class="pl-s">'package:flutter/material.dart'</span>;

<span class="pl-k">void</span> <span class="pl-en">main</span>() {
  <span class="pl-en">runApp</span>(<span class="pl-c1">MaterialApp</span>(
    title<span class="pl-k">:</span> <span class="pl-s">'Navigation Basics'</span>,
    home<span class="pl-k">:</span> <span class="pl-c1">FirstScreen</span>(),
  ));
}


<span class="pl-k">class</span> <span class="pl-c1">FirstScreen</span> <span class="pl-k">extends</span> <span class="pl-c1">StatelessWidget</span> {
  <span class="pl-k">@override</span>
  <span class="pl-c1">Widget</span> <span class="pl-en">build</span>(<span class="pl-c1">BuildContext</span> context) {
    <span class="pl-k">return</span> <span class="pl-c1">Scaffold</span>(
      appBar<span class="pl-k">:</span> <span class="pl-c1">AppBar</span>(
        title<span class="pl-k">:</span> <span class="pl-c1">Text</span>(<span class="pl-s">'First Screen'</span>),
      ),
      body<span class="pl-k">:</span> <span class="pl-c1">Center</span>(
        child<span class="pl-k">:</span> <span class="pl-c1">RaisedButton</span>(
          child<span class="pl-k">:</span> <span class="pl-c1">Text</span>(<span class="pl-s">'Launch screen'</span>),
          onPressed<span class="pl-k">:</span> () {
            <span class="pl-c1">Navigator</span>.<span class="pl-en">push</span>(
              context,
              <span class="pl-k">new</span> <span class="pl-c1">MaterialPageRoute</span>(
                  builder<span class="pl-k">:</span> (<span class="pl-c1">BuildContext</span> context) <span class="pl-k">=&gt;</span> <span class="pl-k">new</span> <span class="pl-c1">SecondScreen</span>()),
            );
          },
        ),
      ),
    );
  }
}

<span class="pl-k">class</span> <span class="pl-c1">SecondScreen</span> <span class="pl-k">extends</span> <span class="pl-c1">StatelessWidget</span> {
  <span class="pl-k">@override</span>
  <span class="pl-c1">Widget</span> <span class="pl-en">build</span>(<span class="pl-c1">BuildContext</span> context) {
    <span class="pl-k">return</span> <span class="pl-c1">Scaffold</span>(
      appBar<span class="pl-k">:</span> <span class="pl-c1">AppBar</span>(
        title<span class="pl-k">:</span> <span class="pl-c1">Text</span>(<span class="pl-s">"Second Screen"</span>),
      ),
      body<span class="pl-k">:</span> <span class="pl-c1">Center</span>(
        child<span class="pl-k">:</span> <span class="pl-c1">RaisedButton</span>(
          onPressed<span class="pl-k">:</span> () {
            <span class="pl-c1">Navigator</span>.<span class="pl-en">pop</span>(context);
          },
          child<span class="pl-k">:</span> <span class="pl-c1">Text</span>(<span class="pl-s">'Go back!'</span>),
        ),
      ),
    );
  }
}
</pre></div>
<h2 dir="auto">Error</h2>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Launching lib/main.dart on iPhone X in debug mode...
compiler message: file:///Users/abuder/flutter/packages/flutter/lib/src/widgets/navigator.dart:815:95: Error: Duplicated parameter name 'context'.
compiler message:   static Future&lt;T&gt; push&lt;T extends Object&gt;(BuildContext context, Route&lt;T&gt; route, {BuildContext context}) {
compiler message:                                                                                               ^^^^^^^
compiler message: file:///Users/abuder/flutter/packages/flutter/lib/src/widgets/navigator.dart:815:56: Context: Other parameter named 'context'.
compiler message:   static Future&lt;T&gt; push&lt;T extends Object&gt;(BuildContext context, Route&lt;T&gt; route, {BuildContext context}) {
compiler message:                                                        ^^^^^^^
Compiler failed on /Users/abuder/projects/flutter/butterfly_member/lib/main.dart
Error launching application on iPhone X.
Exited (sigterm)"><pre class="notranslate"><code class="notranslate">Launching lib/main.dart on iPhone X in debug mode...
compiler message: file:///Users/abuder/flutter/packages/flutter/lib/src/widgets/navigator.dart:815:95: Error: Duplicated parameter name 'context'.
compiler message:   static Future&lt;T&gt; push&lt;T extends Object&gt;(BuildContext context, Route&lt;T&gt; route, {BuildContext context}) {
compiler message:                                                                                               ^^^^^^^
compiler message: file:///Users/abuder/flutter/packages/flutter/lib/src/widgets/navigator.dart:815:56: Context: Other parameter named 'context'.
compiler message:   static Future&lt;T&gt; push&lt;T extends Object&gt;(BuildContext context, Route&lt;T&gt; route, {BuildContext context}) {
compiler message:                                                        ^^^^^^^
Compiler failed on /Users/abuder/projects/flutter/butterfly_member/lib/main.dart
Error launching application on iPhone X.
Exited (sigterm)
</code></pre></div>
<p dir="auto">I am trying to add flutter to existing ios app. So before adding to the production app i decided to bring it some demo app. The flutter app independent is working fine in both android and ios. Even in the existing ios app its working fine except the plugin. I followed the tutorial and ran all commands like<br>
<strong>flutter run</strong>,<strong>flutter clean</strong> but nothing made it to work in the existing app. when doing the <strong>pod install</strong> it's showing that it's adding the plugin and fetching the related files for it but when I am using the app its throwing the below error</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="2018-11-01 22:31:44.193838+0530 EgluDiscoverIOS[8186:2926742] flutter: Observatory listening on http://127.0.0.1:53871/
2018-11-01 22:31:49.533104+0530 EgluDiscoverIOS[8186:2926733] [VERBOSE-2:shell.cc(188)] Dart Error: Unhandled exception:
MissingPluginException(No implementation found for method canLaunch on channel plugins.flutter.io/url_launcher)
#0      MethodChannel.invokeMethod (package:flutter/src/services/platform_channel.dart:278:7)
&lt;asynchronous suspension&gt;
#1      canLaunch (package:url_launcher/url_launcher.dart:88:25)
&lt;asynchronous suspension&gt;
#2      AssistantWidget.build._launchUrl (package:eglu_discover_final/assistant.dart:90:17)
&lt;asynchronous suspension&gt;
#3      _InkResponseState._handleTap (package:flutter/src/material/ink_well.dart:507:14)
#4      _InkResponseState.build.&lt;anonymous closure&gt; (package:flutter/src/material/ink_well.dart:562:30)
#5      GestureRecognizer.invokeCallback (package:flutter/src/gestures/recognizer.dart:102:24)
#6      TapGestureRecognizer._checkUp (package:flutter/src/gestures/tap.dart:242:9)
#7      TapGestureRecognizer.acceptGesture (package:flutter/src/gestures/tap.dart:204:7)
#8      GestureArenaManager.sweep (package:flutter/src/gestures/arena.dart:156:27)
#9      _WidgetsFlutterBinding&amp;BindingBase&amp;GestureBinding.handleEvent (package:flutter/src/gestures/binding.dart:143:20)
#10     _WidgetsFlutterBinding&amp;BindingBase&amp;GestureBinding.dispatchEvent (package:flutter/src/gestures/binding.dart:117:22)
#11     _WidgetsFlutterBinding&amp;BindingBase&amp;GestureBinding._handlePointerEvent (package:flutter/src/gestures/binding.dart:97:7)
#12     _WidgetsFlutterBinding&amp;BindingBase&amp;GestureBinding._flushPointerEventQueue (package:flutter/src/gestures/binding.dart:60:7)
#13     _WidgetsFlutterBinding&amp;BindingBase&amp;GestureBinding._handlePointerDataPacket (package:flutter/src/gestures/binding.dart:44:7)
#14     _invoke1 (dart:ui/hooks.dart:159:13)
#15     _dispatchPointerDataPacket (dart:ui/hooks.dart:113:5)
2018-11-01 22:32:05.187471+0530 EgluDiscoverIOS[8186:2926733] [VERBOSE-2:shell.cc(188)] Dart Error: Unhandled exception:
MissingPluginException(No implementation found for method canLaunch on channel plugins.flutter.io/url_launcher)
#0      MethodChannel.invokeMethod (package:flutter/src/services/platform_channel.dart:278:7)
&lt;asynchronous suspension&gt;
#1      canLaunch (package:url_launcher/url_launcher.dart:88:25)
&lt;asynchronous suspension&gt;
#2      UpdateCard._launchUrl (package:eglu_discover_final/update_card.dart:10:17)
&lt;asynchronous suspension&gt;
#3      _InkResponseState._handleTap (package:flutter/src/material/ink_well.dart:507:14)
#4      _InkResponseState.build.&lt;anonymous closure&gt; (package:flutter/src/material/ink_well.dart:562:30)
#5      GestureRecognizer.invokeCallback (package:flutter/src/gestures/recognizer.dart:102:24)
#6      TapGestureRecognizer._checkUp (package:flutter/src/gestures/tap.dart:242:9)
#7      TapGestureRecognizer.acceptGesture (package:flutter/src/gestures/tap.dart:204:7)
#8      GestureArenaManager.sweep (package:flutter/src/gestures/arena.dart:156:27)
#9      _WidgetsFlutterBinding&amp;BindingBase&amp;GestureBinding.handleEvent (package:flutter/src/gestures/binding.dart:143:20)
#10     _WidgetsFlutterBinding&amp;BindingBase&amp;GestureBinding.dispatchEvent (package:flutter/src/gestures/binding.dart:117:22)
#11     _WidgetsFlutterBinding&amp;BindingBase&amp;GestureBinding._handlePointerEvent (package:flutter/src/gestures/binding.dart:97:7)
#12     _WidgetsFlutterBinding&amp;BindingBase&amp;GestureBinding._flushPointerEventQueue (package:flutter/src/gestures/binding.dart:60:7)
#13     _WidgetsFlutterBinding&amp;BindingBase&amp;GestureBinding._handlePointerDataPacket (package:flutter/src/gestures/binding.dart:44:7)
#14     _invoke1 (dart:ui/hooks.dart:159:13)
#15     _dispatchPointerDataPacket (dart:ui/hooks.dart:113:5)"><pre class="notranslate"><code class="notranslate">2018-11-01 22:31:44.193838+0530 EgluDiscoverIOS[8186:2926742] flutter: Observatory listening on http://127.0.0.1:53871/
2018-11-01 22:31:49.533104+0530 EgluDiscoverIOS[8186:2926733] [VERBOSE-2:shell.cc(188)] Dart Error: Unhandled exception:
MissingPluginException(No implementation found for method canLaunch on channel plugins.flutter.io/url_launcher)
#0      MethodChannel.invokeMethod (package:flutter/src/services/platform_channel.dart:278:7)
&lt;asynchronous suspension&gt;
#1      canLaunch (package:url_launcher/url_launcher.dart:88:25)
&lt;asynchronous suspension&gt;
#2      AssistantWidget.build._launchUrl (package:eglu_discover_final/assistant.dart:90:17)
&lt;asynchronous suspension&gt;
#3      _InkResponseState._handleTap (package:flutter/src/material/ink_well.dart:507:14)
#4      _InkResponseState.build.&lt;anonymous closure&gt; (package:flutter/src/material/ink_well.dart:562:30)
#5      GestureRecognizer.invokeCallback (package:flutter/src/gestures/recognizer.dart:102:24)
#6      TapGestureRecognizer._checkUp (package:flutter/src/gestures/tap.dart:242:9)
#7      TapGestureRecognizer.acceptGesture (package:flutter/src/gestures/tap.dart:204:7)
#8      GestureArenaManager.sweep (package:flutter/src/gestures/arena.dart:156:27)
#9      _WidgetsFlutterBinding&amp;BindingBase&amp;GestureBinding.handleEvent (package:flutter/src/gestures/binding.dart:143:20)
#10     _WidgetsFlutterBinding&amp;BindingBase&amp;GestureBinding.dispatchEvent (package:flutter/src/gestures/binding.dart:117:22)
#11     _WidgetsFlutterBinding&amp;BindingBase&amp;GestureBinding._handlePointerEvent (package:flutter/src/gestures/binding.dart:97:7)
#12     _WidgetsFlutterBinding&amp;BindingBase&amp;GestureBinding._flushPointerEventQueue (package:flutter/src/gestures/binding.dart:60:7)
#13     _WidgetsFlutterBinding&amp;BindingBase&amp;GestureBinding._handlePointerDataPacket (package:flutter/src/gestures/binding.dart:44:7)
#14     _invoke1 (dart:ui/hooks.dart:159:13)
#15     _dispatchPointerDataPacket (dart:ui/hooks.dart:113:5)
2018-11-01 22:32:05.187471+0530 EgluDiscoverIOS[8186:2926733] [VERBOSE-2:shell.cc(188)] Dart Error: Unhandled exception:
MissingPluginException(No implementation found for method canLaunch on channel plugins.flutter.io/url_launcher)
#0      MethodChannel.invokeMethod (package:flutter/src/services/platform_channel.dart:278:7)
&lt;asynchronous suspension&gt;
#1      canLaunch (package:url_launcher/url_launcher.dart:88:25)
&lt;asynchronous suspension&gt;
#2      UpdateCard._launchUrl (package:eglu_discover_final/update_card.dart:10:17)
&lt;asynchronous suspension&gt;
#3      _InkResponseState._handleTap (package:flutter/src/material/ink_well.dart:507:14)
#4      _InkResponseState.build.&lt;anonymous closure&gt; (package:flutter/src/material/ink_well.dart:562:30)
#5      GestureRecognizer.invokeCallback (package:flutter/src/gestures/recognizer.dart:102:24)
#6      TapGestureRecognizer._checkUp (package:flutter/src/gestures/tap.dart:242:9)
#7      TapGestureRecognizer.acceptGesture (package:flutter/src/gestures/tap.dart:204:7)
#8      GestureArenaManager.sweep (package:flutter/src/gestures/arena.dart:156:27)
#9      _WidgetsFlutterBinding&amp;BindingBase&amp;GestureBinding.handleEvent (package:flutter/src/gestures/binding.dart:143:20)
#10     _WidgetsFlutterBinding&amp;BindingBase&amp;GestureBinding.dispatchEvent (package:flutter/src/gestures/binding.dart:117:22)
#11     _WidgetsFlutterBinding&amp;BindingBase&amp;GestureBinding._handlePointerEvent (package:flutter/src/gestures/binding.dart:97:7)
#12     _WidgetsFlutterBinding&amp;BindingBase&amp;GestureBinding._flushPointerEventQueue (package:flutter/src/gestures/binding.dart:60:7)
#13     _WidgetsFlutterBinding&amp;BindingBase&amp;GestureBinding._handlePointerDataPacket (package:flutter/src/gestures/binding.dart:44:7)
#14     _invoke1 (dart:ui/hooks.dart:159:13)
#15     _dispatchPointerDataPacket (dart:ui/hooks.dart:113:5)
</code></pre></div>
<p dir="auto">below is my AppDelegate.swift</p>
<div class="highlight highlight-source-swift notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="import UIKit
import Flutter
import FlutterPluginRegistrant

@UIApplicationMain
class AppDelegate: UIResponder, UIApplicationDelegate,FlutterAppLifeCycleProvider {
    
    let lifeCycleDelegate=FlutterPluginAppLifeCycleDelegate()
    
    func addApplicationLifeCycleDelegate(_ delegate: FlutterPlugin) {
        lifeCycleDelegate.add(delegate)
    }
    
    var rootFlutterViewController:FlutterViewController? {
        let viewController = UIApplication.shared.keyWindow?.rootViewController
        if viewController!.isKind(of: FlutterViewController.self) {
            return viewController as? FlutterViewController
        }
        return nil
    }
    
    
    var window: UIWindow?
    
    func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -&gt; Bool {
        // Override point for customization after application launch.
        if launchOptions == nil {
            return true
        }else {
            GeneratedPluginRegistrant.register(with: self as? FlutterPluginRegistry)
            return lifeCycleDelegate.application(application, didFinishLaunchingWithOptions: launchOptions!)
        }
    }
    
    func applicationWillResignActive(_ application: UIApplication) {
        // Sent when the application is about to move from active to inactive state. This can occur for certain types of temporary interruptions (such as an incoming phone call or SMS message) or when the user quits the application and it begins the transition to the background state.
        // Use this method to pause ongoing tasks, disable timers, and invalidate graphics rendering callbacks. Games should use this method to pause the game.
        lifeCycleDelegate.applicationWillResignActive(application)
    }
    
    func applicationDidEnterBackground(_ application: UIApplication) {
        // Use this method to release shared resources, save user data, invalidate timers, and store enough application state information to restore your application to its current state in case it is terminated later.
        // If your application supports background execution, this method is called instead of applicationWillTerminate: when the user quits.
        lifeCycleDelegate.applicationDidEnterBackground(application)
    }
    
    func applicationWillEnterForeground(_ application: UIApplication) {
        // Called as part of the transition from the background to the active state; here you can undo many of the changes made on entering the background.
        lifeCycleDelegate.applicationWillEnterForeground(application)
    }
    
    func applicationDidBecomeActive(_ application: UIApplication) {
        // Restart any tasks that were paused (or not yet started) while the application was inactive. If the application was previously in the background, optionally refresh the user interface.
        lifeCycleDelegate.applicationDidBecomeActive(application)
    }
    
    func applicationWillTerminate(_ application: UIApplication) {
        // Called when the application is about to terminate. Save data if appropriate. See also applicationDidEnterBackground:.
        lifeCycleDelegate.applicationWillTerminate(application)
    }
    
    
}"><pre class="notranslate"><span class="pl-k">import</span> <span class="pl-en">UIKit</span>
<span class="pl-k">import</span> <span class="pl-en">Flutter</span>
<span class="pl-k">import</span> <span class="pl-en">FlutterPluginRegistrant</span>

<span class="pl-k">@UIApplicationMain</span>
<span class="pl-k">class</span> <span class="pl-en">AppDelegate</span>: <span class="pl-e">UIResponder</span>, <span class="pl-e">UIApplicationDelegate</span>,<span class="pl-e">FlutterAppLifeCycleProvider </span>{
    
    <span class="pl-k">let</span> lifeCycleDelegate<span class="pl-k">=</span><span class="pl-c1">FlutterPluginAppLifeCycleDelegate</span>()
    
    <span class="pl-k">func</span> <span class="pl-en">addApplicationLifeCycleDelegate</span>(<span class="pl-en">_</span> <span class="pl-smi">delegate</span>: FlutterPlugin) {
        lifeCycleDelegate.<span class="pl-c1">add</span>(delegate)
    }
    
    <span class="pl-k">var</span> rootFlutterViewController:FlutterViewController<span class="pl-k">?</span> {
        <span class="pl-k">let</span> viewController <span class="pl-k">=</span> UIApplication.<span class="pl-smi">shared</span>.<span class="pl-smi">keyWindow</span><span class="pl-k">?</span>.<span class="pl-smi">rootViewController</span>
        <span class="pl-k">if</span> viewController<span class="pl-k">!</span>.<span class="pl-c1">isKind</span>(<span class="pl-c1">of</span>: FlutterViewController.<span class="pl-k">self</span>) {
            <span class="pl-k">return</span> viewController <span class="pl-k">as?</span> FlutterViewController
        }
        <span class="pl-k">return</span> <span class="pl-c1">nil</span>
    }
    
    
    <span class="pl-k">var</span> window: UIWindow<span class="pl-k">?</span>
    
    <span class="pl-k">func</span> <span class="pl-en">application</span>(<span class="pl-en">_</span> <span class="pl-smi">application</span>: UIApplication, <span class="pl-en">didFinishLaunchingWithOptions</span> <span class="pl-smi">launchOptions</span>: [UIApplication.LaunchOptionsKey: <span class="pl-c1">Any</span>]<span class="pl-k">?</span>) <span class="pl-k">-&gt;</span> <span class="pl-c1">Bool</span> {
        <span class="pl-c"><span class="pl-c">//</span> Override point for customization after application launch.</span>
<span class="pl-c"></span>        <span class="pl-k">if</span> launchOptions <span class="pl-k">==</span> <span class="pl-c1">nil</span> {
            <span class="pl-k">return</span> <span class="pl-c1">true</span>
        }<span class="pl-k">else</span> {
            GeneratedPluginRegistrant.<span class="pl-c1">register</span>(<span class="pl-c1">with</span>: <span class="pl-c1">self</span> <span class="pl-k">as?</span> FlutterPluginRegistry)
            <span class="pl-k">return</span> lifeCycleDelegate.<span class="pl-c1">application</span>(application, <span class="pl-c1">didFinishLaunchingWithOptions</span>: launchOptions<span class="pl-k">!</span>)
        }
    }
    
    <span class="pl-k">func</span> <span class="pl-en">applicationWillResignActive</span>(<span class="pl-en">_</span> <span class="pl-smi">application</span>: UIApplication) {
        <span class="pl-c"><span class="pl-c">//</span> Sent when the application is about to move from active to inactive state. This can occur for certain types of temporary interruptions (such as an incoming phone call or SMS message) or when the user quits the application and it begins the transition to the background state.</span>
<span class="pl-c"></span>        <span class="pl-c"><span class="pl-c">//</span> Use this method to pause ongoing tasks, disable timers, and invalidate graphics rendering callbacks. Games should use this method to pause the game.</span>
<span class="pl-c"></span>        lifeCycleDelegate.<span class="pl-c1">applicationWillResignActive</span>(application)
    }
    
    <span class="pl-k">func</span> <span class="pl-en">applicationDidEnterBackground</span>(<span class="pl-en">_</span> <span class="pl-smi">application</span>: UIApplication) {
        <span class="pl-c"><span class="pl-c">//</span> Use this method to release shared resources, save user data, invalidate timers, and store enough application state information to restore your application to its current state in case it is terminated later.</span>
<span class="pl-c"></span>        <span class="pl-c"><span class="pl-c">//</span> If your application supports background execution, this method is called instead of applicationWillTerminate: when the user quits.</span>
<span class="pl-c"></span>        lifeCycleDelegate.<span class="pl-c1">applicationDidEnterBackground</span>(application)
    }
    
    <span class="pl-k">func</span> <span class="pl-en">applicationWillEnterForeground</span>(<span class="pl-en">_</span> <span class="pl-smi">application</span>: UIApplication) {
        <span class="pl-c"><span class="pl-c">//</span> Called as part of the transition from the background to the active state; here you can undo many of the changes made on entering the background.</span>
<span class="pl-c"></span>        lifeCycleDelegate.<span class="pl-c1">applicationWillEnterForeground</span>(application)
    }
    
    <span class="pl-k">func</span> <span class="pl-en">applicationDidBecomeActive</span>(<span class="pl-en">_</span> <span class="pl-smi">application</span>: UIApplication) {
        <span class="pl-c"><span class="pl-c">//</span> Restart any tasks that were paused (or not yet started) while the application was inactive. If the application was previously in the background, optionally refresh the user interface.</span>
<span class="pl-c"></span>        lifeCycleDelegate.<span class="pl-c1">applicationDidBecomeActive</span>(application)
    }
    
    <span class="pl-k">func</span> <span class="pl-en">applicationWillTerminate</span>(<span class="pl-en">_</span> <span class="pl-smi">application</span>: UIApplication) {
        <span class="pl-c"><span class="pl-c">//</span> Called when the application is about to terminate. Save data if appropriate. See also applicationDidEnterBackground:.</span>
<span class="pl-c"></span>        lifeCycleDelegate.<span class="pl-c1">applicationWillTerminate</span>(application)
    }
    
    
}</pre></div>
<p dir="auto">I am trying to use this plugin <a href="https://pub.dartlang.org/packages/url_launcher" rel="nofollow">https://pub.dartlang.org/packages/url_launcher</a></p>