Repository: flutter
Issue: [path_provider] path_provider on desktop stores app files in the user's documents directory
Labels: platform-mac,platform-windows,platform-linux,p: path_provider,package,c: proposal,a: desktop,team-ecosystem,P2,triaged-ecosystem

<!-- Thank you for using Flutter!

     If you are looking for support, please check out our documentation
     or consider asking a question on Stack Overflow:
      * https://flutter.dev/
      * https://api.flutter.dev/
      * https://stackoverflow.com/questions/tagged/flutter?sort=frequent

     If you have found a bug or if our documentation doesn't have an answer
     to what you're looking for, then fill out the template below. Please read
     our guide to filing a bug first: https://flutter.dev/docs/resources/bug-reports
-->

## Steps to Reproduce

<!-- You must include full steps to reproduce so that we can reproduce the problem. -->

1. Run `flutter create bug`.
2. Update the files as follows: ... <!-- include every file that is different from the template app! -->

<details> 
<summary>code sample</summary> 

```dart
import 'dart:io';

import 'package:flutter/material.dart';
import 'package:path_provider/path_provider.dart';

void main() {
  runApp(MyApp());
}

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Demo',
      home: MyHomePage(),
    );
  }
}

class MyHomePage extends StatelessWidget {
  const MyHomePage({Key key}) : super(key: key);

  Future<void> writeFile() async {
    Directory documentsDir = await getApplicationDocumentsDirectory();
    File file = File("${documentsDir.path}/hello.txt");
    await file.writeAsString("This file is cluttering up your directories!");
  }

  @override
  Widget build(BuildContext context) {
    writeFile();
    return Scaffold(
      body: Center(
        child: Text(
            "There should be a file called hello.txt in your Documents or home directory"),
      ),
    );
  }
}
``` 

</details>


<details> 
<summary>pubspec.yaml</summary> 

```yaml
name: bug
description: A new Flutter project.

# The following line prevents the package from being accidentally published to
# pub.dev using `pub publish`. This is preferred for private packages.
publish_to: 'none' # Remove this line if you wish to publish to pub.dev

# The following defines the version and build number for your application.
# A version number is three numbers separated by dots, like 1.2.43
# followed by an optional build number separated by a +.
# Both the version and the builder number may be overridden in flutter
# build by specifying --build-name and --build-number, respectively.
# In Android, build-name is used as versionName while build-number used as versionCode.
# Read more about Android versioning at https://developer.android.com/studio/publish/versioning
# In iOS, build-name is used as CFBundleShortVersionString while build-number used as CFBundleVersion.
# Read more about iOS versioning at
# https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
version: 1.0.0+1

environment:
  sdk: ">=2.7.0 <3.0.0"

dependencies:
  flutter:
    sdk: flutter
  path_provider: ^2.0.1


  # The following adds the Cupertino Icons font to your application.
  # Use with the CupertinoIcons class for iOS style icons.
  cupertino_icons: ^1.0.2

dev_dependencies:
  flutter_test:
    sdk: flutter

# For information on the generic Dart part of this file, see the
# following page: https://dart.dev/tools/pub/pubspec

# The following section is specific to Flutter.
flutter:

  # The following line ensures that the Material Icons font is
  # included with your application, so that you can use the icons in
  # the material Icons class.
  uses-material-design: true

  # To add assets to your application, add an assets section, like this:
  # assets:
  #   - images/a_dot_burr.jpeg
  #   - images/a_dot_ham.jpeg

  # An image asset can refer to one or more resolution-specific "variants", see
  # https://flutter.dev/assets-and-images/#resolution-aware.

  # For details regarding adding assets from package dependencies, see
  # https://flutter.dev/assets-and-images/#from-packages

  # To add custom fonts to your application, add a fonts section here,
  # in this "flutter" section. Each entry in this list should have a
  # "family" key with the font family name, and a "fonts" key with a
  # list giving the asset and other descriptors for the font. For
  # example:
  # fonts:
  #   - family: Schyler
  #     fonts:
  #       - asset: fonts/Schyler-Regular.ttf
  #       - asset: fonts/Schyler-Italic.ttf
  #         style: italic
  #   - family: Trajan Pro
  #     fonts:
  #       - asset: fonts/TrajanPro.ttf
  #       - asset: fonts/TrajanPro_Bold.ttf
  #         weight: 700
  #
  # For details regarding fonts from package dependencies,
  # see https://flutter.dev/custom-fonts/#from-packages
```

</details>

