Switching between modals makes the provided callback null

Steps to Reproduce

Run flutter create bug.
Update main.dart as follows:

code sample
import 'package:flutter/material.dart';

void main() {
  return runApp(MyApp());
}

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Demo',
      home: Scaffold(
        body: Center(
          child: MainScreen(),
        ),
      ),
    );
  }
}

class MainScreen extends StatelessWidget {
  void _openScreen(BuildContext context, Widget screen) {
    showModalBottomSheet(
      context: context,
      isScrollControlled: true,
      builder: (_) => screen,
    );
  }

  @override
  Widget build(BuildContext context) {
    return Column(
      crossAxisAlignment: CrossAxisAlignment.center,
      mainAxisAlignment: MainAxisAlignment.center,
      children: [
        CustomButton(
          text: "Open Screen 1",
          onPressed: () => _openScreen(context, Screen1(
            onNavToScreen2: () {
              Navigator.pop(context);
              _openScreen(context, Screen2());
            },
          )),
        ),
        CustomButton(
          text: "Open Screen 2",
          onPressed: () => _openScreen(context, Screen2(
            onNavToScreen1: () {
                        print('Test');

              Navigator.pop(context);
              _openScreen(context, Screen1());
            },
          )),
        ),
      ],
    );
  }
}

class Screen1 extends StatelessWidget {
  final VoidCallback onNavToScreen2;

  const Screen1({this.onNavToScreen2});

  @override
  Widget build(BuildContext context) {
    return Center(
      child: CustomButton(
        text: "Button in Screen 1",
        onPressed: () {
          print("Button pressed in screen 1");
          onNavToScreen2();
        },
      ),
    );
  }
}

class Screen2 extends StatelessWidget {
  final VoidCallback onNavToScreen1;

  const Screen2({this.onNavToScreen1});

  @override
  Widget build(BuildContext context) {
    return Center(
      child: CustomButton(
        text: "Button in Screen 2",
        onPressed: () {
          print("Button pressed in screen 2");
          onNavToScreen1();
        },
      ),
    );
  }
}

class CustomButton extends StatelessWidget {
  final VoidCallback onPressed;
  final String text;

  const CustomButton({this.onPressed, this.text = "A button"});

  Widget build(BuildContext context) {
    return GestureDetector(
      onTap: () {
        onPressed();
      },
      child: Container(
        height: 50,
        child: Text(text, style: TextStyle(color: Colors.black)),
      ),
    );
  }
}

Click Open Screen 1. Then on Screen1, click Button in Screen 1 which will navigate to Screen2. Now click Button in Screen 2 it will not navigate to Screen1 and onNavToScreen1 callback becomes null.

Logs
[✓] Flutter (Channel stable, 1.22.5, on macOS 11.1 20C69 darwin-x64, locale
    en-US)
    • Flutter version 1.22.5 at /Users/axel/development/tools/flutter
    • Framework revision<PHONE_NUMBER> (7 weeks ago), 2020-12-10 11:54:40 -0800
    • Engine revision ae90085a84
    • Dart version 2.10.4

[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
    • Android SDK at /Users/axel/Library/Android/sdk
    • Platform android-29, build-tools 29.0.2
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6222593)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 12.3)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 12.3, Build version 12C33
    • CocoaPods version 1.8.4

[!] Android Studio (version 4.0)
    • Android Studio at /Applications/Android Studio.app/Contents
    ✗ Flutter plugin not installed; this adds Flutter specific functionality.
    ✗ Dart plugin not installed; this adds Dart specific functionality.
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6222593)

[✓] VS Code (version 1.52.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.18.1

[✓] Connected device (1 available)
    • iPhone 12 Pro Max (mobile) • A2D7546A-0E0D-430F-92F0-F9EF1ADBEFF9 • ios • com.apple.CoreSimulator.SimRuntime.iOS-14-2 (simulator)

! Doctor found issues in 1 category.

Hi @sanjade
Thanks for filing the issue, I can reproduce it

code sample
import 'package:flutter/material.dart';

void main() {
  return runApp(MyApp());
}

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Demo',
      home: Scaffold(
        body: Center(
          child: MainScreen(),
        ),
      ),
    );
  }
}

class MainScreen extends StatelessWidget {
  void _openScreen(BuildContext context, Widget screen) {
    showModalBottomSheet(
      context: context,
      isScrollControlled: true,
      builder: (_) => screen,
    );
  }

  @override
  Widget build(BuildContext context) {
    return Column(
      crossAxisAlignment: CrossAxisAlignment.center,
      mainAxisAlignment: MainAxisAlignment.center,
      children: [
        CustomButton(
          text: "Open Screen 1",
          onPressed: () => _openScreen(context, Screen1(
            onNavToScreen2: () {
              Navigator.pop(context);
              _openScreen(context, Screen2());
            },
          )),
        ),
        CustomButton(
          text: "Open Screen 2",
          onPressed: () => _openScreen(context, Screen2(
            onNavToScreen1: () {
              print('Test');

              Navigator.pop(context);
              _openScreen(context, Screen1());
            },
          )),
        ),
      ],
    );
  }
}

class Screen1 extends StatelessWidget {
  final VoidCallback onNavToScreen2;

  const Screen1({this.onNavToScreen2});

  @override
  Widget build(BuildContext context) {
    return Center(
      child: CustomButton(
        text: "Button in Screen 1",
        onPressed: () {
          print("Button pressed in screen 1");
          onNavToScreen2();
        },
      ),
    );
  }
}

class Screen2 extends StatelessWidget {
  final VoidCallback onNavToScreen1;

  const Screen2({this.onNavToScreen1});

  @override
  Widget build(BuildContext context) {
    return Center(
      child: CustomButton(
        text: "Button in Screen 2",
        onPressed: () {
          print("Button pressed in screen 2");
          onNavToScreen1();
        },
      ),
    );
  }
}

class CustomButton extends StatelessWidget {
  final VoidCallback onPressed;
  final String text;

  const CustomButton({this.onPressed, this.text = "A button"});

  Widget build(BuildContext context) {
    return GestureDetector(
      onTap: () {
        onPressed();
      },
      child: Container(
        height: 50,
        child: Text(text, style: TextStyle(color: Colors.black)),
      ),
    );
  }
}