Or, download bug.zip (complete project)
[bug.zip](https://github.com/flutter/flutter/files/6103731/bug.zip)

3. Run the app

**Expected results:** <!-- what did you want to see? -->
The app creates a folder for the app (on other Linux programs, usually in .local/share). The text file should be put there.

**Actual results:** <!-- what did you see? -->
The text file is written to my home directory.

<!--
      Run your application with `flutter run --verbose` and attach all the
      log output below between the lines with the backticks. If there is an
      exception, please see if the error message includes enough information
      to explain how to solve the issue.
-->

<details> 
<summary>logs</summary> 

```bash
[  +53 ms] executing: [/home/james/Android/flutter/] git -c log.showSignature=false log -n 1 --pretty=format:%H
[  +23 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H
[        ] 60bd88df915880d23877bfc1602e8ddcf4c4dd2a
[        ] executing: [/home/james/Android/flutter/] git tag --points-at 60bd88df915880d23877bfc1602e8ddcf4c4dd2a
[   +8 ms] Exit code 0 from: git tag --points-at 60bd88df915880d23877bfc1602e8ddcf4c4dd2a
[        ] 2.0.0
[  +27 ms] executing: [/home/james/Android/flutter/] git rev-parse --abbrev-ref --symbolic @{u}
[   +3 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[        ] origin/stable
[        ] executing: [/home/james/Android/flutter/] git ls-remote --get-url origin
[   +2 ms] Exit code 0 from: git ls-remote --get-url origin
[        ] https://github.com/flutter/flutter.git
[  +27 ms] executing: [/home/james/Android/flutter/] git rev-parse --abbrev-ref HEAD
[   +3 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[        ] stable
[  +39 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.
[   +1 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.
[  +39 ms] executing: /home/james/Android/Sdk/platform-tools/adb devices -l
[  +26 ms] List of devices attached
[   +2 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 'WindowsEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSEngineArtifacts' 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.
[  +43 ms] Multiple devices found:
[  +53 ms] Linux (desktop) • linux  • linux-x64      • Linux
[        ] Chrome (web)    • chrome • web-javascript • Chromium 89.0.4389.82 Arch Linux
[        ] [1]: Linux (linux)
[        ] [2]: Chrome (chrome)
[   +1 ms] Please choose one (To quit, press "q/Q")
[        ] : 
[+5042 ms] 1
[   +8 ms] Running "flutter pub get" in bug...
[   +3 ms] executing: [/home/james/bug/] /home/james/Android/flutter/bin/cache/dart-sdk/bin/pub --verbose get --no-precompile
[  +39 ms] FINE: Pub 2.12.0
[  +56 ms] MSG : Resolving dependencies...
[  +23 ms] SLVR: fact: bug is 1.0.0+1
[   +4 ms] SLVR: derived: bug
[  +17 ms] SLVR: fact: bug depends on flutter any from sdk
[        ] SLVR: fact: bug depends on path_provider ^2.0.1
[        ] SLVR: fact: bug depends on cupertino_icons ^1.0.2
[        ] SLVR: fact: bug depends on flutter_test any from sdk
[   +2 ms] SLVR:   selecting bug
[        ] SLVR:   derived: flutter_test any from sdk
[        ] SLVR:   derived: cupertino_icons ^1.0.2
[        ] SLVR:   derived: path_provider ^2.0.1
[        ] SLVR:   derived: flutter any from sdk
[   +6 ms] SLVR:   fact: flutter_test 0.0.0 from sdk depends on flutter any from sdk
[        ] SLVR:   fact: flutter_test 0.0.0 from sdk depends on test_api 0.2.19
[        ] SLVR:   fact: flutter_test 0.0.0 from sdk depends on path 1.8.0
[        ] SLVR:   fact: flutter_test 0.0.0 from sdk depends on fake_async 1.2.0
[        ] SLVR:   fact: flutter_test 0.0.0 from sdk depends on clock 1.1.0
[        ] SLVR:   fact: flutter_test 0.0.0 from sdk depends on stack_trace 1.10.0
[        ] SLVR:   fact: flutter_test 0.0.0 from sdk depends on vector_math 2.1.0
[        ] SLVR:   fact: flutter_test 0.0.0 from sdk depends on async 2.5.0
[        ] SLVR:   fact: flutter_test 0.0.0 from sdk depends on boolean_selector 2.1.0
[        ] SLVR:   fact: flutter_test 0.0.0 from sdk depends on characters 1.1.0
[        ] SLVR:   fact: flutter_test 0.0.0 from sdk depends on charcode 1.2.0
[        ] SLVR:   fact: flutter_test 0.0.0 from sdk depends on collection 1.15.0
[        ] SLVR:   fact: flutter_test 0.0.0 from sdk depends on matcher 0.12.10
[        ] SLVR:   fact: flutter_test 0.0.0 from sdk depends on meta 1.3.0
[        ] SLVR:   fact: flutter_test 0.0.0 from sdk depends on source_span 1.8.0
[        ] SLVR:   fact: flutter_test 0.0.0 from sdk depends on stream_channel 2.1.0
[        ] SLVR:   fact: flutter_test 0.0.0 from sdk depends on string_scanner 1.1.0
[        ] SLVR:   fact: flutter_test 0.0.0 from sdk depends on term_glyph 1.2.0
[        ] SLVR:   fact: flutter_test 0.0.0 from sdk depends on typed_data 1.3.0
[        ] SLVR:     selecting flutter_test 0.0.0 from sdk
[        ] SLVR:     derived: typed_data 1.3.0
[        ] SLVR:     derived: term_glyph 1.2.0
[        ] SLVR:     derived: string_scanner 1.1.0
[        ] SLVR:     derived: stream_channel 2.1.0
[        ] SLVR:     derived: source_span 1.8.0
[        ] SLVR:     derived: meta 1.3.0
[        ] SLVR:     derived: matcher 0.12.10
[        ] SLVR:     derived: collection 1.15.0
[        ] SLVR:     derived: charcode 1.2.0
[        ] SLVR:     derived: characters 1.1.0
[        ] SLVR:     derived: boolean_selector 2.1.0
[        ] SLVR:     derived: async 2.5.0
[        ] SLVR:     derived: vector_math 2.1.0
[        ] SLVR:     derived: stack_trace 1.10.0
[        ] SLVR:     derived: clock 1.1.0
[        ] SLVR:     derived: fake_async 1.2.0
[        ] SLVR:     derived: path 1.8.0
[        ] SLVR:     derived: test_api 0.2.19
[  +12 ms] SLVR:       selecting cupertino_icons 1.0.2
[   +3 ms] SLVR:       fact: path_provider 2.0.1 depends on flutter any from sdk
[        ] SLVR:       fact: path_provider 2.0.1 depends on path_provider_platform_interface ^2.0.0
[        ] SLVR:       fact: path_provider 2.0.1 depends on path_provider_macos ^2.0.0
[        ] SLVR:       fact: path_provider 2.0.1 depends on path_provider_linux ^2.0.0
[        ] SLVR:       fact: path_provider 2.0.1 depends on path_provider_windows ^2.0.0
[        ] SLVR:         selecting path_provider 2.0.1
[        ] SLVR:         derived: path_provider_windows ^2.0.0
[        ] SLVR:         derived: path_provider_linux ^2.0.0
[        ] SLVR:         derived: path_provider_macos ^2.0.0
[        ] SLVR:         derived: path_provider_platform_interface ^2.0.0
[   +4 ms] SLVR:         fact: flutter 0.0.0 from sdk depends on characters 1.1.0
[        ] SLVR:         fact: flutter 0.0.0 from sdk depends on collection 1.15.0
[        ] SLVR:         fact: flutter 0.0.0 from sdk depends on meta 1.3.0
[        ] SLVR:         fact: flutter 0.0.0 from sdk depends on typed_data 1.3.0
[        ] SLVR:         fact: flutter 0.0.0 from sdk depends on vector_math 2.1.0
[        ] SLVR:         fact: flutter 0.0.0 from sdk depends on sky_engine any from sdk
[        ] SLVR:           selecting flutter 0.0.0 from sdk
[        ] SLVR:           derived: sky_engine any from sdk
[   +2 ms] SLVR:           fact: typed_data 1.3.0 depends on collection ^1.15.0
[        ] SLVR:             selecting typed_data 1.3.0
[   +2 ms] SLVR:               selecting term_glyph 1.2.0
[   +2 ms] SLVR:               fact: string_scanner 1.1.0 depends on charcode ^1.2.0
[        ] SLVR:               fact: string_scanner 1.1.0 depends on source_span ^1.8.0
[        ] SLVR:                 selecting string_scanner 1.1.0
[   +2 ms] SLVR:                 fact: stream_channel 2.1.0 depends on async ^2.5.0
[        ] SLVR:                   selecting stream_channel 2.1.0
[   +2 ms] SLVR:                   fact: source_span 1.8.0 depends on charcode ^1.2.0
[        ] SLVR:                   fact: source_span 1.8.0 depends on collection ^1.15.0
[        ] SLVR:                   fact: source_span 1.8.0 depends on path ^1.8.0
[        ] SLVR:                   fact: source_span 1.8.0 depends on term_glyph ^1.2.0
[        ] SLVR:                     selecting source_span 1.8.0
[   +2 ms] SLVR:                       selecting meta 1.3.0
[   +2 ms] SLVR:                       fact: matcher 0.12.10 depends on stack_trace ^1.10.0
[        ] SLVR:                         selecting matcher 0.12.10
[   +2 ms] SLVR:                           selecting collection 1.15.0
[   +2 ms] SLVR:                             selecting charcode 1.2.0
[   +2 ms] SLVR:                               selecting characters 1.1.0
[   +2 ms] SLVR:                               fact: boolean_selector 2.1.0 depends on source_span ^1.8.0
[        ] SLVR:                               fact: boolean_selector 2.1.0 depends on string_scanner ^1.1.0
[        ] SLVR:                                 selecting boolean_selector 2.1.0
[   +2 ms] SLVR:                                 fact: async 2.5.0 depends on collection ^1.15.0
[        ] SLVR:                                   selecting async 2.5.0
[   +1 ms] SLVR:                                     selecting vector_math 2.1.0
[   +1 ms] SLVR:                                     fact: stack_trace 1.10.0 depends on path ^1.8.0
[        ] SLVR:                                       selecting stack_trace 1.10.0
[   +1 ms] SLVR:                                         selecting clock 1.1.0
[   +9 ms] SLVR:                                         fact: fake_async 1.2.0 depends on clock ^1.1.0
[        ] SLVR:                                         fact: fake_async 1.2.0 depends on collection ^1.15.0
[        ] SLVR:                                           selecting fake_async 1.2.0
[        ] SLVR:                                             selecting path 1.8.0
[        ] SLVR:                                             fact: test_api 0.2.19 depends on async ^2.5.0
[        ] SLVR:                                             fact: test_api 0.2.19 depends on boolean_selector ^2.1.0
[        ] SLVR:                                             fact: test_api 0.2.19 depends on collection ^1.15.0
[        ] SLVR:                                             fact: test_api 0.2.19 depends on meta ^1.3.0
[        ] SLVR:                                             fact: test_api 0.2.19 depends on path ^1.8.0
[        ] SLVR:                                             fact: test_api 0.2.19 depends on source_span ^1.8.0
[        ] SLVR:                                             fact: test_api 0.2.19 depends on stack_trace ^1.10.0
[        ] SLVR:                                             fact: test_api 0.2.19 depends on stream_channel ^2.1.0
[        ] SLVR:                                             fact: test_api 0.2.19 depends on string_scanner ^1.1.0
[        ] SLVR:                                             fact: test_api 0.2.19 depends on term_glyph ^1.2.0
[        ] SLVR:                                             fact: test_api 0.2.19 depends on matcher >=0.12.10 <0.12.11
[        ] SLVR:                                               selecting test_api 0.2.19
[        ] SLVR:                                               fact: path_provider_windows 2.0.0 depends on path_provider_platform_interface ^2.0.0
[        ] SLVR:                                               fact: path_provider_windows 2.0.0 depends on meta ^1.3.0
[        ] SLVR:                                               fact: path_provider_windows 2.0.0 depends on path ^1.8.0
[        ] SLVR:                                               fact: path_provider_windows 2.0.0 depends on flutter any from sdk
[        ] SLVR:                                               fact: path_provider_windows 2.0.0 depends on ffi ^1.0.0
[        ] SLVR:                                               fact: path_provider_windows 2.0.0 depends on win32 ^2.0.0
[        ] SLVR:                                                 selecting path_provider_windows 2.0.0
[        ] SLVR:                                                 derived: win32 ^2.0.0
[        ] SLVR:                                                 derived: ffi ^1.0.0
[   +1 ms] SLVR:                                                 fact: path_provider_linux 2.0.0 depends on path ^1.8.0
[        ] SLVR:                                                 fact: path_provider_linux 2.0.0 depends on xdg_directories ^0.2.0
[        ] SLVR:                                                 fact: path_provider_linux 2.0.0 depends on path_provider_platform_interface ^2.0.0
[        ] SLVR:                                                 fact: path_provider_linux 2.0.0 depends on flutter any from sdk
[        ] SLVR:                                                   selecting path_provider_linux 2.0.0
[        ] SLVR:                                                   derived: xdg_directories ^0.2.0
[   +1 ms] SLVR:                                                   fact: path_provider_macos 2.0.0 depends on flutter any from sdk
[        ] SLVR:                                                     selecting path_provider_macos 2.0.0
[   +1 ms] SLVR:                                                     fact: path_provider_platform_interface 2.0.1 depends on flutter any from sdk
[        ] SLVR:                                                     fact: path_provider_platform_interface 2.0.1 depends on meta ^1.3.0
[        ] SLVR:                                                     fact: path_provider_platform_interface 2.0.1 depends on platform ^3.0.0
[        ] SLVR:                                                     fact: path_provider_platform_interface 2.0.1 depends on plugin_platform_interface ^2.0.0
[        ] SLVR:                                                       selecting path_provider_platform_interface 2.0.1
[        ] SLVR:                                                       derived: plugin_platform_interface ^2.0.0
[        ] SLVR:                                                       derived: platform ^3.0.0
[   +1 ms] SLVR:                                                         selecting sky_engine 0.0.99 from sdk
[   +1 ms] SLVR:                                                         fact: win32 2.0.0 depends on ffi ^1.0.0
[        ] SLVR:                                                           selecting win32 2.0.0
[   +1 ms] SLVR:                                                             selecting ffi 1.0.0
[   +1 ms] SLVR:                                                             fact: xdg_directories 0.2.0 depends on meta ^1.3.0
[        ] SLVR:                                                             fact: xdg_directories 0.2.0 depends on path ^1.8.0
[        ] SLVR:                                                             fact: xdg_directories 0.2.0 depends on process ^4.0.0
[        ] SLVR:                                                               selecting xdg_directories 0.2.0
[        ] SLVR:                                                               derived: process ^4.0.0
[   +1 ms] SLVR:                                                               fact: plugin_platform_interface 2.0.0 depends on meta ^1.3.0
[        ] SLVR:                                                                 selecting plugin_platform_interface 2.0.0
[   +1 ms] SLVR:                                                                   selecting platform 3.0.0
[   +1 ms] SLVR:                                                                   fact: process 4.1.0 depends on file ^6.0.0
[        ] SLVR:                                                                   fact: process 4.1.0 depends on path ^1.8.0
[        ] SLVR:                                                                   fact: process 4.1.0 depends on platform ^3.0.0
[        ] SLVR:                                                                     selecting process 4.1.0
[        ] SLVR:                                                                     derived: file ^6.0.0
[   +1 ms] SLVR:                                                                     fact: file 6.1.0 depends on meta ^1.3.0
[        ] SLVR:                                                                     fact: file 6.1.0 depends on path ^1.8.0
[        ] SLVR:                                                                       selecting file 6.1.0
[  +86 ms] SLVR: Version solving took 0:00:00.214215 seconds.
[        ]     | Tried 1 solutions.
[        ] FINE: Resolving dependencies finished (0.236s).
[  +72 ms] MSG :   source_span 1.8.0 (1.8.1 available)
[  +28 ms] IO  : Writing 5487 characters to text file ./pubspec.lock.
[        ] FINE: Contents:
[        ]     | # Generated by pub
[        ]     | # See https://dart.dev/tools/pub/glossary#lockfile
[        ]     | packages:
[        ]     |   async:
[        ]     |     dependency: transitive
[        ]     |     description:
[        ]     |       name: async
[        ]     |       url: "https://pub.dartlang.org"
[        ]     |     source: hosted
[        ]     |     version: "2.5.0"
[        ]     |   boolean_selector:
[        ]     |     dependency: transitive
[        ]     |     description:
[        ]     |       name: boolean_selector
[        ]     |       url: "https://pub.dartlang.org"
[        ]     |     source: hosted
[        ]     |     version: "2.1.0"
[        ]     |   characters:
[        ]     |     dependency: transitive
[        ]     |     description:
[        ]     |       name: characters
[        ]     |       url: "https://pub.dartlang.org"
[        ]     |     source: hosted
[        ]     |     version: "1.1.0"
[        ]     |   charcode:
[        ]     |     dependency: transitive
[        ]     |     description:
[        ]     |       name: charcode
[        ]     |       url: "https://pub.dartlang.org"
[        ]     |     source: hosted
[        ]     |     version: "1.2.0"
[        ]     |   clock:
[        ]     |     dependency: transitive
[        ]     |     description:
[        ]     |       name: clock
[        ]     |       url: "https://pub.dartlang.org"
[        ]     |     source: hosted
[        ]     |     version: "1.1.0"
[        ]     |   collection:
[        ]     |     dependency: transitive
[        ]     |     description:
[        ]     |       name: collection
[        ]     |       url: "https://pub.dartlang.org"
[        ]     |     source: hosted
[        ]     |     version: "1.15.0"
[        ]     |   cupertino_icons:
[        ]     |     dependency: "direct main"
[        ]     |     description:
[        ]     |       name: cupertino_icons
[        ]     |       url: "https://pub.dartlang.org"
[        ]     |     source: hosted
[        ]     |     version: "1.0.2"
[        ]     |   fake_async:
[        ]     |     dependency: transitive
[        ]     |     description:
[        ]     |       name: fake_async
[        ]     |       url: "https://pub.dartlang.org"
[        ]     |     source: hosted
[        ]     |     version: "1.2.0"
[        ]     |   ffi:
[        ]     |     dependency: transitive
[        ]     |     description:
[        ]     |       name: ffi
[        ]     |       url: "https://pub.dartlang.org"
[        ]     |     source: hosted
[        ]     |     version: "1.0.0"
[        ]     |   file:
[        ]     |     dependency: transitive
[        ]     |     description:
[        ]     |       name: file
[        ]     |       url: "https://pub.dartlang.org"
[        ]     |     source: hosted
[        ]     |     version: "6.1.0"
[        ]     |   flutter:
[        ]     |     dependency: "direct main"
[        ]     |     description: flutter
[        ]     |     source: sdk
[        ]     |     version: "0.0.0"
[        ]     |   flutter_test:
[        ]     |     dependency: "direct dev"
[        ]     |     description: flutter
[        ]     |     source: sdk
[        ]     |     version: "0.0.0"
[        ]     |   matcher:
[        ]     |     dependency: transitive
[        ]     |     description:
[        ]     |       name: matcher
[        ]     |       url: "https://pub.dartlang.org"
[        ]     |     source: hosted
[        ]     |     version: "0.12.10"
[        ]     |   meta:
[        ]     |     dependency: transitive
[        ]     |     description:
[        ]     |       name: meta
[        ]     |       url: "https://pub.dartlang.org"
[        ]     |     source: hosted
[        ]     |     version: "1.3.0"
[        ]     |   path:
[        ]     |     dependency: transitive
[        ]     |     description:
[        ]     |       name: path
[        ]     |       url: "https://pub.dartlang.org"
[        ]     |     source: hosted
[        ]     |     version: "1.8.0"
[        ]     |   path_provider:
[        ]     |     dependency: "direct main"
[        ]     |     description:
[        ]     |       name: path_provider
[        ]     |       url: "https://pub.dartlang.org"
[        ]     |     source: hosted
[        ]     |     version: "2.0.1"
[        ]     |   path_provider_linux:
[        ]     |     dependency: transitive
[        ]     |     description:
[        ]     |       name: path_provider_linux
[        ]     |       url: "https://pub.dartlang.org"
[        ]     |     source: hosted
[        ]     |     version: "2.0.0"
[        ]     |   path_provider_macos:
[        ]     |     dependency: transitive
[        ]     |     description:
[        ]     |       name: path_provider_macos
[        ]     |       url: "https://pub.dartlang.org"
[        ]     |     source: hosted
[        ]     |     version: "2.0.0"
[        ]     |   path_provider_platform_interface:
[        ]     |     dependency: transitive
[        ]     |     description:
[        ]     |       name: path_provider_platform_interface
[        ]     |       url: "https://pub.dartlang.org"
[        ]     |     source: hosted
[        ]     |     version: "2.0.1"
[        ]     |   path_provider_windows:
[        ]     |     dependency: transitive
[        ]     |     description:
[        ]     |       name: path_provider_windows
[        ]     |       url: "https://pub.dartlang.org"
[        ]     |     source: hosted
[        ]     |     version: "2.0.0"
[        ]     |   platform:
[        ]     |     dependency: transitive
[        ]     |     description:
[        ]     |       name: platform
[        ]     |       url: "https://pub.dartlang.org"
[        ]     |     source: hosted
[        ]     |     version: "3.0.0"
[        ]     |   plugin_platform_interface:
[        ]     |     dependency: transitive
[        ]     |     description:
[        ]     |       name: plugin_platform_interface
[        ]     |       url: "https://pub.dartlang.org"
[        ]     |     source: hosted
[        ]     |     version: "2.0.0"
[        ]     |   process:
[        ]     |     dependency: transitive
[        ]     |     description:
[        ]     |       name: process
[        ]     |       url: "https://pub.dartlang.org"
[        ]     |     source: hosted
[        ]     |     version: "4.1.0"
[        ]     |   sky_engine:
[        ]     |     dependency: transitive
[        ]     |     description: flutter
[        ]     |     source: sdk
[        ]     |     version: "0.0.99"
[        ]     |   source_span:
[        ]     |     dependency: transitive
[        ]     |     description:
[        ]     |       name: source_span
[        ]     |       url: "https://pub.dartlang.org"
[        ]     |     source: hosted
[        ]     |     version: "1.8.0"
[        ]     |   stack_trace:
[        ]     |     dependency: transitive
[        ]     |     description:
[        ]     |       name: stack_trace
[        ]     |       url: "https://pub.dartlang.org"
[        ]     |     source: hosted
[        ]     |     version: "1.10.0"
[        ]     |   stream_channel:
[        ]     |     dependency: transitive
[        ]     |     description:
[        ]     |       name: stream_channel
[        ]     |       url: "https://pub.dartlang.org"
[        ]     |     source: hosted
[        ]     |     version: "2.1.0"
[        ]     |   string_scanner:
[        ]     |     dependency: transitive
[        ]     |     description:
[        ]     |       name: string_scanner
[        ]     |       url: "https://pub.dartlang.org"
[        ]     |     source: hosted
[        ]     |     version: "1.1.0"
[        ]     |   term_glyph:
[        ]     |     dependency: transitive
[        ]     |     description:
[        ]     |       name: term_glyph
[        ]     |       url: "https://pub.dartlang.org"
[        ]     |     source: hosted
[        ]     |     version: "1.2.0"
[        ]     |   test_api:
[        ]     |     dependency: transitive
[        ]     |     description:
[        ]     |       name: test_api
[        ]     |       url: "https://pub.dartlang.org"
[        ]     |     source: hosted
[        ]     |     version: "0.2.19"
[        ]     |   typed_data:
[        ]     |     dependency: transitive
[        ]     |     description:
[        ]     |       name: typed_data
[        ]     |       url: "https://pub.dartlang.org"
[        ]     |     source: hosted
[        ]     |     version: "1.3.0"
[        ]     |   vector_math:
[        ]     |     dependency: transitive
[        ]     |     description:
[        ]     |       name: vector_math
[        ]     |       url: "https://pub.dartlang.org"
[        ]     |     source: hosted
[        ]     |     version: "2.1.0"
[        ]     |   win32:
[        ]     |     dependency: transitive
[        ]     |     description:
[        ]     |       name: win32
[        ]     |       url: "https://pub.dartlang.org"
[        ]     |     source: hosted
[        ]     |     version: "2.0.0"
[        ]     |   xdg_directories:
[        ]     |     dependency: transitive
[        ]     |     description:
[        ]     |       name: xdg_directories
[        ]     |       url: "https://pub.dartlang.org"
[        ]     |     source: hosted
[        ]     |     version: "0.2.0"
[        ]     | sdks:
[        ]     |   dart: ">=2.12.0-259.9.beta <3.0.0"
[        ]     |   flutter: ">=1.20.0"
[        ] MSG : Got dependencies!
[        ] IO  : Writing 3231 characters to text file ./.packages.
[        ] FINE: Contents:
[        ]     | # This file is deprecated. Tools should instead consume 
[        ]     | # `.dart_tools/package_config.json`.
[        ]     | # 
[        ]     | # For more info see: https://dart.dev/go/dot-packages-deprecation
[        ]     | # 
[        ]     | # Generated by pub on 2021-03-08 19:39:17.161835.
[        ]     | async:file:///home/james/.pub-cache/hosted/pub.dartlang.org/async-2.5.0/lib/
[        ]     | boolean_selector:file:///home/james/.pub-cache/hosted/pub.dartlang.org/boolean_selector-2.1.0/lib/
[        ]     | characters:file:///home/james/.pub-cache/hosted/pub.dartlang.org/characters-1.1.0/lib/
[        ]     | charcode:file:///home/james/.pub-cache/hosted/pub.dartlang.org/charcode-1.2.0/lib/
[        ]     | clock:file:///home/james/.pub-cache/hosted/pub.dartlang.org/clock-1.1.0/lib/
[        ]     | collection:file:///home/james/.pub-cache/hosted/pub.dartlang.org/collection-1.15.0/lib/
[        ]     | cupertino_icons:file:///home/james/.pub-cache/hosted/pub.dartlang.org/cupertino_icons-1.0.2/lib/
[        ]     | fake_async:file:///home/james/.pub-cache/hosted/pub.dartlang.org/fake_async-1.2.0/lib/
[        ]     | ffi:file:///home/james/.pub-cache/hosted/pub.dartlang.org/ffi-1.0.0/lib/
[        ]     | file:file:///home/james/.pub-cache/hosted/pub.dartlang.org/file-6.1.0/lib/
[        ]     | flutter:file:///home/james/Android/flutter/packages/flutter/lib/
[        ]     | flutter_test:file:///home/james/Android/flutter/packages/flutter_test/lib/
[        ]     | matcher:file:///home/james/.pub-cache/hosted/pub.dartlang.org/matcher-0.12.10/lib/
[        ]     | meta:file:///home/james/.pub-cache/hosted/pub.dartlang.org/meta-1.3.0/lib/
[        ]     | path:file:///home/james/.pub-cache/hosted/pub.dartlang.org/path-1.8.0/lib/
[        ]     | path_provider:file:///home/james/.pub-cache/hosted/pub.dartlang.org/path_provider-2.0.1/lib/
[        ]     | path_provider_linux:file:///home/james/.pub-cache/hosted/pub.dartlang.org/path_provider_linux-2.0.0/lib/
[        ]     | path_provider_macos:file:///home/james/.pub-cache/hosted/pub.dartlang.org/path_provider_macos-2.0.0/lib/
[        ]     | path_provider_platform_interface:file:///home/james/.pub-cache/hosted/pub.dartlang.org/path_provider_platform_interface-2.0.1/lib/
[        ]     | path_provider_windows:file:///home/james/.pub-cache/hosted/pub.dartlang.org/path_provider_windows-2.0.0/lib/
[        ]     | platform:file:///home/james/.pub-cache/hosted/pub.dartlang.org/platform-3.0.0/lib/
[        ]     | plugin_platform_interface:file:///home/james/.pub-cache/hosted/pub.dartlang.org/plugin_platform_interface-2.0.0/lib/
[        ]     | process:file:///home/james/.pub-cache/hosted/pub.dartlang.org/process-4.1.0/lib/
[        ]     | sky_engine:file:///home/james/Android/flutter/bin/cache/pkg/sky_engine/lib/
[        ]     | source_span:file:///home/james/.pub-cache/hosted/pub.dartlang.org/source_span-1.8.0/lib/
[        ]     | stack_trace:file:///home/james/.pub-cache/hosted/pub.dartlang.org/stack_trace-1.10.0/lib/
[        ]     | stream_channel:file:///home/james/.pub-cache/hosted/pub.dartlang.org/stream_channel-2.1.0/lib/
[        ]     | string_scanner:file:///home/james/.pub-cache/hosted/pub.dartlang.org/string_scanner-1.1.0/lib/
[        ]     | term_glyph:file:///home/james/.pub-cache/hosted/pub.dartlang.org/term_glyph-1.2.0/lib/
[        ]     | test_api:file:///home/james/.pub-cache/hosted/pub.dartlang.org/test_api-0.2.19/lib/
[        ]     | typed_data:file:///home/james/.pub-cache/hosted/pub.dartlang.org/typed_data-1.3.0/lib/
[        ]     | vector_math:file:///home/james/.pub-cache/hosted/pub.dartlang.org/vector_math-2.1.0/lib/
[        ]     | win32:file:///home/james/.pub-cache/hosted/pub.dartlang.org/win32-2.0.0/lib/
[        ]     | xdg_directories:file:///home/james/.pub-cache/hosted/pub.dartlang.org/xdg_directories-0.2.0/lib/
[        ]     | bug:lib/
[        ] IO  : Writing 6838 characters to text file ./.dart_tool/package_config.json.
[        ] FINE: Contents:
[        ]     | {
[        ]     |   "configVersion": 2,
[        ]     |   "packages": [
[        ]     |     {
[        ]     |       "name": "async",
[        ]     |       "rootUri": "file:///home/james/.pub-cache/hosted/pub.dartlang.org/async-2.5.0",
[        ]     |       "packageUri": "lib/",
[        ]     |       "languageVersion": "2.12"
[        ]     |     },
[        ]     |     {
[        ]     |       "name": "boolean_selector",
[        ]     |       "rootUri": "file:///home/james/.pub-cache/hosted/pub.dartlang.org/boolean_selector-2.1.0",
[        ]     |       "packageUri": "lib/",
[        ]     |       "languageVersion": "2.12"
[        ]     |     },
[        ]     |     {
[        ]     |       "name": "characters",
[        ]     |       "rootUri": "file:///home/james/.pub-cache/hosted/pub.dartlang.org/characters-1.1.0",
[        ]     |       "packageUri": "lib/",
[        ]     |       "languageVersion": "2.12"
[        ]     |     },
[        ]     |     {
[        ]     |       "name": "charcode",
[        ]     |       "rootUri": "file:///home/james/.pub-cache/hosted/pub.dartlang.org/charcode-1.2.0",
[        ]     |       "packageUri": "lib/",
[        ]     |       "languageVersion": "2.12"
[        ]     |     },
[        ]     |     {
[        ]     |       "name": "clock",
[        ]     |       "rootUri": "file:///home/james/.pub-cache/hosted/pub.dartlang.org/clock-1.1.0",
[        ]     |       "packageUri": "lib/",
[        ]     |       "languageVersion": "2.12"
[        ]     |     },
[        ]     |     {
[        ]     |       "name": "collection",
[        ]     |       "rootUri": "file:///home/james/.pub-cache/hosted/pub.dartlang.org/collection-1.15.0",
[        ]     |       "packageUri": "lib/",
[        ]     |       "languageVersion": "2.12"
[        ]     |     },
[        ]     |     {
[        ]     |       "name": "cupertino_icons",
[        ]     |       "rootUri": "file:///home/james/.pub-cache/hosted/pub.dartlang.org/cupertino_icons-1.0.2",
[        ]     |       "packageUri": "lib/",
[        ]     |       "languageVersion": "2.12"
[        ]     |     },
[        ]     |     {
[        ]     |       "name": "fake_async",
[        ]     |       "rootUri": "file:///home/james/.pub-cache/hosted/pub.dartlang.org/fake_async-1.2.0",
[        ]     |       "packageUri": "lib/",
[        ]     |       "languageVersion": "2.12"
[        ]     |     },
[        ]     |     {
[        ]     |       "name": "ffi",
[        ]     |       "rootUri": "file:///home/james/.pub-cache/hosted/pub.dartlang.org/ffi-1.0.0",
[        ]     |       "packageUri": "lib/",
[        ]     |       "languageVersion": "2.12"
[        ]     |     },
[        ]     |     {
[        ]     |       "name": "file",
[        ]     |       "rootUri": "file:///home/james/.pub-cache/hosted/pub.dartlang.org/file-6.1.0",
[        ]     |       "packageUri": "lib/",
[        ]     |       "languageVersion": "2.12"
[        ]     |     },
[        ]     |     {
[        ]     |       "name": "flutter",
[        ]     |       "rootUri": "file:///home/james/Android/flutter/packages/flutter",
[        ]     |       "packageUri": "lib/",
[        ]     |       "languageVersion": "2.12"
[        ]     |     },
[        ]     |     {
[        ]     |       "name": "flutter_test",
[        ]     |       "rootUri": "file:///home/james/Android/flutter/packages/flutter_test",
[        ]     |       "packageUri": "lib/",
[        ]     |       "languageVersion": "2.12"
[        ]     |     },
[        ]     |     {
[        ]     |       "name": "matcher",
[        ]     |       "rootUri": "file:///home/james/.pub-cache/hosted/pub.dartlang.org/matcher-0.12.10",
[        ]     |       "packageUri": "lib/",
[        ]     |       "languageVersion": "2.12"
[        ]     |     },
[        ]     |     {
[        ]     |       "name": "meta",
[        ]     |       "rootUri": "file:///home/james/.pub-cache/hosted/pub.dartlang.org/meta-1.3.0",
[        ]     |       "packageUri": "lib/",
[        ]     |       "languageVersion": "2.12"
[        ]     |     },
[        ]     |     {
[        ]     |       "name": "path",
[        ]     |       "rootUri": "file:///home/james/.pub-cache/hosted/pub.dartlang.org/path-1.8.0",
[        ]     |       "packageUri": "lib/",
[        ]     |       "languageVersion": "2.12"
[        ]     |     },
[        ]     |     {
[        ]     |       "name": "path_provider",
[        ]     |       "rootUri": "file:///home/james/.pub-cache/hosted/pub.dartlang.org/path_provider-2.0.1",
[        ]     |       "packageUri": "lib/",
[        ]     |       "languageVersion": "2.12"
[        ]     |     },
[        ]     |     {
[        ]     |       "name": "path_provider_linux",
[        ]     |       "rootUri": "file:///home/james/.pub-cache/hosted/pub.dartlang.org/path_provider_linux-2.0.0",
[        ]     |       "packageUri": "lib/",
[        ]     |       "languageVersion": "2.12"
[        ]     |     },
[        ]     |     {
[        ]     |       "name": "path_provider_macos",
[        ]     |       "rootUri": "file:///home/james/.pub-cache/hosted/pub.dartlang.org/path_provider_macos-2.0.0",
[        ]     |       "packageUri": "lib/",
[        ]     |       "languageVersion": "2.12"
[        ]     |     },
[        ]     |     {
[        ]     |       "name": "path_provider_platform_interface",
[        ]     |       "rootUri": "file:///home/james/.pub-cache/hosted/pub.dartlang.org/path_provider_platform_interface-2.0.1",
[        ]     |       "packageUri": "lib/",
[        ]     |       "languageVersion": "2.12"
[        ]     |     },
[        ]     |     {
[        ]     |       "name": "path_provider_windows",
[        ]     |       "rootUri": "file:///home/james/.pub-cache/hosted/pub.dartlang.org/path_provider_windows-2.0.0",
[        ]     |       "packageUri": "lib/",
[        ]     |       "languageVersion": "2.12"
[        ]     |     },
[        ]     |     {
[        ]     |       "name": "platform",
[        ]     |       "rootUri": "file:///home/james/.pub-cache/hosted/pub.dartlang.org/platform-3.0.0",
[        ]     |       "packageUri": "lib/",
[        ]     |       "languageVersion": "2.12"
[        ]     |     },
[        ]     |     {
[        ]     |       "name": "plugin_platform_interface",
[        ]     |       "rootUri": "file:///home/james/.pub-cache/hosted/pub.dartlang.org/plugin_platform_interface-2.0.0",
[        ]     |       "packageUri": "lib/",
[        ]     |       "languageVersion": "2.12"
[        ]     |     },
[        ]     |     {
[        ]     |       "name": "process",
[        ]     |       "rootUri": "file:///home/james/.pub-cache/hosted/pub.dartlang.org/process-4.1.0",
[        ]     |       "packageUri": "lib/",
[        ]     |       "languageVersion": "2.12"
[        ]     |     },
[        ]     |     {
[        ]     |       "name": "sky_engine",
[        ]     |       "rootUri": "file:///home/james/Android/flutter/bin/cache/pkg/sky_engine",
[        ]     |       "packageUri": "lib/",
[        ]     |       "languageVersion": "2.12"
[        ]     |     },
[        ]     |     {
[        ]     |       "name": "source_span",
[        ]     |       "rootUri": "file:///home/james/.pub-cache/hosted/pub.dartlang.org/source_span-1.8.0",
[        ]     |       "packageUri": "lib/",
[        ]     |       "languageVersion": "2.12"
[        ]     |     },
[        ]     |     {
[        ]     |       "name": "stack_trace",
[        ]     |       "rootUri": "file:///home/james/.pub-cache/hosted/pub.dartlang.org/stack_trace-1.10.0",
[        ]     |       "packageUri": "lib/",
[        ]     |       "languageVersion": "2.12"
[        ]     |     },
[        ]     |     {
[        ]     |       "name": "stream_channel",
[        ]     |       "rootUri": "file:///home/james/.pub-cache/hosted/pub.dartlang.org/stream_channel-2.1.0",
[        ]     |       "packageUri": "lib/",
[        ]     |       "languageVersion": "2.12"
[        ]     |     },
[        ]     |     {
[        ]     |       "name": "string_scanner",
[        ]     |       "rootUri": "file:///home/james/.pub-cache/hosted/pub.dartlang.org/string_scanner-1.1.0",
[        ]     |       "packageUri": "lib/",
[        ]     |       "languageVersion": "2.12"
[        ]     |     },
[        ]     |     {
[        ]     |       "name": "term_glyph",
[        ]     |       "rootUri": "file:///home/james/.pub-cache/hosted/pub.dartlang.org/term_glyph-1.2.0",
[        ]     |       "packageUri": "lib/",
[        ]     |       "languageVersion": "2.12"
[        ]     |     },
[        ]     |     {
[        ]     |       "name": "test_api",
[        ]     |       "rootUri": "file:///home/james/.pub-cache/hosted/pub.dartlang.org/test_api-0.2.19",
[        ]     |       "packageUri": "lib/",
[        ]     |       "languageVersion": "2.12"
[        ]     |     },
[        ]     |     {
[        ]     |       "name": "typed_data",
[        ]     |       "rootUri": "file:///home/james/.pub-cache/hosted/pub.dartlang.org/typed_data-1.3.0",
[        ]     |       "packageUri": "lib/",
[        ]     |       "languageVersion": "2.12"
[        ]     |     },
[        ]     |     {
[        ]     |       "name": "vector_math",
[        ]     |       "rootUri": "file:///home/james/.pub-cache/hosted/pub.dartlang.org/vector_math-2.1.0",
[        ]     |       "packageUri": "lib/",
[        ]     |       "languageVersion": "2.12"
[        ]     |     },
[        ]     |     {
[        ]     |       "name": "win32",
[        ]     |       "rootUri": "file:///home/james/.pub-cache/hosted/pub.dartlang.org/win32-2.0.0",
[        ]     |       "packageUri": "lib/",
[        ]     |       "languageVersion": "2.12"
[        ]     |     },
[        ]     |     {
[        ]     |       "name": "xdg_directories",
[        ]     |       "rootUri": "file:///home/james/.pub-cache/hosted/pub.dartlang.org/xdg_directories-0.2.0",
[        ]     |       "packageUri": "lib/",
[        ]     |       "languageVersion": "2.12"
[        ]     |     },
[        ]     |     {
[        ]     |       "name": "bug",
[        ]     |       "rootUri": "../",
[        ]     |       "packageUri": "lib/",
[        ]     |       "languageVersion": "2.7"
[        ]     |     }
[        ]     |   ],
[        ]     |   "generated": "2021-03-08T19:39:17.174092Z",
[        ]     |   "generator": "pub",
[        ]     |   "generatorVersion": "2.12.0"
[        ]     | }
[  +10 ms] Running "flutter pub get" in bug... (completed in 481ms)
[  +22 ms] Found plugin path_provider at /home/james/.pub-cache/hosted/pub.dartlang.org/path_provider-2.0.1/
[   +4 ms] Found plugin path_provider_linux at /home/james/.pub-cache/hosted/pub.dartlang.org/path_provider_linux-2.0.0/
[   +1 ms] Found plugin path_provider_macos at /home/james/.pub-cache/hosted/pub.dartlang.org/path_provider_macos-2.0.0/
[   +2 ms] Found plugin path_provider_windows at /home/james/.pub-cache/hosted/pub.dartlang.org/path_provider_windows-2.0.0/
[  +77 ms] Found plugin path_provider at /home/james/.pub-cache/hosted/pub.dartlang.org/path_provider-2.0.1/
[   +1 ms] Found plugin path_provider_linux at /home/james/.pub-cache/hosted/pub.dartlang.org/path_provider_linux-2.0.0/
[        ] Found plugin path_provider_macos at /home/james/.pub-cache/hosted/pub.dartlang.org/path_provider_macos-2.0.0/
[   +1 ms] Found plugin path_provider_windows at /home/james/.pub-cache/hosted/pub.dartlang.org/path_provider_windows-2.0.0/
[  +19 ms] Generating /home/james/bug/android/app/src/main/java/io/flutter/plugins/GeneratedPluginRegistrant.java
[  +50 ms] Initializing file store
[   +5 ms] Skipping target: gen_localizations
[   +2 ms] complete
[   +2 ms] Launching lib/main.dart on Linux in debug mode...
[   +3 ms] /home/james/Android/flutter/bin/cache/dart-sdk/bin/dart --disable-dart-dev /home/james/Android/flutter/bin/cache/artifacts/engine/linux-x64/frontend_server.dart.snapshot --sdk-root /home/james/Android/flutter/bin/cache/artifacts/engine/common/flutter_patched_sdk/ --incremental --target=flutter
--debugger-module-names --experimental-emit-debug-metadata --output-dill /tmp/flutter_tools.CFXTGQ/flutter_tool.QVBGVW/app.dill --packages /home/james/bug/.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/cache.dill.track.dill
[  +10 ms] Building Linux application...
[   +7 ms] <- compile package:bug/main.dart
[   +2 ms] executing: [build/linux/debug/] cmake -G Ninja -DCMAKE_BUILD_TYPE=Debug /home/james/bug/linux
[ +104 ms] -- The CXX compiler identification is Clang 11.1.0
[   +5 ms] -- Detecting CXX compiler ABI info
[  +98 ms] -- Detecting CXX compiler ABI info - done
[   +5 ms] -- Check for working CXX compiler: /usr/bin/clang++ - skipped
[        ] -- Detecting CXX compile features
[        ] -- Detecting CXX compile features - done
[   +2 ms] -- Found PkgConfig: /usr/bin/pkg-config (found version "1.7.3") 
[        ] -- Checking for module 'gtk+-3.0'
[   +8 ms] --   Found gtk+-3.0, version 3.24.26
[ +180 ms] -- Checking for module 'glib-2.0'
[   +5 ms] --   Found glib-2.0, version 2.66.7
[  +15 ms] -- Checking for module 'gio-2.0'
[   +6 ms] --   Found gio-2.0, version 2.66.7
[  +18 ms] -- Checking for module 'blkid'
[   +5 ms] --   Found blkid, version 2.36.2
[  +27 ms] -- Checking for module 'liblzma'
[   +7 ms] --   Found liblzma, version 5.2.5
[  +14 ms] -- Configuring done
[   +4 ms] -- Generating done
[   +5 ms] -- Build files have been written to: /home/james/bug/build/linux/debug
[   +2 ms] executing: ninja -C build/linux/debug install
[   +5 ms] ninja: Entering directory `build/linux/debug'
[+9736 ms] [1/6] Generating /home/james/bug/linux/flutter/ephemeral/libflutter_linux_gtk.so, /home/james/bug/linux/flutter/ephemeral/flutter_linux/fl_basic_message_channel.h, /home/james/bug/linux/flutter/ephemeral/flutter_linux/fl_binary_codec.h,
/home/james/bug/linux/flutter/ephemeral/flutter_linux/fl_binary_messenger.h, /home/james/bug/linux/flutter/ephemeral/flutter_linux/fl_dart_project.h, /home/james/bug/linux/flutter/ephemeral/flutter_linux/fl_engine.h, /home/james/bug/linux/flutter/ephemeral/flutter_linux/fl_json_message_codec.h,
/home/james/bug/linux/flutter/ephemeral/flutter_linux/fl_json_method_codec.h, /home/james/bug/linux/flutter/ephemeral/flutter_linux/fl_message_codec.h, /home/james/bug/linux/flutter/ephemeral/flutter_linux/fl_method_call.h, /home/james/bug/linux/flutter/ephemeral/flutter_linux/fl_method_channel.h,
/home/james/bug/linux/flutter/ephemeral/flutter_linux/fl_method_codec.h, /home/james/bug/linux/flutter/ephemeral/flutter_linux/fl_method_response.h, /home/james/bug/linux/flutter/ephemeral/flutter_linux/fl_plugin_registrar.h, /home/james/bug/linux/flutter/ephemeral/flutter_linux/fl_plugin_registry.h,
/home/james/bug/linux/flutter/ephemeral/flutter_linux/fl_standard_message_codec.h, /home/james/bug/linux/flutter/ephemeral/flutter_linux/fl_standard_method_codec.h, /home/james/bug/linux/flutter/ephemeral/flutter_linux/fl_string_codec.h, /home/james/bug/linux/flutter/ephemeral/flutter_linux/fl_value.h,
/home/james/bug/linux/flutter/ephemeral/flutter_linux/fl_view.h, /home/james/bug/linux/flutter/ephemeral/flutter_linux/flutter_linux.h, _phony_
[  +14 ms] [  +58 ms] executing: [/home/james/Android/flutter/] git -c log.showSignature=false log -n 1 --pretty=format:%H
[        ] [  +27 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H
[        ] [        ] 60bd88df915880d23877bfc1602e8ddcf4c4dd2a
[        ] [        ] executing: [/home/james/Android/flutter/] git tag --points-at 60bd88df915880d23877bfc1602e8ddcf4c4dd2a
[        ] [   +8 ms] Exit code 0 from: git tag --points-at 60bd88df915880d23877bfc1602e8ddcf4c4dd2a
[        ] [        ] 2.0.0
[        ] [  +29 ms] executing: [/home/james/Android/flutter/] git rev-parse --abbrev-ref --symbolic @{u}
[        ] [   +2 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[        ] [        ] origin/stable
[        ] [        ] executing: [/home/james/Android/flutter/] git ls-remote --get-url origin
[        ] [   +2 ms] Exit code 0 from: git ls-remote --get-url origin
[        ] [        ] https://github.com/flutter/flutter.git
[        ] [  +27 ms] executing: [/home/james/Android/flutter/] git rev-parse --abbrev-ref HEAD
[        ] [  +14 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[        ] [        ] stable
[        ] [  +41 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.
[        ] [   +1 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.
[        ] [  +37 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.
[   +2 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.
[        ] [        ] 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.
[        ] [        ] 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.
[        ] [  +42 ms] Initializing file store
[        ] [   +9 ms] Skipping target: gen_localizations
[        ] [   +4 ms] unpack_linux: Starting due to {}
[        ] [  +52 ms] kernel_snapshot: Starting due to {}
[        ] [   +1 ms] unpack_linux: Complete
[        ] [+1257 ms] /home/james/Android/flutter/bin/cache/dart-sdk/bin/dart --disable-dart-dev /home/james/Android/flutter/bin/cache/artifacts/engine/linux-x64/frontend_server.dart.snapshot --sdk-root /home/james/Android/flutter/bin/cache/artifacts/engine/common/flutter_patched_sdk/ --target=flutter
--no-print-incremental-dependencies -Ddart.vm.profile=false -Ddart.vm.product=false --enable-asserts --track-widget-creation --packages /home/james/bug/.dart_tool/package_config.json --output-dill /home/james/bug/.dart_tool/flutter_build/cfe782ac2f0813de1b9adb5e2786851c/app.dill --depfile
/home/james/bug/.dart_tool/flutter_build/cfe782ac2f0813de1b9adb5e2786851c/kernel_snapshot.d package:bug/main.dart
[   +3 ms] [+6814 ms] kernel_snapshot: Complete
[        ] [ +327 ms] debug_bundle_linux_assets: Starting due to {}
[        ] [ +107 ms] debug_bundle_linux_assets: Complete
[        ] [ +420 ms] Persisting file store
[        ] [   +5 ms] Done persisting file store
[        ] [   +3 ms] build succeeded.
[        ] [   +6 ms] "flutter assemble" took 9,108ms.
[        ] [   +3 ms] Running shutdown hooks
[        ] [        ] Shutdown hooks complete
[        ] [        ] exiting with code 0
[ +398 ms] [2/6] Building CXX object CMakeFiles/bug.dir/main.cc.o
[  +55 ms] [3/6] Building CXX object CMakeFiles/bug.dir/flutter/generated_plugin_registrant.cc.o
[   +8 ms] [4/6] Building CXX object CMakeFiles/bug.dir/my_application.cc.o
[ +109 ms] [5/6] Linking CXX executable intermediates_do_not_run/bug
[        ] [5/6] Install the project...
[   +5 ms] -- Install configuration: "Debug"
[        ] -- Installing: /home/james/bug/build/linux/debug/bundle/bug
[   +1 ms] -- Set runtime path of "/home/james/bug/build/linux/debug/bundle/bug" to "$ORIGIN/lib"
[        ] -- Installing: /home/james/bug/build/linux/debug/bundle/data/icudtl.dat
[        ] -- Installing: /home/james/bug/build/linux/debug/bundle/lib/libflutter_linux_gtk.so
[        ] -- Installing: /home/james/bug/build/linux/debug/bundle/data/flutter_assets
[        ] -- Installing: /home/james/bug/build/linux/debug/bundle/data/flutter_assets/kernel_blob.bin
[        ] -- Installing: /home/james/bug/build/linux/debug/bundle/data/flutter_assets/packages
[        ] -- Installing: /home/james/bug/build/linux/debug/bundle/data/flutter_assets/packages/cupertino_icons
[        ] -- Installing: /home/james/bug/build/linux/debug/bundle/data/flutter_assets/packages/cupertino_icons/assets
[        ] -- Installing: /home/james/bug/build/linux/debug/bundle/data/flutter_assets/packages/cupertino_icons/assets/CupertinoIcons.ttf
[        ] -- Installing: /home/james/bug/build/linux/debug/bundle/data/flutter_assets/fonts
[        ] -- Installing: /home/james/bug/build/linux/debug/bundle/data/flutter_assets/fonts/MaterialIcons-Regular.otf
[   +2 ms] -- Installing: /home/james/bug/build/linux/debug/bundle/data/flutter_assets/AssetManifest.json
[        ] -- Installing: /home/james/bug/build/linux/debug/bundle/data/flutter_assets/FontManifest.json
[        ] -- Installing: /home/james/bug/build/linux/debug/bundle/data/flutter_assets/NOTICES
[   +1 ms] -- Installing: /home/james/bug/build/linux/debug/bundle/data/flutter_assets/version.json
[   +1 ms] Building Linux application... (completed in 10.9s)
[ +419 ms] Observatory URL on device: http://127.0.0.1:45735/j-YZC4iiNaI=/
[   +2 ms] Caching compiled dill
[  +32 ms] Connecting to service protocol: http://127.0.0.1:45735/j-YZC4iiNaI=/
[ +113 ms] Launching a Dart Developer Service (DDS) instance at http://127.0.0.1:0, connecting to VM service at http://127.0.0.1:45735/j-YZC4iiNaI=/.
[  +64 ms] DDS is listening at http://127.0.0.1:43345/Q_8j59l05Aw=/.
[  +38 ms] Successfully connected to service protocol: http://127.0.0.1:45735/j-YZC4iiNaI=/
[ +512 ms] DevFS: Creating new filesystem on the device (null)
[   +9 ms] DevFS: Created new filesystem on the device (file:///tmp/bugAKLSHG/bug/)
[   +3 ms] Updating assets
[  +53 ms] Syncing files to device Linux...
[   +1 ms] <- reset
[        ] Compiling dart to kernel with 0 updated files
[   +1 ms] <- recompile package:bug/main.dart fc7ae5bc-01e1-44a9-be24-b5c46c7ab31a
[        ] <- fc7ae5bc-01e1-44a9-be24-b5c46c7ab31a
[  +85 ms] Updating files.
[        ] DevFS: Sync finished
[        ] Syncing files to device Linux... (completed in 89ms)
[        ] Synced 0.0MB.
[        ] <- accept
[   +3 ms] Connected to _flutterView/0x5645cf55d020.
[   +1 ms] Flutter run key commands.
[        ] r Hot reload. 🔥🔥🔥
[        ] 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 Linux is available at: http://127.0.0.1:43345/Q_8j59l05Aw=/
[        ] 
           Flutter DevTools, a Flutter debugger and profiler, on Linux is available at: http://127.0.0.1:9100?uri=http%3A%2F%2F127.0.0.1%3A43345%2FQ_8j59l05Aw%3D%2F
[        ] Running with unsound null safety
[        ] For more information see https://dart.dev/null-safety/unsound-null-safety
```

</details>

<!--
     Run `flutter analyze` and attach any output of that command below.
     If there are any analysis errors, try resolving them before filing this issue.
-->

```
Analyzing bug...                                                        
No issues found! (ran in 0.9s)
```

<!-- Finally, paste the output of running `flutter doctor -v` here. -->

<details> 
<summary>flutter doctor -v</summary> 

```bash
[✓] Flutter (Channel stable, 2.0.0, on Linux, locale en_GB.UTF-8)
    • Flutter version 2.0.0 at /home/james/Android/flutter
    • Framework revision 60bd88df91 (5 days ago), 2021-03-03 09:13:17 -0800
    • Engine revision 40441def69
    • Dart version 2.12.0

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
    • Android SDK at /home/james/Android/Sdk
    • Platform android-30, build-tools 30.0.2
    • Java binary at: /opt/android-studio/jre/bin/java
    • Java version openjdk version "1.8.0_242-release"
    • All Android licenses accepted.

[✓] Chrome - develop for the web
    • CHROME_EXECUTABLE = chromium

[✓] Linux toolchain - develop for Linux desktop
    • clang version 11.1.0
    • cmake version 3.19.6
    • ninja version 1.10.2
    • pkg-config version 1.7.3

[✓] Android Studio
    • Android Studio at /opt/android-studio
    • 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 version "1.8.0_242-release"

[✓] Connected device (2 available)
    • Linux (desktop) • linux  • linux-x64      • Linux
    • Chrome (web)    • chrome • web-javascript • Chromium 89.0.4389.82 Arch Linux

• No issues found!
```

</details>