logs
[  +92 ms] executing: [/Users/tahatesser/Code/flutter_master/] git -c log.showSignature=false log -n 1 --pretty=format:%H
[  +51 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H
[   +3 ms] 71aec53acbe66a2a423d3658d333c8cbb31f979a
[        ] executing: [/Users/tahatesser/Code/flutter_master/] git tag --points-at 71aec53acbe66a2a423d3658d333c8cbb31f979a
[  +88 ms] Exit code 0 from: git tag --points-at 71aec53acbe66a2a423d3658d333c8cbb31f979a
[   +1 ms] executing: [/Users/tahatesser/Code/flutter_master/] git describe --match *.*.* --long --tags 71aec53acbe66a2a423d3658d333c8cbb31f979a
[  +69 ms] Exit code 0 from: git describe --match *.*.* --long --tags 71aec53acbe66a2a423d3658d333c8cbb31f979a
[        ] 1.26.0-12.0.pre-194-g71aec53acb
[  +54 ms] executing: [/Users/tahatesser/Code/flutter_master/] git rev-parse --abbrev-ref --symbolic @{u}
[  +12 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[        ] origin/master
[        ] executing: [/Users/tahatesser/Code/flutter_master/] git ls-remote --get-url origin
[  +10 ms] Exit code 0 from: git ls-remote --get-url origin
[        ] https://github.com/flutter/flutter.git
[  +53 ms] executing: [/Users/tahatesser/Code/flutter_master/] git rev-parse --abbrev-ref HEAD
[  +12 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[        ] master
[   +6 ms] executing: sw_vers -productName
[  +21 ms] Exit code 0 from: sw_vers -productName
[        ] macOS
[        ] executing: sw_vers -productVersion
[  +15 ms] Exit code 0 from: sw_vers -productVersion
[        ] 11.1
[        ] executing: sw_vers -buildVersion
[  +16 ms] Exit code 0 from: sw_vers -buildVersion
[        ] 20C69
[  +12 ms] executing: sysctl hw.optional.arm64
[  +10 ms] Exit code 1 from: sysctl hw.optional.arm64
[        ] sysctl: unknown oid 'hw.optional.arm64'
[  +53 ms] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[   +3 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[   +6 ms] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[  +53 ms] executing: /Volumes/Extreme/SDK/platform-tools/adb devices -l
[   +7 ms] executing: /usr/bin/xcode-select --print-path
[   +6 ms] Exit code 0 from: /usr/bin/xcode-select --print-path
[        ] /Volumes/Extreme/Xcode.app/Contents/Developer
[   +6 ms] executing: sysctl hw.optional.arm64
[   +5 ms] Exit code 1 from: sysctl hw.optional.arm64
[        ] sysctl: unknown oid 'hw.optional.arm64'
[        ] executing: xcrun xcodebuild -version
[+3324 ms] Exit code 0 from: xcrun xcodebuild -version
[   +1 ms] Xcode 12.3
           Build version 12C33
[   +3 ms] executing: xcrun xcdevice list --timeout 2
[   +5 ms] xcrun simctl list --json devices
[        ] executing: xcrun simctl list --json devices
[  +66 ms] List of devices attached
           emulator-5554          device product:sdk_gphone_x86 model:Android_SDK_built_for_x86 device:generic_x86 transport_id:3
[ +107 ms] {
             "devices" : {
               "com.apple.CoreSimulator.SimRuntime.tvOS-14-3" : [

               ],
               "com.apple.CoreSimulator.SimRuntime.watchOS-7-2" : [

               ],
               "com.apple.CoreSimulator.SimRuntime.iOS-14-3" : [
                 {
                   "dataPath" : "\/Users\/tahatesser\/Library\/Developer\/CoreSimulator\/Devices\/DC25925E-876C-4CFE-A2F7-0640782D22A5\/data",
                   "logPath" : "\/Users\/tahatesser\/Library\/Logs\/CoreSimulator\/DC25925E-876C-4CFE-A2F7-0640782D22A5",
                   "udid" : "DC25925E-876C-4CFE-A2F7-0640782D22A5",
                   "isAvailable" : true,
                   "deviceTypeIdentifier" : "com.apple.CoreSimulator.SimDeviceType.iPhone-12-Pro-Max",
                   "state" : "Shutdown",
                   "name" : "iPhone 12 Pro Max"
                 }
               ]
             }
           }
[+5846 ms] [
             {
               "simulator" : true,
               "operatingSystemVersion" : "14.3 (18C61)",
               "available" : true,
               "platform" : "com.apple.platform.iphonesimulator",
               "modelCode" : "iPhone13,4",
               "identifier" : "DC25925E-876C-4CFE-A2F7-0640782D22A5",
               "architecture" : "x86_64",
               "modelUTI" : "com.apple.iphone-12-pro-max-1",
               "modelName" : "iPhone 12 Pro Max",
               "name" : "iPhone 12 Pro Max"
             },
             {
               "simulator" : false,
               "operatingSystemVersion" : "14.3 (18C66)",
               "interface" : "usb",
               "available" : true,
               "platform" : "com.apple.platform.iphoneos",
               "modelCode" : "iPad11,6",
               "identifier" : "00008020-000255113EE8402E",
               "architecture" : "arm64e",
               "modelUTI" : "com.apple.ipad-8-wifi-1",
               "modelName" : "iPad (8th generation)",
               "name" : "Taha’s iPad"
             }
           ]
[   +8 ms] /Volumes/Extreme/SDK/platform-tools/adb -s emulator-5554 shell getprop
[  +48 ms] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[   +2 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[ +105 ms] Skipping pub get: version match.
[ +164 ms] Generating /Users/tahatesser/AndroidStudioProjects/master_flutter/android/app/src/main/java/io/flutter/plugins/GeneratedPluginRegistrant.java
[  +70 ms] ro.hardware = ranchu
[  +14 ms] Using hardware rendering with device Android SDK built for x86. If you notice graphics artifacts, consider enabling software rendering with "--enable-software-rendering".
[  +27 ms] Initializing file store
[  +12 ms] Skipping target: gen_localizations
[  +11 ms] complete
[   +5 ms] Launching lib/main.dart on Android SDK built for x86 in debug mode...
[   +6 ms] /Users/tahatesser/Code/flutter_master/bin/cache/dart-sdk/bin/dart --disable-dart-dev /Users/tahatesser/Code/flutter_master/bin/cache/artifacts/engine/darwin-x64/frontend_server.dart.snapshot --sdk-root /Users/tahatesser/Code/flutter_master/bin/cache/artifacts/engine/common/flutter_patched_sdk/ --incremental --target=flutter --debugger-module-names --experimental-emit-debug-metadata -DFLUTTER_WEB_AUTO_DETECT=true --output-dill /var/folders/37/jzy2jdc16sb3p89cn_6g967c0000gn/T/flutter_tools.zr98z6/flutter_tool.vpAnBT/app.dill --packages /Users/tahatesser/AndroidStudioProjects/master_flutter/.dart_tool/package_config.json -Ddart.vm.profile=false -Ddart.vm.product=false --enable-asserts --track-widget-creation --filesystem-scheme org-dartlang-root --initialize-from-dill build/f245b0b7cc30f460f818fcec6bcf01fb.cache.dill.track.dill --flutter-widget-cache --enable-experiment=alternative-invalidation-strategy
[  +20 ms] executing: /Volumes/Extreme/SDK/platform-tools/adb -s emulator-5554 shell -x logcat -v time -t 1
[  +14 ms] <- compile package:triage/main.dart
[  +50 ms] --------- beginning of main
           01-27 23:54:26.048 E/GnssHAL_GnssInterface( 1794): gnssSvStatusCb: b: input svInfo.flags is 8
[  +16 ms] executing: /Volumes/Extreme/SDK/platform-tools/adb version
[   +9 ms] Android Debug Bridge version 1.0.41
           Version 30.0.5-6877874
           Installed as /Volumes/Extreme/SDK/platform-tools/adb
[   +3 ms] executing: /Volumes/Extreme/SDK/platform-tools/adb start-server
[  +18 ms] Building APK
[  +23 ms] Running Gradle task 'assembleDebug'...
[   +4 ms] Using gradle from /Users/tahatesser/AndroidStudioProjects/master_flutter/android/gradlew.
[        ] /Users/tahatesser/AndroidStudioProjects/master_flutter/android/gradlew mode: 33261 rwxr-xr-x.
[   +9 ms] executing: /usr/bin/plutil -convert json -o - /Applications/Android Studio.app/Contents/Info.plist
[  +19 ms] Exit code 0 from: /usr/bin/plutil -convert json -o - /Applications/Android Studio.app/Contents/Info.plist
[        ] {"CFBundleName":"Android Studio","JVMOptions":{"ClassPath":"$APP_PACKAGE\/Contents\/lib\/bootstrap.jar:$APP_PACKAGE\/Contents\/lib\/extensions.jar:$APP_PACKAGE\/Contents\/lib\/util.jar:$APP_PACKAGE\/Contents\/lib\/jdom.jar:$APP_PACKAGE\/Contents\/lib\/log4j.jar:$APP_PACKAGE\/Contents\/lib\/trove4j.jar:$APP_PACKAGE\/Contents\/lib\/jna.jar","JVMVersion":"1.8*,1.8+","MainClass":"com.intellij.idea.Main","Properties":{"idea.paths.selector":"AndroidStudio4.1","idea.executable":"studio","idea.platform.prefix":"AndroidStudio","idea.vendor.name":"Google","idea.home.path":"$APP_PACKAGE\/Contents"}},"NSDesktopFolderUsageDescription":"An application in Android Studio requests access to the user's Desktop folder.","LSArchitecturePriority":["x86_64"],"CFBundleVersion":"AI-201.87<IP_ADDRESS>42882","CFBundleDevelopmentRegion":"English","NSCameraUsageDescription":"An application in Android Studio requests access to the device's camera.","CFBundleDocumentTypes":[{"CFBundleTypeName":"Android Studio Project File","CFBundleTypeExtensions":["ipr"],"CFBundleTypeRole":"Editor","CFBundleTypeIconFile":"studio.icns"},{"CFBundleTypeName":"All documents","CFBundleTypeExtensions":["*"],"CFBundleTypeOSTypes":["****"],"CFBundleTypeRole":"Editor","LSTypeIsPackage":false}],"NSSupportsAutomaticGraphicsSwitching":true,"CFBundlePackageType":"APPL","CFBundleIconFile":"studio.icns","NSHighResolutionCapable":true,"CFBundleShortVersionString":"4.1","NSMicrophoneUsageDescription":"An application in Android Studio requests access to the device's microphone.","CFBundleInfoDictionaryVersion":"6.0","CFBundleExecutable":"studio","NSLocationUsageDescription":"An application in Android Studio requests access to the user's location information.","LSRequiresNativeExecution":"YES","CFBundleURLTypes":[{"CFBundleTypeRole":"Editor","CFBundleURLName":"Stacktrace","CFBundleURLSchemes":["idea"]}],"CFBundleIdentifier":"com.google.android.studio","LSApplicationCategoryType":"public.app-category.developer-tools","CFBundleSignature":"????","LSMinimumSystemVersion":"10.8","NSDocumentsFolderUsageDescription":"An application in Android Studio requests access to the user's Documents folder.","NSDownloadsFolderUsageDescription":"An application in Android Studio requests access to the user's Downloads folder.","NSNetworkVolumesUsageDescription":"An application in Android Studio requests access to files on a network volume.","CFBundleGetInfoString":"Android Studio 4.1, build AI-201.87<IP_ADDRESS>42882. Copyright JetBrains s.r.o., (c) 2000-2020","NSRemovableVolumesUsageDescription":"An application in Android Studio requests access to files on a removable volume."}
[   +2 ms] executing: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java -version
[ +207 ms] Exit code 0 from: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java -version
[        ] openjdk version "1.8.0_242-release"
           OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)
           OpenJDK 64-Bit Server VM (build 25.242-b3-6915495, mixed mode)
[   +2 ms] executing: [/Users/tahatesser/AndroidStudioProjects/master_flutter/android/] /Users/tahatesser/AndroidStudioProjects/master_flutter/android/gradlew -Pverbose=true -Ptarget-platform=android-x86 -Ptarget=/Users/tahatesser/AndroidStudioProjects/master_flutter/lib/main.dart -Ptrack-widget-creation=true -Pfilesystem-scheme=org-dartlang-root -Pdart-defines=FLUTTER_WEB_AUTO_DETECT%3Dtrue assembleDebug
[+4086 ms] > Task :app:compileFlutterBuildDebug
[        ] [  +92 ms] executing: [/Users/tahatesser/Code/flutter_master/] git -c log.showSignature=false log -n 1 --pretty=format:%H
[        ] [  +55 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H
[        ] [        ] 71aec53acbe66a2a423d3658d333c8cbb31f979a
[        ] [        ] executing: [/Users/tahatesser/Code/flutter_master/] git tag --points-at 71aec53acbe66a2a423d3658d333c8cbb31f979a
[        ] [ +110 ms] Exit code 0 from: git tag --points-at 71aec53acbe66a2a423d3658d333c8cbb31f979a
[        ] [   +2 ms] executing: [/Users/tahatesser/Code/flutter_master/] git describe --match *.*.* --long --tags 71aec53acbe66a2a423d3658d333c8cbb31f979a
[        ] [  +79 ms] Exit code 0 from: git describe --match *.*.* --long --tags 71aec53acbe66a2a423d3658d333c8cbb31f979a
[        ] [        ] 1.26.0-12.0.pre-194-g71aec53acb
[        ] [  +57 ms] executing: [/Users/tahatesser/Code/flutter_master/] git rev-parse --abbrev-ref --symbolic @{u}
[        ] [  +12 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[        ] [        ] origin/master
[        ] [        ] executing: [/Users/tahatesser/Code/flutter_master/] git ls-remote --get-url origin
[        ] [  +11 ms] Exit code 0 from: git ls-remote --get-url origin
[        ] [        ] https://github.com/flutter/flutter.git
[        ] [  +52 ms] executing: [/Users/tahatesser/Code/flutter_master/] git rev-parse --abbrev-ref HEAD
[        ] [  +12 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[        ] [        ] master
[        ] [  +43 ms] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[        ] [   +2 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[        ] [  +45 ms] Artifact Instance of 'MaterialFonts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'GradleWrapper' is not required, skipping update.
[        ] [        ] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FlutterSdk' is not required, skipping update.
[        ] [        ] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] [   +6 ms] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[        ] [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FontSubsetArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'PubDependencies' is not required, skipping update.
[        ] [  +83 ms] Initializing file store
[        ] [  +16 ms] Skipping target: gen_localizations
[        ] [   +6 ms] kernel_snapshot: Starting due to {}
[   +1 ms] [  +12 ms] /Users/tahatesser/Code/flutter_master/bin/cache/dart-sdk/bin/dart --disable-dart-dev /Users/tahatesser/Code/flutter_master/bin/cache/artifacts/engine/darwin-x64/frontend_server.dart.snapshot --sdk-root /Users/tahatesser/Code/flutter_master/bin/cache/artifacts/engine/common/flutter_patched_sdk/ --target=flutter --no-print-incremental-dependencies -DFLUTTER_WEB_AUTO_DETECT=true -Ddart.vm.profile=false -Ddart.vm.product=false --enable-asserts --track-widget-creation --no-link-platform --packages /Users/tahatesser/AndroidStudioProjects/master_flutter/.dart_tool/package_config.json --output-dill /Users/tahatesser/AndroidStudioProjects/master_flutter/.dart_tool/flutter_build/26be4a206ff7d021966f685d0d5b8182/app.dill --depfile /Users/tahatesser/AndroidStudioProjects/master_flutter/.dart_tool/flutter_build/26be4a206ff7d021966f685d0d5b8182/kernel_snapshot.d package:triage/main.dart
[+7464 ms] [+8260 ms] kernel_snapshot: Complete
[ +402 ms] [ +432 ms] debug_android_application: Starting due to {}
[ +199 ms] [ +188 ms] debug_android_application: Complete
[ +500 ms] [ +488 ms] Persisting file store
[        ] [   +6 ms] Done persisting file store
[        ] [   +5 ms] build succeeded.
[        ] [  +12 ms] "flutter assemble" took 9,579ms.
[        ] [   +3 ms] ensureAnalyticsSent: 0ms
[        ] [   +1 ms] Running shutdown hooks
[        ] [        ] Shutdown hooks complete
[        ] [        ] exiting with code 0
[  +98 ms] > Task :app:packLibsflutterBuildDebug
[        ] > Task :app:preBuild UP-TO-DATE
[        ] > Task :app:preDebugBuild UP-TO-DATE
[        ] > Task :app:compileDebugAidl NO-SOURCE
[        ] > Task :app:compileDebugRenderscript NO-SOURCE
[        ] > Task :app:generateDebugBuildConfig
[  +99 ms] > Task :app:checkDebugAarMetadata
[        ] > Task :app:cleanMergeDebugAssets UP-TO-DATE
[        ] > Task :app:mergeDebugShaders
[        ] > Task :app:compileDebugShaders NO-SOURCE
[        ] > Task :app:generateDebugAssets UP-TO-DATE
[        ] > Task :app:mergeDebugAssets
[ +298 ms] > Task :app:copyFlutterAssetsDebug
[        ] > Task :app:generateDebugResValues
[        ] > Task :app:generateDebugResources
[ +196 ms] > Task :app:createDebugCompatibleScreenManifests
[        ] > Task :app:extractDeepLinksDebug
[        ] > Task :app:mergeDebugResources
[  +99 ms] > Task :app:processDebugMainManifest
[        ] > Task :app:processDebugManifest
[        ] > Task :app:mergeDebugNativeDebugMetadata NO-SOURCE
[        ] > Task :app:javaPreCompileDebug
[        ] > Task :app:processDebugJavaRes NO-SOURCE
[  +98 ms] > Task :app:checkDebugDuplicateClasses
[ +502 ms] > Task :app:compressDebugAssets
[  +96 ms] > Task :app:mergeDebugJniLibFolders
[        ] > Task :app:validateSigningDebug
[ +103 ms] > Task :app:processDebugManifestForPackage
[  +99 ms] > Task :app:desugarDebugFileDependencies
[ +199 ms] > Task :app:processDebugResources
[ +899 ms] > Task :app:mergeDebugNativeLibs
[ +299 ms] > Task :app:compileDebugKotlin
[ +501 ms] > Task :app:compileDebugJavaWithJavac
[        ] > Task :app:compileDebugSources
[  +99 ms] > Task :app:dexBuilderDebug
[ +397 ms] > Task :app:mergeDebugJavaResource
[ +101 ms] > Task :app:stripDebugDebugSymbols
[        ] Unable to strip the following libraries, packaging them as they are: libflutter.so.
[ +101 ms] > Task :app:mergeExtDexDebug
[ +396 ms] > Task :app:mergeDexDebug
[+1603 ms] > Task :app:packageDebug
[  +99 ms] > Task :app:assembleDebug
[  +41 ms] Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0.
[        ] Use '--warning-mode all' to show the individual deprecation warnings.
[        ] See https://docs.gradle.org/6.7/userguide/command_line_interface.html#sec:command_line_warnings
[        ] BUILD SUCCESSFUL in 18s
[        ] 32 actionable tasks: 31 executed, 1 up-to-date
[ +376 ms] Running Gradle task 'assembleDebug'... (completed in 19.7s)
[  +50 ms] calculateSha: LocalDirectory: '/Users/tahatesser/AndroidStudioProjects/master_flutter/build/app/outputs/flutter-apk'/app.apk
[  +25 ms] calculateSha: reading file took 23us
[ +488 ms] calculateSha: computing sha took 487us
[   +3 ms] ✓ Built build/app/outputs/flutter-apk/app-debug.apk.
[   +6 ms] executing: /Volumes/Extreme/SDK/build-tools/30.0.3/aapt dump xmltree /Users/tahatesser/AndroidStudioProjects/master_flutter/build/app/outputs/flutter-apk/app.apk AndroidManifest.xml
[  +78 ms] Exit code 0 from: /Volumes/Extreme/SDK/build-tools/30.0.3/aapt dump xmltree /Users/tahatesser/AndroidStudioProjects/master_flutter/build/app/outputs/flutter-apk/app.apk AndroidManifest.xml
[        ] N: android=http://schemas.android.com/apk/res/android
             E: manifest (line=2)
               A: android:versionCode(0x0101021b)=(type 0x10)0x1
               A: android:versionName(0x0101021c)="1.0.0" (Raw: "1.0.0")
               A: android:compileSdkVersion(0x01010572)=(type 0x10)0x1e
               A: android:compileSdkVersionCodename(0x01010573)="11" (Raw: "11")
               A: package="com.nevercode.triage" (Raw: "com.nevercode.triage")
               A: platformBuildVersionCode=(type 0x10)0x1e
               A: platformBuildVersionName=(type 0x10)0xb
               E: uses-sdk (line=7)
                 A: android:minSdkVersion(0x0101020c)=(type 0x10)0x10
                 A: android:targetSdkVersion(0x01010270)=(type 0x10)0x1e
               E: uses-permission (line=14)
                 A: android:name(0x01010003)="android.permission.INTERNET" (Raw: "android.permission.INTERNET")
               E: application (line=16)
                 A: android:label(0x01010001)="triage" (Raw: "triage")
                 A: android:icon(0x01010002)=@0x7f080000
                 A: android:debuggable(0x0101000f)=(type 0x12)0xffffffff
                 A: android:appComponentFactory(0x0101057a)="androidx.core.app.CoreComponentFactory" (Raw: "androidx.core.app.CoreComponentFactory")
                 E: activity (line=21)
                   A: android:theme(0x01010000)=@0x7f0a0000
                   A: android:name(0x01010003)="com.nevercode.triage.MainActivity" (Raw: "com.nevercode.triage.MainActivity")
                   A: android:launchMode(0x0101001d)=(type 0x10)0x1
                   A: android:configChanges(0x0101001f)=(type 0x11)0x40003fb4
                   A: android:windowSoftInputMode(0x0101022b)=(type 0x11)0x10
                   A: android:hardwareAccelerated(0x010102d3)=(type 0x12)0xffffffff
                   E: meta-data (line=35)
                     A: android:name(0x01010003)="io.flutter.embedding.android.NormalTheme" (Raw: "io.flutter.embedding.android.NormalTheme")
                     A: android:resource(0x01010025)=@0x7f0a0001
                   E: meta-data (line=45)
                     A: android:name(0x01010003)="io.flutter.embedding.android.SplashScreenDrawable" (Raw: "io.flutter.embedding.android.SplashScreenDrawable")
                     A: android:resource(0x01010025)=@0x7f040000
                   E: intent-filter (line=49)
                     E: action (line=50)
                       A: android:name(0x01010003)="android.intent.action.MAIN" (Raw: "android.intent.action.MAIN")
                     E: category (line=52)
                       A: android:name(0x01010003)="android.intent.category.LAUNCHER" (Raw: "android.intent.category.LAUNCHER")
                 E: meta-data (line=59)
                   A: android:name(0x01010003)="flutterEmbedding" (Raw: "flutterEmbedding")
                   A: android:value(0x01010024)=(type 0x10)0x2
[   +5 ms] Stopping app 'app.apk' on Android SDK built for x86.
[        ] executing: /Volumes/Extreme/SDK/platform-tools/adb -s emulator-5554 shell am force-stop com.nevercode.triage
[  +80 ms] executing: /Volumes/Extreme/SDK/platform-tools/adb -s emulator-5554 shell pm list packages com.nevercode.triage
[  +83 ms] package:com.nevercode.triage
[   +2 ms] executing: /Volumes/Extreme/SDK/platform-tools/adb -s emulator-5554 shell cat /data/local/tmp/sky.com.nevercode.triage.sha1
[  +29 ms] 2f86729be055f5b50b76075ee87b7a52fd6a4879
[        ] Installing APK.
[   +1 ms] Installing build/app/outputs/flutter-apk/app.apk...
[        ] executing: /Volumes/Extreme/SDK/platform-tools/adb -s emulator-5554 install -t -r /Users/tahatesser/AndroidStudioProjects/master_flutter/build/app/outputs/flutter-apk/app.apk
[+1012 ms] Performing Streamed Install
           Success
[   +2 ms] Installing build/app/outputs/flutter-apk/app.apk... (completed in 1,013ms)
[   +1 ms] executing: /Volumes/Extreme/SDK/platform-tools/adb -s emulator-5554 shell echo -n fc8a80b9eadb185eec01940ef2c1b280f9ffd620 > /data/local/tmp/sky.com.nevercode.triage.sha1
[  +31 ms] executing: /Volumes/Extreme/SDK/platform-tools/adb -s emulator-5554 shell -x logcat -v time -t 1
[  +63 ms] --------- beginning of system
           01-27 23:54:47.847 W/BroadcastQueue( 2042): Background execution not allowed: receiving Intent { act=android.intent.action.PACKAGE_REMOVED dat=package:com.nevercode.triage flg=0x4000010 (has extras) } to com.google.android.googlequicksearchbox/com.google.android.apps.gsa.googlequicksearchbox.GelStubAppWatcher
[  +12 ms] executing: /Volumes/Extreme/SDK/platform-tools/adb -s emulator-5554 shell am start -a android.intent.action.RUN -f 0x20000000 --ez enable-background-compilation true --ez enable-dart-profiling true --ez enable-checked-mode true --ez verify-entry-points true com.nevercode.triage/com.nevercode.triage.MainActivity
[ +115 ms] Starting: Intent { act=android.intent.action.RUN flg=0x20000000 cmp=com.nevercode.triage/.MainActivity (has extras) }
[   +1 ms] Waiting for observatory port to be available...
[+1535 ms] Observatory URL on device: http://<IP_ADDRESS>:38379/9zcA1ddPZV4=/
[   +1 ms] executing: /Volumes/Extreme/SDK/platform-tools/adb -s emulator-5554 forward tcp:0 tcp:38379
[  +19 ms] 59864
[        ] Forwarded host port 59864 to device port 38379 for Observatory
[   +7 ms] Caching compiled dill
[ +116 ms] Connecting to service protocol: http://<IP_ADDRESS>:59864/9zcA1ddPZV4=/
[ +287 ms] Launching a Dart Developer Service (DDS) instance at http://<IP_ADDRESS>:0, connecting to VM service at http://<IP_ADDRESS>:59864/9zcA1ddPZV4=/.
[ +202 ms] DDS is listening at http://<IP_ADDRESS>:59869/41JxYG4cu58=/.
[  +62 ms] Successfully connected to service protocol: http://<IP_ADDRESS>:59864/9zcA1ddPZV4=/
[ +964 ms] DevFS: Creating new filesystem on the device (null)
[  +30 ms] DevFS: Created new filesystem on the device (file:///data/user/0/com.nevercode.triage/code_cache/master_flutterSWZWDI/master_flutter/)
[   +4 ms] Updating assets
[  +87 ms] Syncing files to device Android SDK built for x86...
[   +1 ms] <- reset
[        ] Compiling dart to kernel with 0 updated files
[   +2 ms] <- recompile package:triage/main.dart 203aded5-d5da-4abf-89e6-e1c51c077581
[        ] <- 203aded5-d5da-4abf-89e6-e1c51c077581
[ +131 ms] Updating files.
[        ] DevFS: Sync finished
[        ] Syncing files to device Android SDK built for x86... (completed in 136ms)
[   +1 ms] Synced 0.0MB.
[   +1 ms] <- accept
[  +28 ms] Connected to _flutterView/0xd13ff010.
[   +1 ms] Flutter run key commands.
[   +3 ms] r Hot reload. 🔥🔥🔥
[   +1 ms] R Hot restart.
[        ] h Repeat this help message.
[        ] d Detach (terminate "flutter run" but leave application running).
[        ] c Clear the screen
[        ] q Quit (terminate the application on the device).
[        ] An Observatory debugger and profiler on Android SDK built for x86 is available at: http://<IP_ADDRESS>:59869/41JxYG4cu58=/
[   +1 ms]
           Flutter DevTools, a Flutter debugger and profiler, on Android SDK built for x86 is available at: http://<IP_ADDRESS>:9100?uri=http%3A%2F%2F<IP_ADDRESS>%3A59869%2F41JxYG4cu58%3D%2F
[        ] Running with unsound null safety
[        ] For more information see https://dart.dev/null-safety/unsound-null-safety
[+5498 ms] I/flutter (10686): Button pressed in screen 1
[ +661 ms] I/flutter (10686): Button pressed in screen 2
[ +129 ms]
           ══╡ EXCEPTION CAUGHT BY GESTURE ╞═══════════════════════════════════════════════════════════════════
           The following NoSuchMethodError was thrown while handling a gesture:
           The method 'call' was called on null.
           Receiver: null
           Tried calling: call()

           When the exception was thrown, this was the stack:
           #0      Screen2.build.<anonymous closure> (package:triage/main.dart:92:25)
           #1      CustomButton.build.<anonymous closure> (package:triage/main.dart:108:18)
           #2      GestureRecognizer.invokeCallback (package:flutter/src/gestures/recognizer.dart:182:24)
           #3      TapGestureRecognizer.handleTapUp (package:flutter/src/gestures/tap.dart:607:11)
           #4      BaseTapGestureRecognizer._checkUp (package:flutter/src/gestures/tap.dart:296:5)
           #5      BaseTapGestureRecognizer.acceptGesture (package:flutter/src/gestures/tap.dart:267:7)
           #6      GestureArenaManager.sweep (package:flutter/src/gestures/arena.dart:157:27)
           #7      GestureBinding.handleEvent (package:flutter/src/gestures/binding.dart:385:20)
           #8      GestureBinding.dispatchEvent (package:flutter/src/gestures/binding.dart:361:22)
           #9      RendererBinding.dispatchEvent (package:flutter/src/rendering/binding.dart:278:11)
           #10     GestureBinding._handlePointerEventImmediately (package:flutter/src/gestures/binding.dart:316:7)
           #11     GestureBinding.handlePointerEvent (package:flutter/src/gestures/binding.dart:280:5)
           #12     GestureBinding._flushPointerEventQueue (package:flutter/src/gestures/binding.dart:238:7)
           #13     GestureBinding._handlePointerDataPacket (package:flutter/src/gestures/binding.dart:221:7)
           #17     _invoke1 (dart:ui/hooks.dart:180:10)
           #18     PlatformDispatcher._dispatchPointerDataPacket (dart:ui/platform_dispatcher.dart:276:7)
           #19     _dispatchPointerDataPacket (dart:ui/hooks.dart:96:31)
           (elided 3 frames from dart:async)

           Handler: "onTap"
           Recognizer:
             TapGestureRecognizer#da9d9
           ════════════════════════════════════════════════════════════════════════════════════════════════════
[ +136 ms]
           Another exception was thrown: NoSuchMethodError: The method 'call' was called on null.
[ +184 ms]
           Another exception was thrown: NoSuchMethodError: The method 'call' was called on null.
[  +54 ms] I/chatty  (10686): uid=10136(com.nevercode.triage) 1.ui identical 1 line
[   +4 ms] I/flutter (10686): Button pressed in screen 2
[ +655 ms] I/flutter (10686): Button pressed in screen 2
[  +14 ms]
           Another exception was thrown: NoSuchMethodError: The method 'call' was called on null.
[ +147 ms]
           Another exception was thrown: NoSuchMethodError: The method 'call' was called on null.
[ +152 ms]
           Another exception was thrown: NoSuchMethodError: The method 'call' was called on null.
[  +26 ms] I/chatty  (10686): uid=10136(com.nevercode.triage) 1.ui identical 1 line
[        ] I/flutter (10686): Button pressed in screen 2
[  +84 ms] I/flutter (10686): Button pressed in screen 2
[  +12 ms]
           Another exception was thrown: NoSuchMethodError: The method 'call' was called on null.

flutter doctor -v
[✓] Flutter (Channel stable, 1.22.6, on macOS 11.1 20C69 darwin-x64, locale en-GB)
    • Flutter version 1.22.6 at /Users/tahatesser/Code/flutter_stable
    • Framework revision 9b2d32b605 (5 days ago), 2021-01-22 14:36:39 -0800
    • Engine revision 2f0af37152
    • Dart version 2.10.5

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
    • Android SDK at /Volumes/Extreme/SDK
    • Platform android-30, build-tools 30.0.3
    • ANDROID_HOME = /Volumes/Extreme/SDK
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 12.3)
    • Xcode at /Volumes/Extreme/Xcode.app/Contents/Developer
    • Xcode 12.3, Build version 12C33
    • CocoaPods version 1.10.1

[!] Android Studio (version 4.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    ✗ Flutter plugin not installed; this adds Flutter specific functionality.
    ✗ Dart plugin not installed; this adds Dart specific functionality.
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)

[✓] VS Code (version 1.52.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.18.1

[✓] Connected device (2 available)
    • RMX2001 (mobile)     • EUYTFEUSQSRGDA6D          • android-arm64 • Android 10 (API 29)
    • Taha’s iPad (mobile) • 00008020-000255113EE8402E • ios           • iOS 14.3

! Doctor found issues in 1 category.

[✓] Flutter (Channel beta, 1.25.0-8.3.pre, on macOS 11.1 20C69 darwin-x64, locale en-GB)
    • Flutter version 1.25.0-8.3.pre at /Users/tahatesser/Code/flutter_beta
    • Framework revision 5d36f2e7f5 (12 days ago), 2021-01-14 15:57:49 -0800
    • Engine revision 7a8f8ca02c
    • Dart version 2.12.0 (build 2.12.0-133.7.beta)

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
    • Android SDK at /Volumes/Extreme/SDK
    • Platform android-30, build-tools 30.0.3
    • ANDROID_HOME = /Volumes/Extreme/SDK
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS
    • Xcode at /Volumes/Extreme/Xcode.app/Contents/Developer
    • Xcode 12.3, Build version 12C33
    • CocoaPods version 1.10.1

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 4.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)

[✓] VS Code (version 1.52.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.18.1

[✓] Connected device (3 available)
    • RMX2001 (mobile)     • EUYTFEUSQSRGDA6D          • android-arm64  • Android 10 (API 29)
    • Taha’s iPad (mobile) • 00008020-000255113EE8402E • ios            • iOS 14.3
    • Chrome (web)         • chrome                    • web-javascript • Google Chrome 88.0.4324.96

• No issues found!

[✓] Flutter (Channel dev, 1.26.0-12.0.pre, on macOS 11.1 20C69 darwin-x64, locale en-GB)
    • Flutter version 1.26.0-12.0.pre at /Users/tahatesser/Code/flutter_dev
    • Framework revision a706cd2112 (12 days ago), 2021-01-14 18:20:26 -0500
    • Engine revision effb529ece
    • Dart version 2.12.0 (build 2.12.0-224.0.dev)

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
    • Android SDK at /Volumes/Extreme/SDK
    • Platform android-30, build-tools 30.0.3
    • ANDROID_HOME = /Volumes/Extreme/SDK
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS
    • Xcode at /Volumes/Extreme/Xcode.app/Contents/Developer
    • Xcode 12.3, Build version 12C33
    • CocoaPods version 1.10.1

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 4.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)

[✓] VS Code (version 1.52.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.18.1

[✓] Connected device (4 available)
    • RMX2001 (mobile)     • EUYTFEUSQSRGDA6D          • android-arm64  • Android 10 (API 29)
    • Taha’s iPad (mobile) • 00008020-000255113EE8402E • ios            • iOS 14.3
    • macOS (desktop)      • macos                     • darwin-x64     • macOS 11.1 20C69 darwin-x64
    • Chrome (web)         • chrome                    • web-javascript • Google Chrome 88.0.4324.96

• No issues found!

[✓] Flutter (Channel master, 1.26.0-13.0.pre.194, on macOS 11.1 20C69 darwin-x64, locale en-GB)
    • Flutter version 1.26.0-13.0.pre.194 at /Users/tahatesser/Code/flutter_master
    • Framework revision 71aec53acb (5 hours ago), 2021-01-26 21:53:04 -0800
    • Engine revision b11bef83a5
    • Dart version 2.12.0 (build 2.12.0-263.0.dev)

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
    • Android SDK at /Volumes/Extreme/SDK
    • Platform android-30, build-tools 30.0.3
    • ANDROID_HOME = /Volumes/Extreme/SDK
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS
    • Xcode at /Volumes/Extreme/Xcode.app/Contents/Developer
    • Xcode 12.3, Build version 12C33
    • CocoaPods version 1.10.1

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 4.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)

[✓] VS Code (version 1.52.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.18.1

[✓] Connected device (4 available)
    • RMX2001 (mobile)     • EUYTFEUSQSRGDA6D          • android-arm64  • Android 10 (API 29)
    • Taha’s iPad (mobile) • 00008020-000255113EE8402E • ios            • iOS 14.3
    • macOS (desktop)      • macos                     • darwin-x64     • macOS 11.1 20C69 darwin-x64
    • Chrome (web)         • chrome                    • web-javascript • Google Chrome 88.0.4324.96

• No issues found!

Hi @sanjade
Thanks for filing the issue, I can reproduce it

code sample
import 'package:flutter/material.dart';

void main() {
  return runApp(MyApp());
}

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Demo',
      home: Scaffold(
        body: Center(
          child: MainScreen(),
        ),
      ),
    );
  }
}

class MainScreen extends StatelessWidget {
  void _openScreen(BuildContext context, Widget screen) {
    showModalBottomSheet(
      context: context,
      isScrollControlled: true,
      builder: (_) => screen,
    );
  }

  @override
  Widget build(BuildContext context) {
    return Column(
      crossAxisAlignment: CrossAxisAlignment.center,
      mainAxisAlignment: MainAxisAlignment.center,
      children: [
        CustomButton(
          text: "Open Screen 1",
          onPressed: () => _openScreen(context, Screen1(
            onNavToScreen2: () {
              Navigator.pop(context);
              _openScreen(context, Screen2());
            },
          )),
        ),
        CustomButton(
          text: "Open Screen 2",
          onPressed: () => _openScreen(context, Screen2(
            onNavToScreen1: () {
              print('Test');

              Navigator.pop(context);
              _openScreen(context, Screen1());
            },
          )),
        ),
      ],
    );
  }
}

class Screen1 extends StatelessWidget {
  final VoidCallback onNavToScreen2;

  const Screen1({this.onNavToScreen2});

  @override
  Widget build(BuildContext context) {
    return Center(
      child: CustomButton(
        text: "Button in Screen 1",
        onPressed: () {
          print("Button pressed in screen 1");
          onNavToScreen2();
        },
      ),
    );
  }
}

class Screen2 extends StatelessWidget {
  final VoidCallback onNavToScreen1;

  const Screen2({this.onNavToScreen1});

  @override
  Widget build(BuildContext context) {
    return Center(
      child: CustomButton(
        text: "Button in Screen 2",
        onPressed: () {
          print("Button pressed in screen 2");
          onNavToScreen1();
        },
      ),
    );
  }
}

class CustomButton extends StatelessWidget {
  final VoidCallback onPressed;
  final String text;

  const CustomButton({this.onPressed, this.text = "A button"});

  Widget build(BuildContext context) {
    return GestureDetector(
      onTap: () {
        onPressed();
      },
      child: Container(
        height: 50,
        child: Text(text, style: TextStyle(color: Colors.black)),
      ),
    );
  }
}

logs
[  +92 ms] executing: [/Users/tahatesser/Code/flutter_master/] git -c log.showSignature=false log -n 1 --pretty=format:%H
[  +51 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H
[   +3 ms] 71aec53acbe66a2a423d3658d333c8cbb31f979a
[        ] executing: [/Users/tahatesser/Code/flutter_master/] git tag --points-at 71aec53acbe66a2a423d3658d333c8cbb31f979a
[  +88 ms] Exit code 0 from: git tag --points-at 71aec53acbe66a2a423d3658d333c8cbb31f979a
[   +1 ms] executing: [/Users/tahatesser/Code/flutter_master/] git describe --match *.*.* --long --tags 71aec53acbe66a2a423d3658d333c8cbb31f979a
[  +69 ms] Exit code 0 from: git describe --match *.*.* --long --tags 71aec53acbe66a2a423d3658d333c8cbb31f979a
[        ] 1.26.0-12.0.pre-194-g71aec53acb
[  +54 ms] executing: [/Users/tahatesser/Code/flutter_master/] git rev-parse --abbrev-ref --symbolic @{u}
[  +12 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[        ] origin/master
[        ] executing: [/Users/tahatesser/Code/flutter_master/] git ls-remote --get-url origin
[  +10 ms] Exit code 0 from: git ls-remote --get-url origin
[        ] https://github.com/flutter/flutter.git
[  +53 ms] executing: [/Users/tahatesser/Code/flutter_master/] git rev-parse --abbrev-ref HEAD
[  +12 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[        ] master
[   +6 ms] executing: sw_vers -productName
[  +21 ms] Exit code 0 from: sw_vers -productName
[        ] macOS
[        ] executing: sw_vers -productVersion
[  +15 ms] Exit code 0 from: sw_vers -productVersion
[        ] 11.1
[        ] executing: sw_vers -buildVersion
[  +16 ms] Exit code 0 from: sw_vers -buildVersion
[        ] 20C69
[  +12 ms] executing: sysctl hw.optional.arm64
[  +10 ms] Exit code 1 from: sysctl hw.optional.arm64
[        ] sysctl: unknown oid 'hw.optional.arm64'
[  +53 ms] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[   +3 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[   +6 ms] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[  +53 ms] executing: /Volumes/Extreme/SDK/platform-tools/adb devices -l
[   +7 ms] executing: /usr/bin/xcode-select --print-path
[   +6 ms] Exit code 0 from: /usr/bin/xcode-select --print-path
[        ] /Volumes/Extreme/Xcode.app/Contents/Developer
[   +6 ms] executing: sysctl hw.optional.arm64
[   +5 ms] Exit code 1 from: sysctl hw.optional.arm64
[        ] sysctl: unknown oid 'hw.optional.arm64'
[        ] executing: xcrun xcodebuild -version
[+3324 ms] Exit code 0 from: xcrun xcodebuild -version
[   +1 ms] Xcode 12.3
           Build version 12C33
[   +3 ms] executing: xcrun xcdevice list --timeout 2
[   +5 ms] xcrun simctl list --json devices
[        ] executing: xcrun simctl list --json devices
[  +66 ms] List of devices attached
           emulator-5554          device product:sdk_gphone_x86 model:Android_SDK_built_for_x86 device:generic_x86 transport_id:3
[ +107 ms] {
             "devices" : {
               "com.apple.CoreSimulator.SimRuntime.tvOS-14-3" : [

               ],
               "com.apple.CoreSimulator.SimRuntime.watchOS-7-2" : [

               ],
               "com.apple.CoreSimulator.SimRuntime.iOS-14-3" : [
                 {
                   "dataPath" : "\/Users\/tahatesser\/Library\/Developer\/CoreSimulator\/Devices\/DC25925E-876C-4CFE-A2F7-0640782D22A5\/data",
                   "logPath" : "\/Users\/tahatesser\/Library\/Logs\/CoreSimulator\/DC25925E-876C-4CFE-A2F7-0640782D22A5",
                   "udid" : "DC25925E-876C-4CFE-A2F7-0640782D22A5",
                   "isAvailable" : true,
                   "deviceTypeIdentifier" : "com.apple.CoreSimulator.SimDeviceType.iPhone-12-Pro-Max",
                   "state" : "Shutdown",
                   "name" : "iPhone 12 Pro Max"
                 }
               ]
             }
           }
[+5846 ms] [
             {
               "simulator" : true,
               "operatingSystemVersion" : "14.3 (18C61)",
               "available" : true,
               "platform" : "com.apple.platform.iphonesimulator",
               "modelCode" : "iPhone13,4",
               "identifier" : "DC25925E-876C-4CFE-A2F7-0640782D22A5",
               "architecture" : "x86_64",
               "modelUTI" : "com.apple.iphone-12-pro-max-1",
               "modelName" : "iPhone 12 Pro Max",
               "name" : "iPhone 12 Pro Max"
             },
             {
               "simulator" : false,
               "operatingSystemVersion" : "14.3 (18C66)",
               "interface" : "usb",
               "available" : true,
               "platform" : "com.apple.platform.iphoneos",
               "modelCode" : "iPad11,6",
               "identifier" : "00008020-000255113EE8402E",
               "architecture" : "arm64e",
               "modelUTI" : "com.apple.ipad-8-wifi-1",
               "modelName" : "iPad (8th generation)",
               "name" : "Taha’s iPad"
             }
           ]
[   +8 ms] /Volumes/Extreme/SDK/platform-tools/adb -s emulator-5554 shell getprop
[  +48 ms] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[   +2 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[ +105 ms] Skipping pub get: version match.
[ +164 ms] Generating /Users/tahatesser/AndroidStudioProjects/master_flutter/android/app/src/main/java/io/flutter/plugins/GeneratedPluginRegistrant.java
[  +70 ms] ro.hardware = ranchu
[  +14 ms] Using hardware rendering with device Android SDK built for x86. If you notice graphics artifacts, consider enabling software rendering with "--enable-software-rendering".
[  +27 ms] Initializing file store
[  +12 ms] Skipping target: gen_localizations
[  +11 ms] complete
[   +5 ms] Launching lib/main.dart on Android SDK built for x86 in debug mode...
[   +6 ms] /Users/tahatesser/Code/flutter_master/bin/cache/dart-sdk/bin/dart --disable-dart-dev /Users/tahatesser/Code/flutter_master/bin/cache/artifacts/engine/darwin-x64/frontend_server.dart.snapshot --sdk-root /Users/tahatesser/Code/flutter_master/bin/cache/artifacts/engine/common/flutter_patched_sdk/ --incremental --target=flutter --debugger-module-names --experimental-emit-debug-metadata -DFLUTTER_WEB_AUTO_DETECT=true --output-dill /var/folders/37/jzy2jdc16sb3p89cn_6g967c0000gn/T/flutter_tools.zr98z6/flutter_tool.vpAnBT/app.dill --packages /Users/tahatesser/AndroidStudioProjects/master_flutter/.dart_tool/package_config.json -Ddart.vm.profile=false -Ddart.vm.product=false --enable-asserts --track-widget-creation --filesystem-scheme org-dartlang-root --initialize-from-dill build/f245b0b7cc30f460f818fcec6bcf01fb.cache.dill.track.dill --flutter-widget-cache --enable-experiment=alternative-invalidation-strategy
[  +20 ms] executing: /Volumes/Extreme/SDK/platform-tools/adb -s emulator-5554 shell -x logcat -v time -t 1
[  +14 ms] <- compile package:triage/main.dart
[  +50 ms] --------- beginning of main
           01-27 23:54:26.048 E/GnssHAL_GnssInterface( 1794): gnssSvStatusCb: b: input svInfo.flags is 8
[  +16 ms] executing: /Volumes/Extreme/SDK/platform-tools/adb version
[   +9 ms] Android Debug Bridge version 1.0.41
           Version 30.0.5-6877874
           Installed as /Volumes/Extreme/SDK/platform-tools/adb
[   +3 ms] executing: /Volumes/Extreme/SDK/platform-tools/adb start-server
[  +18 ms] Building APK
[  +23 ms] Running Gradle task 'assembleDebug'...
[   +4 ms] Using gradle from /Users/tahatesser/AndroidStudioProjects/master_flutter/android/gradlew.
[        ] /Users/tahatesser/AndroidStudioProjects/master_flutter/android/gradlew mode: 33261 rwxr-xr-x.
[   +9 ms] executing: /usr/bin/plutil -convert json -o - /Applications/Android Studio.app/Contents/Info.plist
[  +19 ms] Exit code 0 from: /usr/bin/plutil -convert json -o - /Applications/Android Studio.app/Contents/Info.plist
[        ] {"CFBundleName":"Android Studio","JVMOptions":{"ClassPath":"$APP_PACKAGE\/Contents\/lib\/bootstrap.jar:$APP_PACKAGE\/Contents\/lib\/extensions.jar:$APP_PACKAGE\/Contents\/lib\/util.jar:$APP_PACKAGE\/Contents\/lib\/jdom.jar:$APP_PACKAGE\/Contents\/lib\/log4j.jar:$APP_PACKAGE\/Contents\/lib\/trove4j.jar:$APP_PACKAGE\/Contents\/lib\/jna.jar","JVMVersion":"1.8*,1.8+","MainClass":"com.intellij.idea.Main","Properties":{"idea.paths.selector":"AndroidStudio4.1","idea.executable":"studio","idea.platform.prefix":"AndroidStudio","idea.vendor.name":"Google","idea.home.path":"$APP_PACKAGE\/Contents"}},"NSDesktopFolderUsageDescription":"An application in Android Studio requests access to the user's Desktop folder.","LSArchitecturePriority":["x86_64"],"CFBundleVersion":"AI-201.87<IP_ADDRESS>42882","CFBundleDevelopmentRegion":"English","NSCameraUsageDescription":"An application in Android Studio requests access to the device's camera.","CFBundleDocumentTypes":[{"CFBundleTypeName":"Android Studio Project File","CFBundleTypeExtensions":["ipr"],"CFBundleTypeRole":"Editor","CFBundleTypeIconFile":"studio.icns"},{"CFBundleTypeName":"All documents","CFBundleTypeExtensions":["*"],"CFBundleTypeOSTypes":["****"],"CFBundleTypeRole":"Editor","LSTypeIsPackage":false}],"NSSupportsAutomaticGraphicsSwitching":true,"CFBundlePackageType":"APPL","CFBundleIconFile":"studio.icns","NSHighResolutionCapable":true,"CFBundleShortVersionString":"4.1","NSMicrophoneUsageDescription":"An application in Android Studio requests access to the device's microphone.","CFBundleInfoDictionaryVersion":"6.0","CFBundleExecutable":"studio","NSLocationUsageDescription":"An application in Android Studio requests access to the user's location information.","LSRequiresNativeExecution":"YES","CFBundleURLTypes":[{"CFBundleTypeRole":"Editor","CFBundleURLName":"Stacktrace","CFBundleURLSchemes":["idea"]}],"CFBundleIdentifier":"com.google.android.studio","LSApplicationCategoryType":"public.app-category.developer-tools","CFBundleSignature":"????","LSMinimumSystemVersion":"10.8","NSDocumentsFolderUsageDescription":"An application in Android Studio requests access to the user's Documents folder.","NSDownloadsFolderUsageDescription":"An application in Android Studio requests access to the user's Downloads folder.","NSNetworkVolumesUsageDescription":"An application in Android Studio requests access to files on a network volume.","CFBundleGetInfoString":"Android Studio 4.1, build AI-201.87<IP_ADDRESS>42882. Copyright JetBrains s.r.o., (c) 2000-2020","NSRemovableVolumesUsageDescription":"An application in Android Studio requests access to files on a removable volume."}
[   +2 ms] executing: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java -version
[ +207 ms] Exit code 0 from: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java -version
[        ] openjdk version "1.8.0_242-release"
           OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)
           OpenJDK 64-Bit Server VM (build 25.242-b3-6915495, mixed mode)
[   +2 ms] executing: [/Users/tahatesser/AndroidStudioProjects/master_flutter/android/] /Users/tahatesser/AndroidStudioProjects/master_flutter/android/gradlew -Pverbose=true -Ptarget-platform=android-x86 -Ptarget=/Users/tahatesser/AndroidStudioProjects/master_flutter/lib/main.dart -Ptrack-widget-creation=true -Pfilesystem-scheme=org-dartlang-root -Pdart-defines=FLUTTER_WEB_AUTO_DETECT%3Dtrue assembleDebug
[+4086 ms] > Task :app:compileFlutterBuildDebug
[        ] [  +92 ms] executing: [/Users/tahatesser/Code/flutter_master/] git -c log.showSignature=false log -n 1 --pretty=format:%H
[        ] [  +55 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H
[        ] [        ] 71aec53acbe66a2a423d3658d333c8cbb31f979a
[        ] [        ] executing: [/Users/tahatesser/Code/flutter_master/] git tag --points-at 71aec53acbe66a2a423d3658d333c8cbb31f979a
[        ] [ +110 ms] Exit code 0 from: git tag --points-at 71aec53acbe66a2a423d3658d333c8cbb31f979a
[        ] [   +2 ms] executing: [/Users/tahatesser/Code/flutter_master/] git describe --match *.*.* --long --tags 71aec53acbe66a2a423d3658d333c8cbb31f979a
[        ] [  +79 ms] Exit code 0 from: git describe --match *.*.* --long --tags 71aec53acbe66a2a423d3658d333c8cbb31f979a
[        ] [        ] 1.26.0-12.0.pre-194-g71aec53acb
[        ] [  +57 ms] executing: [/Users/tahatesser/Code/flutter_master/] git rev-parse --abbrev-ref --symbolic @{u}
[        ] [  +12 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[        ] [        ] origin/master
[        ] [        ] executing: [/Users/tahatesser/Code/flutter_master/] git ls-remote --get-url origin
[        ] [  +11 ms] Exit code 0 from: git ls-remote --get-url origin
[        ] [        ] https://github.com/flutter/flutter.git
[        ] [  +52 ms] executing: [/Users/tahatesser/Code/flutter_master/] git rev-parse --abbrev-ref HEAD
[        ] [  +12 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[        ] [        ] master
[        ] [  +43 ms] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[        ] [   +2 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[        ] [  +45 ms] Artifact Instance of 'MaterialFonts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'GradleWrapper' is not required, skipping update.
[        ] [        ] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FlutterSdk' is not required, skipping update.
[        ] [        ] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] [   +6 ms] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[        ] [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FontSubsetArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'PubDependencies' is not required, skipping update.
[        ] [  +83 ms] Initializing file store
[        ] [  +16 ms] Skipping target: gen_localizations
[        ] [   +6 ms] kernel_snapshot: Starting due to {}
[   +1 ms] [  +12 ms] /Users/tahatesser/Code/flutter_master/bin/cache/dart-sdk/bin/dart --disable-dart-dev /Users/tahatesser/Code/flutter_master/bin/cache/artifacts/engine/darwin-x64/frontend_server.dart.snapshot --sdk-root /Users/tahatesser/Code/flutter_master/bin/cache/artifacts/engine/common/flutter_patched_sdk/ --target=flutter --no-print-incremental-dependencies -DFLUTTER_WEB_AUTO_DETECT=true -Ddart.vm.profile=false -Ddart.vm.product=false --enable-asserts --track-widget-creation --no-link-platform --packages /Users/tahatesser/AndroidStudioProjects/master_flutter/.dart_tool/package_config.json --output-dill /Users/tahatesser/AndroidStudioProjects/master_flutter/.dart_tool/flutter_build/26be4a206ff7d021966f685d0d5b8182/app.dill --depfile /Users/tahatesser/AndroidStudioProjects/master_flutter/.dart_tool/flutter_build/26be4a206ff7d021966f685d0d5b8182/kernel_snapshot.d package:triage/main.dart
[+7464 ms] [+8260 ms] kernel_snapshot: Complete
[ +402 ms] [ +432 ms] debug_android_application: Starting due to {}
[ +199 ms] [ +188 ms] debug_android_application: Complete
[ +500 ms] [ +488 ms] Persisting file store
[        ] [   +6 ms] Done persisting file store
[        ] [   +5 ms] build succeeded.
[        ] [  +12 ms] "flutter assemble" took 9,579ms.
[        ] [   +3 ms] ensureAnalyticsSent: 0ms
[        ] [   +1 ms] Running shutdown hooks
[        ] [        ] Shutdown hooks complete
[        ] [        ] exiting with code 0
[  +98 ms] > Task :app:packLibsflutterBuildDebug
[        ] > Task :app:preBuild UP-TO-DATE
[        ] > Task :app:preDebugBuild UP-TO-DATE
[        ] > Task :app:compileDebugAidl NO-SOURCE
[        ] > Task :app:compileDebugRenderscript NO-SOURCE
[        ] > Task :app:generateDebugBuildConfig
[  +99 ms] > Task :app:checkDebugAarMetadata
[        ] > Task :app:cleanMergeDebugAssets UP-TO-DATE
[        ] > Task :app:mergeDebugShaders
[        ] > Task :app:compileDebugShaders NO-SOURCE
[        ] > Task :app:generateDebugAssets UP-TO-DATE
[        ] > Task :app:mergeDebugAssets
[ +298 ms] > Task :app:copyFlutterAssetsDebug
[        ] > Task :app:generateDebugResValues
[        ] > Task :app:generateDebugResources
[ +196 ms] > Task :app:createDebugCompatibleScreenManifests
[        ] > Task :app:extractDeepLinksDebug
[        ] > Task :app:mergeDebugResources
[  +99 ms] > Task :app:processDebugMainManifest
[        ] > Task :app:processDebugManifest
[        ] > Task :app:mergeDebugNativeDebugMetadata NO-SOURCE
[        ] > Task :app:javaPreCompileDebug
[        ] > Task :app:processDebugJavaRes NO-SOURCE
[  +98 ms] > Task :app:checkDebugDuplicateClasses
[ +502 ms] > Task :app:compressDebugAssets
[  +96 ms] > Task :app:mergeDebugJniLibFolders
[        ] > Task :app:validateSigningDebug
[ +103 ms] > Task :app:processDebugManifestForPackage
[  +99 ms] > Task :app:desugarDebugFileDependencies
[ +199 ms] > Task :app:processDebugResources
[ +899 ms] > Task :app:mergeDebugNativeLibs
[ +299 ms] > Task :app:compileDebugKotlin
[ +501 ms] > Task :app:compileDebugJavaWithJavac
[        ] > Task :app:compileDebugSources
[  +99 ms] > Task :app:dexBuilderDebug
[ +397 ms] > Task :app:mergeDebugJavaResource
[ +101 ms] > Task :app:stripDebugDebugSymbols
[        ] Unable to strip the following libraries, packaging them as they are: libflutter.so.
[ +101 ms] > Task :app:mergeExtDexDebug
[ +396 ms] > Task :app:mergeDexDebug
[+1603 ms] > Task :app:packageDebug
[  +99 ms] > Task :app:assembleDebug
[  +41 ms] Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0.
[        ] Use '--warning-mode all' to show the individual deprecation warnings.
[        ] See https://docs.gradle.org/6.7/userguide/command_line_interface.html#sec:command_line_warnings
[        ] BUILD SUCCESSFUL in 18s
[        ] 32 actionable tasks: 31 executed, 1 up-to-date
[ +376 ms] Running Gradle task 'assembleDebug'... (completed in 19.7s)
[  +50 ms] calculateSha: LocalDirectory: '/Users/tahatesser/AndroidStudioProjects/master_flutter/build/app/outputs/flutter-apk'/app.apk
[  +25 ms] calculateSha: reading file took 23us
[ +488 ms] calculateSha: computing sha took 487us
[   +3 ms] ✓ Built build/app/outputs/flutter-apk/app-debug.apk.
[   +6 ms] executing: /Volumes/Extreme/SDK/build-tools/30.0.3/aapt dump xmltree /Users/tahatesser/AndroidStudioProjects/master_flutter/build/app/outputs/flutter-apk/app.apk AndroidManifest.xml
[  +78 ms] Exit code 0 from: /Volumes/Extreme/SDK/build-tools/30.0.3/aapt dump xmltree /Users/tahatesser/AndroidStudioProjects/master_flutter/build/app/outputs/flutter-apk/app.apk AndroidManifest.xml
[        ] N: android=http://schemas.android.com/apk/res/android
             E: manifest (line=2)
               A: android:versionCode(0x0101021b)=(type 0x10)0x1
               A: android:versionName(0x0101021c)="1.0.0" (Raw: "1.0.0")
               A: android:compileSdkVersion(0x01010572)=(type 0x10)0x1e
               A: android:compileSdkVersionCodename(0x01010573)="11" (Raw: "11")
               A: package="com.nevercode.triage" (Raw: "com.nevercode.triage")
               A: platformBuildVersionCode=(type 0x10)0x1e
               A: platformBuildVersionName=(type 0x10)0xb
               E: uses-sdk (line=7)
                 A: android:minSdkVersion(0x0101020c)=(type 0x10)0x10
                 A: android:targetSdkVersion(0x01010270)=(type 0x10)0x1e
               E: uses-permission (line=14)
                 A: android:name(0x01010003)="android.permission.INTERNET" (Raw: "android.permission.INTERNET")
               E: application (line=16)
                 A: android:label(0x01010001)="triage" (Raw: "triage")
                 A: android:icon(0x01010002)=@0x7f080000
                 A: android:debuggable(0x0101000f)=(type 0x12)0xffffffff
                 A: android:appComponentFactory(0x0101057a)="androidx.core.app.CoreComponentFactory" (Raw: "androidx.core.app.CoreComponentFactory")
                 E: activity (line=21)
                   A: android:theme(0x01010000)=@0x7f0a0000
                   A: android:name(0x01010003)="com.nevercode.triage.MainActivity" (Raw: "com.nevercode.triage.MainActivity")
                   A: android:launchMode(0x0101001d)=(type 0x10)0x1
                   A: android:configChanges(0x0101001f)=(type 0x11)0x40003fb4
                   A: android:windowSoftInputMode(0x0101022b)=(type 0x11)0x10
                   A: android:hardwareAccelerated(0x010102d3)=(type 0x12)0xffffffff
                   E: meta-data (line=35)
                     A: android:name(0x01010003)="io.flutter.embedding.android.NormalTheme" (Raw: "io.flutter.embedding.android.NormalTheme")
                     A: android:resource(0x01010025)=@0x7f0a0001
                   E: meta-data (line=45)
                     A: android:name(0x01010003)="io.flutter.embedding.android.SplashScreenDrawable" (Raw: "io.flutter.embedding.android.SplashScreenDrawable")
                     A: android:resource(0x01010025)=@0x7f040000
                   E: intent-filter (line=49)
                     E: action (line=50)
                       A: android:name(0x01010003)="android.intent.action.MAIN" (Raw: "android.intent.action.MAIN")
                     E: category (line=52)
                       A: android:name(0x01010003)="android.intent.category.LAUNCHER" (Raw: "android.intent.category.LAUNCHER")
                 E: meta-data (line=59)
                   A: android:name(0x01010003)="flutterEmbedding" (Raw: "flutterEmbedding")
                   A: android:value(0x01010024)=(type 0x10)0x2
[   +5 ms] Stopping app 'app.apk' on Android SDK built for x86.
[        ] executing: /Volumes/Extreme/SDK/platform-tools/adb -s emulator-5554 shell am force-stop com.nevercode.triage
[  +80 ms] executing: /Volumes/Extreme/SDK/platform-tools/adb -s emulator-5554 shell pm list packages com.nevercode.triage
[  +83 ms] package:com.nevercode.triage
[   +2 ms] executing: /Volumes/Extreme/SDK/platform-tools/adb -s emulator-5554 shell cat /data/local/tmp/sky.com.nevercode.triage.sha1
[  +29 ms] 2f86729be055f5b50b76075ee87b7a52fd6a4879
[        ] Installing APK.
[   +1 ms] Installing build/app/outputs/flutter-apk/app.apk...
[        ] executing: /Volumes/Extreme/SDK/platform-tools/adb -s emulator-5554 install -t -r /Users/tahatesser/AndroidStudioProjects/master_flutter/build/app/outputs/flutter-apk/app.apk
[+1012 ms] Performing Streamed Install
           Success
[   +2 ms] Installing build/app/outputs/flutter-apk/app.apk... (completed in 1,013ms)
[   +1 ms] executing: /Volumes/Extreme/SDK/platform-tools/adb -s emulator-5554 shell echo -n fc8a80b9eadb185eec01940ef2c1b280f9ffd620 > /data/local/tmp/sky.com.nevercode.triage.sha1
[  +31 ms] executing: /Volumes/Extreme/SDK/platform-tools/adb -s emulator-5554 shell -x logcat -v time -t 1
[  +63 ms] --------- beginning of system
           01-27 23:54:47.847 W/BroadcastQueue( 2042): Background execution not allowed: receiving Intent { act=android.intent.action.PACKAGE_REMOVED dat=package:com.nevercode.triage flg=0x4000010 (has extras) } to com.google.android.googlequicksearchbox/com.google.android.apps.gsa.googlequicksearchbox.GelStubAppWatcher
[  +12 ms] executing: /Volumes/Extreme/SDK/platform-tools/adb -s emulator-5554 shell am start -a android.intent.action.RUN -f 0x20000000 --ez enable-background-compilation true --ez enable-dart-profiling true --ez enable-checked-mode true --ez verify-entry-points true com.nevercode.triage/com.nevercode.triage.MainActivity
[ +115 ms] Starting: Intent { act=android.intent.action.RUN flg=0x20000000 cmp=com.nevercode.triage/.MainActivity (has extras) }
[   +1 ms] Waiting for observatory port to be available...
[+1535 ms] Observatory URL on device: http://<IP_ADDRESS>:38379/9zcA1ddPZV4=/
[   +1 ms] executing: /Volumes/Extreme/SDK/platform-tools/adb -s emulator-5554 forward tcp:0 tcp:38379
[  +19 ms] 59864
[        ] Forwarded host port 59864 to device port 38379 for Observatory
[   +7 ms] Caching compiled dill
[ +116 ms] Connecting to service protocol: http://<IP_ADDRESS>:59864/9zcA1ddPZV4=/
[ +287 ms] Launching a Dart Developer Service (DDS) instance at http://<IP_ADDRESS>:0, connecting to VM service at http://<IP_ADDRESS>:59864/9zcA1ddPZV4=/.
[ +202 ms] DDS is listening at http://<IP_ADDRESS>:59869/41JxYG4cu58=/.
[  +62 ms] Successfully connected to service protocol: http://<IP_ADDRESS>:59864/9zcA1ddPZV4=/
[ +964 ms] DevFS: Creating new filesystem on the device (null)
[  +30 ms] DevFS: Created new filesystem on the device (file:///data/user/0/com.nevercode.triage/code_cache/master_flutterSWZWDI/master_flutter/)
[   +4 ms] Updating assets
[  +87 ms] Syncing files to device Android SDK built for x86...
[   +1 ms] <- reset
[        ] Compiling dart to kernel with 0 updated files
[   +2 ms] <- recompile package:triage/main.dart 203aded5-d5da-4abf-89e6-e1c51c077581
[        ] <- 203aded5-d5da-4abf-89e6-e1c51c077581
[ +131 ms] Updating files.
[        ] DevFS: Sync finished
[        ] Syncing files to device Android SDK built for x86... (completed in 136ms)
[   +1 ms] Synced 0.0MB.
[   +1 ms] <- accept
[  +28 ms] Connected to _flutterView/0xd13ff010.
[   +1 ms] Flutter run key commands.
[   +3 ms] r Hot reload. 🔥🔥🔥
[   +1 ms] R Hot restart.
[        ] h Repeat this help message.
[        ] d Detach (terminate "flutter run" but leave application running).
[        ] c Clear the screen
[        ] q Quit (terminate the application on the device).
[        ] An Observatory debugger and profiler on Android SDK built for x86 is available at: http://<IP_ADDRESS>:59869/41JxYG4cu58=/
[   +1 ms]
           Flutter DevTools, a Flutter debugger and profiler, on Android SDK built for x86 is available at: http://<IP_ADDRESS>:9100?uri=http%3A%2F%2F<IP_ADDRESS>%3A59869%2F41JxYG4cu58%3D%2F
[        ] Running with unsound null safety
[        ] For more information see https://dart.dev/null-safety/unsound-null-safety
[+5498 ms] I/flutter (10686): Button pressed in screen 1
[ +661 ms] I/flutter (10686): Button pressed in screen 2
[ +129 ms]
           ══╡ EXCEPTION CAUGHT BY GESTURE ╞═══════════════════════════════════════════════════════════════════
           The following NoSuchMethodError was thrown while handling a gesture:
           The method 'call' was called on null.
           Receiver: null
           Tried calling: call()

           When the exception was thrown, this was the stack:
           #0      Screen2.build.<anonymous closure> (package:triage/main.dart:92:25)
           #1      CustomButton.build.<anonymous closure> (package:triage/main.dart:108:18)
           #2      GestureRecognizer.invokeCallback (package:flutter/src/gestures/recognizer.dart:182:24)
           #3      TapGestureRecognizer.handleTapUp (package:flutter/src/gestures/tap.dart:607:11)
           #4      BaseTapGestureRecognizer._checkUp (package:flutter/src/gestures/tap.dart:296:5)
           #5      BaseTapGestureRecognizer.acceptGesture (package:flutter/src/gestures/tap.dart:267:7)
           #6      GestureArenaManager.sweep (package:flutter/src/gestures/arena.dart:157:27)
           #7      GestureBinding.handleEvent (package:flutter/src/gestures/binding.dart:385:20)
           #8      GestureBinding.dispatchEvent (package:flutter/src/gestures/binding.dart:361:22)
           #9      RendererBinding.dispatchEvent (package:flutter/src/rendering/binding.dart:278:11)
           #10     GestureBinding._handlePointerEventImmediately (package:flutter/src/gestures/binding.dart:316:7)
           #11     GestureBinding.handlePointerEvent (package:flutter/src/gestures/binding.dart:280:5)
           #12     GestureBinding._flushPointerEventQueue (package:flutter/src/gestures/binding.dart:238:7)
           #13     GestureBinding._handlePointerDataPacket (package:flutter/src/gestures/binding.dart:221:7)
           #17     _invoke1 (dart:ui/hooks.dart:180:10)
           #18     PlatformDispatcher._dispatchPointerDataPacket (dart:ui/platform_dispatcher.dart:276:7)
           #19     _dispatchPointerDataPacket (dart:ui/hooks.dart:96:31)
           (elided 3 frames from dart:async)

           Handler: "onTap"
           Recognizer:
             TapGestureRecognizer#da9d9
           ════════════════════════════════════════════════════════════════════════════════════════════════════
[ +136 ms]
           Another exception was thrown: NoSuchMethodError: The method 'call' was called on null.
[ +184 ms]
           Another exception was thrown: NoSuchMethodError: The method 'call' was called on null.
[  +54 ms] I/chatty  (10686): uid=10136(com.nevercode.triage) 1.ui identical 1 line
[   +4 ms] I/flutter (10686): Button pressed in screen 2
[ +655 ms] I/flutter (10686): Button pressed in screen 2
[  +14 ms]
           Another exception was thrown: NoSuchMethodError: The method 'call' was called on null.
[ +147 ms]
           Another exception was thrown: NoSuchMethodError: The method 'call' was called on null.
[ +152 ms]
           Another exception was thrown: NoSuchMethodError: The method 'call' was called on null.
[  +26 ms] I/chatty  (10686): uid=10136(com.nevercode.triage) 1.ui identical 1 line
[        ] I/flutter (10686): Button pressed in screen 2
[  +84 ms] I/flutter (10686): Button pressed in screen 2
[  +12 ms]
           Another exception was thrown: NoSuchMethodError: The method 'call' was called on null.

flutter doctor -v
[✓] Flutter (Channel stable, 1.22.6, on macOS 11.1 20C69 darwin-x64, locale en-GB)
    • Flutter version 1.22.6 at /Users/tahatesser/Code/flutter_stable
    • Framework revision 9b2d32b605 (5 days ago), 2021-01-22 14:36:39 -0800
    • Engine revision 2f0af37152
    • Dart version 2.10.5

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
    • Android SDK at /Volumes/Extreme/SDK
    • Platform android-30, build-tools 30.0.3
    • ANDROID_HOME = /Volumes/Extreme/SDK
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 12.3)
    • Xcode at /Volumes/Extreme/Xcode.app/Contents/Developer
    • Xcode 12.3, Build version 12C33
    • CocoaPods version 1.10.1

[!] Android Studio (version 4.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    ✗ Flutter plugin not installed; this adds Flutter specific functionality.
    ✗ Dart plugin not installed; this adds Dart specific functionality.
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)

[✓] VS Code (version 1.52.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.18.1

[✓] Connected device (2 available)
    • RMX2001 (mobile)     • EUYTFEUSQSRGDA6D          • android-arm64 • Android 10 (API 29)
    • Taha’s iPad (mobile) • 00008020-000255113EE8402E • ios           • iOS 14.3

! Doctor found issues in 1 category.

[✓] Flutter (Channel beta, 1.25.0-8.3.pre, on macOS 11.1 20C69 darwin-x64, locale en-GB)
    • Flutter version 1.25.0-8.3.pre at /Users/tahatesser/Code/flutter_beta
    • Framework revision 5d36f2e7f5 (12 days ago), 2021-01-14 15:57:49 -0800
    • Engine revision 7a8f8ca02c
    • Dart version 2.12.0 (build 2.12.0-133.7.beta)

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
    • Android SDK at /Volumes/Extreme/SDK
    • Platform android-30, build-tools 30.0.3
    • ANDROID_HOME = /Volumes/Extreme/SDK
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS
    • Xcode at /Volumes/Extreme/Xcode.app/Contents/Developer
    • Xcode 12.3, Build version 12C33
    • CocoaPods version 1.10.1

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 4.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)

[✓] VS Code (version 1.52.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.18.1

[✓] Connected device (3 available)
    • RMX2001 (mobile)     • EUYTFEUSQSRGDA6D          • android-arm64  • Android 10 (API 29)
    • Taha’s iPad (mobile) • 00008020-000255113EE8402E • ios            • iOS 14.3
    • Chrome (web)         • chrome                    • web-javascript • Google Chrome 88.0.4324.96

• No issues found!

[✓] Flutter (Channel dev, 1.26.0-12.0.pre, on macOS 11.1 20C69 darwin-x64, locale en-GB)
    • Flutter version 1.26.0-12.0.pre at /Users/tahatesser/Code/flutter_dev
    • Framework revision a706cd2112 (12 days ago), 2021-01-14 18:20:26 -0500
    • Engine revision effb529ece
    • Dart version 2.12.0 (build 2.12.0-224.0.dev)

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
    • Android SDK at /Volumes/Extreme/SDK
    • Platform android-30, build-tools 30.0.3
    • ANDROID_HOME = /Volumes/Extreme/SDK
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS
    • Xcode at /Volumes/Extreme/Xcode.app/Contents/Developer
    • Xcode 12.3, Build version 12C33
    • CocoaPods version 1.10.1

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 4.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)

[✓] VS Code (version 1.52.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.18.1

[✓] Connected device (4 available)
    • RMX2001 (mobile)     • EUYTFEUSQSRGDA6D          • android-arm64  • Android 10 (API 29)
    • Taha’s iPad (mobile) • 00008020-000255113EE8402E • ios            • iOS 14.3
    • macOS (desktop)      • macos                     • darwin-x64     • macOS 11.1 20C69 darwin-x64
    • Chrome (web)         • chrome                    • web-javascript • Google Chrome 88.0.4324.96

• No issues found!

[✓] Flutter (Channel master, 1.26.0-13.0.pre.194, on macOS 11.1 20C69 darwin-x64, locale en-GB)
    • Flutter version 1.26.0-13.0.pre.194 at /Users/tahatesser/Code/flutter_master
    • Framework revision 71aec53acb (5 hours ago), 2021-01-26 21:53:04 -0800
    • Engine revision b11bef83a5
    • Dart version 2.12.0 (build 2.12.0-263.0.dev)

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
    • Android SDK at /Volumes/Extreme/SDK
    • Platform android-30, build-tools 30.0.3
    • ANDROID_HOME = /Volumes/Extreme/SDK
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS
    • Xcode at /Volumes/Extreme/Xcode.app/Contents/Developer
    • Xcode 12.3, Build version 12C33
    • CocoaPods version 1.10.1

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 4.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)

[✓] VS Code (version 1.52.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.18.1

[✓] Connected device (4 available)
    • RMX2001 (mobile)     • EUYTFEUSQSRGDA6D          • android-arm64  • Android 10 (API 29)
    • Taha’s iPad (mobile) • 00008020-000255113EE8402E • ios            • iOS 14.3
    • macOS (desktop)      • macos                     • darwin-x64     • macOS 11.1 20C69 darwin-x64
    • Chrome (web)         • chrome                    • web-javascript • Google Chrome 88.0.4324.96

• No issues found!

I took a look at this question, it should be that your code was wrong. When you opened screen2 from screen1, you did not assign a value to screen.onNavToScreen1, which caused an exception.

I took a look at this question, it should be that your code was wrong. When you opened screen2 from screen1, you did not assign a value to screen.onNavToScreen1, which caused an exception.

@xu-baolin
Can you please provide an example? VoidCallback is just void, it doesn't need to be assigned any value, it's just being called.

@xu-baolin
Can you please provide an example? VoidCallback is just void, it doesn't need to be assigned any value, it's just being called.

        CustomButton(
          text: "Open Screen 1",
          onPressed: () => _openScreen(context, Screen1(
            onNavToScreen2: () {
              Navigator.pop(context);
              _openScreen(context, Screen2());
            },
          )),
        ),

Screen2.onNavToScreen1 is null now!

        CustomButton(
          text: "Open Screen 1",
          onPressed: () => _openScreen(context, Screen1(
            onNavToScreen2: () {
              Navigator.pop(context);
              _openScreen(context, Screen2());
            },
          )),
        ),

Screen2.onNavToScreen1 is null now!

Hi @xu-baolin
That makes sense now, the callback is not initialized for Screen2.
Thanks!
@sanjade
Please take a look at your code as this isn't an issue with Flutter itself.
Please see https://flutter.dev/community for resources and asking questions like this,
you may also get some help if you post it on Stack Overflow and if you need help with your code, please see https://www.reddit.com/r/flutterhelp/
Closing, as this isn't an issue with Flutter itself. If you disagree, please write in the comments and I will reopen it.
Thank you

Hi @xu-baolin
That makes sense now, the callback is not initialized for Screen2.
Thanks!
@sanjade
Please take a look at your code as this isn't an issue with Flutter itself.
Please see https://flutter.dev/community for resources and asking questions like this,
you may also get some help if you post it on Stack Overflow and if you need help with your code, please see https://www.reddit.com/r/flutterhelp/
Closing, as this isn't an issue with Flutter itself. If you disagree, please write in the comments and I will reopen it.
Thank you

Thanks a lot. That fixes this issue.

Thanks a lot. That fixes this issue.


Something weird happened when create column 'dept' and saved it.

Hallo dbeaver team.
I found something weird when i create column named 'dept' with varchar(100) datatype in dbp_user table. it's taking too long respond when click saved and maybe not responding. The video url and dbeaver version is attached.
Dbeaver Version :
Video URL : https://drive.google.com/file/d/1xcQ_wShZwkv7K2f8Jjti5L4P34HaL6ab/view?usp=sharing
Thank you.
RF

@ronnifadhlillah what database do you use? could you provide table DDL? is there is something in the logs?

hallo @uslss i use mysql. ALTER TABLE ccsi_por.dbp_users ADD dept varchar(100) NOT NULL; . and this is the log

It seems something is going wrong with query syntax. Do you use UI or SQL editor for column creation?

hallo ,, i use UI.

and what database do you use?

There has been no update on the issue for a long time.  If it is still reproducible - feel free to reopen it


Allow keyword 'continuous' also to be used in an identifier context.

Fixes #672
Signed-off-by: Henner Zeller<EMAIL_ADDRESS>

Codecov Report

Merging #1230 (20c65b2) into master (3a3f65b) will increase coverage by 0.00%.
The diff coverage is 100.00%.

:exclamation: Current head 20c65b2 differs from pull request most recent head 19c5b8b. Consider uploading reports for the commit 19c5b8b to get more accurate results

@@           Coverage Diff           @@
##           master    #1230   +/-   ##
=======================================
  Coverage   92.67%   92.67%
=======================================
  Files         338      338
  Lines       23301    23302    +1
=======================================
+ Hits        21595    21596    +1
  Misses       1706     1706

Impacted Files
Coverage Δ

verilog/parser/verilog_token_classifications.cc
100.00% <ø> (ø)

verilog/parser/verilog.y
82.97% <100.00%> (+<0.01%)
:arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 3a3f65b...19c5b8b. Read the comment docs.


Fix:left sidebar highlight width for PM

Fixes #11873

Closing this in favor of #11881.  @SiddharthVarshney You can help by reviewing that other PR, if you have time.


Fix dialog, linear-progress and select module names in docs

The module names in the new docs for dialog, linear-progress and select seem to be incorrect.
Corrected them to @rmwc/dialog, @rmwc/linear-progress and @rmwc/select.

These Readmes are actually generated now from the Typescript source

Thanks. I removed the changes to the README.md files, and included only the changed readme.tsx files.

Merged and deployed


Fixed Visible boundary in dark mode

Related Issue
Fixes: #2635
Description
This PR adds a white border to the contact card in dark mode only. It enhances the visual separation of the contact form from the background in dark mode, improving overall readability and user experience.
The changes include:

Ensuring the border is not visible in light mode
Adjusting the background color for better contrast in dark mode

Type of PR

[x] Feature enhancement

Screenshots
Before -

After -

Checklist:

[x] I have made this change from my own.
[x] My code follows the style guidelines of this project.
[x] I have performed a self-review of my own code.
[x] I have commented my code, particularly in hard-to-understand areas.
[x] I have made corresponding changes to the documentation.
[x] My changes generate no new warnings.
[x] I have tested the changes thoroughly before submitting this pull request.
[x] I have provided relevant issue numbers and screenshots after making the changes.

this branch has conflicts that must be resolved
Conflicting files
index.html


take some time when I get video on gallery on iOS [ ^0.3.5 ]

hello
when I load video on gallery with this code,
recorded video takes some times.

flutter doctor
[✓] Flutter (Channel stable, 1.22.4, on macOS 11.0.1 20B50 darwin-x64, locale ko-KR)
[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
[✓] Xcode - develop for iOS and macOS (Xcode 12.2)
[!] Android Studio (version 4.1)
✗ Flutter plugin not installed; this adds Flutter specific functionality.
✗ Dart plugin not installed; this adds Dart specific functionality.
[✓] Connected device (1 available)
IPhone7
The codes
FilePickerResult result = await FilePicker.platform.pickFiles(
type: FileType.video,
allowCompression: false,
);
if (result != null) {
File file = File(result.files.single.path);
_trimmer.loadVideo(videoFile: file);
Navigator.of(context).push(
MaterialPageRoute(builder: (context) {
return TrimVideoScreen(trimmer: _trimmer);
}),
);

it's okay with downloaded video
but it takes time recorded video.
I mean , videos which I took.
downloaded videos = okay
recorded videos = NOT okay
it takes some times to go to TrimVideoScreen ,
I think its compressing or something
cuz
the time different with  videos length.
short video = short time
long video = long time
man i wish to good at english
anyway i hope you to understand. 🙂

Have you tried in a release build if you are facing the same delay?
Also, are you using allowCompression: false which was introduced as a part of https://github.com/sbis04/video_trimmer/pull/81 ?
Please try with the latest package 0.4.0, and let me know.

thanks but there is one problem 😭
i'll write about it

Closing this issue