Flutter Plugin for IntelliJ

Overview

Flutter Flutter Plugin for IntelliJ

Build Status

An IntelliJ plugin for Flutter development. Flutter is a multi-platform app SDK to help developers and designers build modern apps for iOS, Android and the web.

Documentation

Fast development

Flutter's hot reload helps you quickly and easily experiment, build UIs, add features, and fix bugs faster. Experience sub-second reload times, without losing state, on emulators, simulators, and hardware for iOS and Android.

Make a change in your code, and your app is changed instantly.

Quick-start

A brief summary of the getting started guide:

  • install the Flutter SDK
  • run flutter doctor from the command line to verify your installation
  • ensure you have a supported IntelliJ development environment; either:
    • the latest stable version of IntelliJ, Community or Ultimate Edition (EAP versions are not always supported)
    • the latest stable version of Android Studio (note: Android Studio Canary versions are generally not supported)
  • open the plugin preferences
    • Preferences > Plugins on macOS, File > Settings > Plugins on Linux, select "Browse repositories…"
  • search for and install the 'Flutter' plugin
  • choose the option to restart IntelliJ
  • configure the Flutter SDK setting
    • Preferences on macOS, File>Settings on Linux, select Languages & Frameworks > Flutter, and set the path to the root of your flutter repo

Filing issues

Please use our issue tracker for Flutter IntelliJ issues.

  • for more general Flutter issues, you should prefer to use the Flutter issue tracker
  • for more Dart IntelliJ related issues, you can use JetBrains' YouTrack tracker

Known issues

Please note the following known issues:

  • #601: IntelliJ will read the PATH variable just once on startup. Thus, if you change PATH later to include the Flutter SDK path, this will not have an affect in IntelliJ until you restart the IDE.
  • If you require network access to go through proxy settings, you will need to set the https_proxy variable in your environment as described in the pub docs. (See also: #2914.)

Dev Channel

If you like getting new features as soon as they've been added to the code then you might want to try out the dev channel. It is updated weekly with the latest contents from the "master" branch. It has minimal testing. Set up instructions are in the wiki's dev channel page.

Comments
  • Auto assist method override suggestions, such as initState

    Auto assist method override suggestions, such as initState

    When I know there is a method I could override, such as initState, I'd like to start typing in ini and hit control space for suggestions and ask for method override options, and hit enter to write the ast.

    Steps to Reproduce

    1. Start typing in ini.
    2. Hit control-space for auto suggestions
    3. Nothing comes up yet.

    screen shot 2017-06-18 at 10 30 51 am

    Version info

    [✓] Flutter (on Mac OS X 10.12.5 16F73, locale en-US, channel master)
        • Flutter at /Users/branflake2267/git/flutter
        • Framework revision 28fd54c116 (35 hours ago), 2017-06-16 23:54:27 -0700
        • Engine revision 784e975672
        • Tools Dart version 1.24.0-dev.6.7
    
    [✓] Android toolchain - develop for Android devices (Android SDK 26.0.0)
        • Android SDK at /Users/branflake2267/Library/Android/sdk
        • Platform android-26, build-tools 26.0.0
        • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
        • Java version OpenJDK Runtime Environment (build 1.8.0_112-release-b06)
    
    [✓] iOS toolchain - develop for iOS devices (Xcode 8.3.3)
        • Xcode at /Applications/Xcode.app/Contents/Developer
        • Xcode 8.3.3, Build version 8E3004b
        • ios-deploy 1.9.1
        • CocoaPods version 1.2.1
    
    [✓] Android Studio (version 2.3)
        • Android Studio at /Applications/Android Studio.app/Contents
        • Gradle version 3.2
        • Java version OpenJDK Runtime Environment (build 1.8.0_112-release-b06)
    
    [✓] IntelliJ IDEA Community Edition (version 2017.1.4)
        • Flutter plugin version 14.0
        • Dart plugin version 171.4694.29
    
    [✓] IntelliJ IDEA Ultimate Edition (version 2017.1.4)
        • Flutter plugin version 14.0
        • Dart plugin version 171.4694.29
    
    [✓] Connected devices
        • iPhone 7 • 458BC4FE-8205-4369-8718-193B9FC88C8B • ios • iOS 10.3 (simulator)
    
    
    dependency: dart plugin completion topic-editing topic-daily-work 
    opened by branflake2267 68
  • Getting

    Getting "Installing Devtools" message forever, and Flutter Inspector doesn't start

    Getting "Installing Devtools" message, and Flutter Inspector doesn't start. The plugin shows: Flutter 51.0.3

    I was using an older plugin because of this: https://github.com/flutter/flutter-intellij/issues/4952

    Then I upgraded to plugin 51.0.3 and now it just doesn't work. What should I do?

    My flutter doctor -v:

    [√] Flutter (Channel stable, 1.22.3, on Microsoft Windows [versao 10.0.18363.1139], locale pt-BR)
        • Flutter version 1.22.3 at C:\flutter
        • Framework revision 8874f21e79 (11 days ago), 2020-10-29 14:14:35 -0700
        • Engine revision a1440ca392
        • Dart version 2.10.3
    
    [√] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
        • Android SDK at C:\Users\m\AppData\Local\Android\sdk
        • Platform android-30, build-tools 30.0.2
        • Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
        • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)
        • All Android licenses accepted.
    
    [√] Android Studio (version 4.0)
        • Android Studio at C:\Program Files\Android\Android Studio
        • Flutter plugin version 50.0.1
        • Dart plugin version 193.7547
        • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)
    
    [√] Connected device (1 available)
        • Android SDK built for x86 (mobile) • emulator-5554 • android-x86 • Android 10 (API 29) (emulator)
    
    • No issues found!
    
    bug 
    opened by marcglasberg 56
  • Hot Reload On Save stops working

    Hot Reload On Save stops working

    I really don't know what extra info to provide for this issue, Hot Reload On Save just stops working for me and I need to hit Ctrl+\ to trigger it or restart IntelliJ IDEA

    opened by feinstein 52
  • An improved console for logging.

    An improved console for logging.

    The current console view is limited. Among other things, it:

    • lacks structure,
    • is not easily searched, and
    • provides no affordances for filtering

    The plan is to re-think the console log and feedback is most welcome.

    A few leading questions:

    • what kinds of problems are folks solving with the current console log; how might it better solve them?
    • how might it be improved to solve other use cases?
    • are there exemplars we can draw inspiration from?

    Thanks in advance for your input!

    See also: #2199 (cc @zoechi)

    enhancement logging 
    opened by pq 52
  • Unable to run flutter from Android Studio- Entry point isn't within current project

    Unable to run flutter from Android Studio- Entry point isn't within current project

    From @Sahas on March 3, 2018 19:8

    I created a new project using flutter, added english_words package as mentioned in the quick app guide. As the package contents were not reflecting, I restarted the Android Studio. Before restarting, the flutter run was working properly. After restart, I'm facing the below issue.

    image

    Copied from original issue: flutter/flutter#15111

    bug P1 topic-debugging platform-android-studio 
    opened by devoncarew 47
  • Android Studio device list shows

    Android Studio device list shows "loading" and no devices connected

    0

    I've installed Android Studio with Flutter/Dart plugin on Win10. Android Studio 3.4.2 Flutter Plugin 38.2 Dart Plugin v183.6270

    If i open a Flutter project in android studio, the device list always displays "loading", in the device list i see my three devices: image

    I selected one device and it opens on the emulator, but when i start the project this error message is displayed: image

    When i run "flutter devices", the device is listed as connected: image

    What is going wrong?

    bug 
    opened by sempre76 46
  • DAS issues w/ 1.22.0-dev.6.0.

    DAS issues w/ 1.22.0-dev.6.0.

    This started w/ https://github.com/flutter/flutter/pull/7382 when I attempted to integrate 1.22.0-dev.5.0. I'd hoped it was transient or based on bad local state since neither @scheglov nor @devoncarew could repro but then @beders reported https://github.com/flutter/flutter-intellij/issues/613 which led me to believe it wasn't just me. Anyway, I'm at it again w/ https://github.com/flutter/flutter/pull/7461 which tries to pull Dart SDK 1.22.0-dev.6.0 into flutter and I get the same behavior:

    • No analysis results.
    • No server log output (not even a connect MSG).
    • Reanalyze sources and restart server commands appear to be ignored.
    P1 
    opened by pq 43
  • Image Asset Studio not available in flutter projects

    Image Asset Studio not available in flutter projects

    @duzenko commented on May 23, 2019, 7:19 AM UTC:

    I want to create a new icon using the assets tool as described here Surprisingly, the option to create an image set is missing in the context menu Here's the side by side comparison of the menu in the regular and flutter projects image FWIW I figured out a workaround - open the underlying android project in a separate window and start the tool from there.

    This issue was moved by darrenaustin from flutter/flutter#33238.

    platform-android-studio 
    opened by ghost 42
  • Flutter includes a Dart SDK, but IntelliJ is asking me to set a Dart SDK

    Flutter includes a Dart SDK, but IntelliJ is asking me to set a Dart SDK

    We shouldn't have to ask users to configure the Dart SDK if they have opened a Flutter project. The version of Flutter bundles/downloads a version of the Dart SDK. No further configuration should be required. Asking a user to further configure their IDE increases the chances of them using the wrong Dart SDK.

    Here's a screenshot of my IDE, immediately after restarting after installing the Dart plugin:

    screen shot 2016-10-21 at 1 43 10 pm

    dependency: dart plugin topic-getting-started 
    opened by sethladd 42
  • No 'Flutter' menu option on android module

    No 'Flutter' menu option on android module

    Steps to Reproduce

    This is an issue in both Android Studio and IntelliJ. I've tried previous versions of both and still have the same issue.

    Basically I'm wanting to do the Android X migration for our Flutter app in order to use the latest plugins, and I was having the issues detailed here https://stackoverflow.com/questions/54395491/unable-to-migrate-to-androidx/54618207 I then go to open just the android module in Android Studio rather than the whole project, and find that the Flutter option when right clicking is greyed out. To note when I do the same on the root project folder or the ios module, I get the option Open iOS module in Xcode under the non-greyed out Flutter menu item.

    screenshot 2019-03-02 at 20 51 31 screenshot 2019-03-02 at 09 38 15

    Logs

    flutter doctor output:

    [✓] Flutter (Channel stable, v1.2.1, on Mac OS X 10.14 18A391, locale en-GB)
        • Flutter version 1.2.1 at /Users/niamhpower/development/flutter
        • Framework revision 8661d8aecd (2 weeks ago), 2019-02-14 19:19:53 -0800
        • Engine revision 3757390fa4
        • Dart version 2.1.2 (build 2.1.2-dev.0.0 0a7dcf17eb)
    
    [✓] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
        • Android SDK at /Users/niamhpower/Library/Android/sdk
        • Android NDK location not configured (optional; useful for native profiling support)
        • Platform android-28, build-tools 28.0.3
        • ANDROID_HOME = /Users/niamhpower/Library/Android/sdk
        • Java binary at: /Applications/Android Studio 3.4 Preview.app/Contents/jre/jdk/Contents/Home/bin/java
        • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1248-b22)
        • All Android licenses accepted.
    
    [✓] iOS toolchain - develop for iOS devices (Xcode 10.2)
        • Xcode at /Applications/Xcode-beta.app/Contents/Developer
        • Xcode 10.2, Build version 10P99q
        • ios-deploy 1.9.4
        • CocoaPods version 1.6.0.beta.2
    
    [✓] Android Studio
        • Android Studio at /Applications/Android Studio 3.4 Preview.app/Contents
        • Flutter plugin version 33.3.2
        • Dart plugin version 183.5901
        • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1248-b22)
    
    [✓] IntelliJ IDEA Community Edition (version 2018.2.5)
        • IntelliJ at /Applications/IntelliJ IDEA CE.app
        • Flutter plugin version 31.3.3
        • Dart plugin version 182.5215
    
    [!] VS Code (version 1.30.2)
        • VS Code at /Applications/Visual Studio Code.app/Contents
        ✗ Flutter extension not installed; install from
          https://marketplace.visualstudio.com/items?itemName=Dart-Code.flutter
    
    [✓] Connected device (1 available)
        • Android SDK built for x86 • emulator-5554 • android-x86 • Android 9 (API 28) (emulator)
    
    ! Doctor found issues in 1 category.
    
    opened by niamh-power 40
  • Flutter autocomplete suggestions not working

    Flutter autocomplete suggestions not working

    My autocomplete suggestions just stopped working. As an example, none of the widgets show inside suggestions window when I start typing, here is the screenshot when I want to add BoxDecoration:

    First image Second image

    Steps to Reproduce

    I'm not exactly sure how this happened, but the issue started when I ran android emulator inside tool window ( I ran it as a separate window before.)

    I created this project few days ago and everything was working fine until now.

    Version info

    Doctor summary (to see all details, run flutter doctor -v):
    [√] Flutter (Channel stable, 2.10.1, on Microsoft Windows [Version 10.0.19043.1526], locale sr-Latn-BA)
    [!] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
        X cmdline-tools component is missing
          Run `path/to/sdkmanager --install "cmdline-tools;latest"`
          See https://developer.android.com/studio/command-line for more details.
        X Android license status unknown.
          Run `flutter doctor --android-licenses` to accept the SDK licenses.
          See https://flutter.dev/docs/get-started/install/windows#android-setup for more details.
    [√] Chrome - develop for the web
    [X] Visual Studio - develop for Windows
        X Visual Studio not installed; this is necessary for Windows development.
          Download at https://visualstudio.microsoft.com/downloads/.
          Please install the "Desktop development with C++" workload, including all of its default components
    [√] Android Studio (version 2020.3)
    [√] Android Studio (version 2021.1)
    [√] IntelliJ IDEA Community Edition (version 2021.1)
    [√] Connected device (4 available)
    [√] HTTP Host Availability
    
    ! Doctor found issues in 2 categories.
    

    Edit: I tried to fix it with invalidate caches and restart, flutter clean, without emulator running, running emulator outside tool window again. None of those things fixed the problem.

    opened by BojanDolic 39
  • Flutter Inspector - Not Found

    Flutter Inspector - Not Found

    Hi! I get the following window (see screenshot) when opening Flutter Inspector. The bug is reproduced only if the "Enable embedding DevTools in the Flutter Inspector tool window" option is selected in the framework settings in Android Studio preferences. If you remove the selection from it, the inspector starts.

    Screenshot of Flutter inspector

    Screenshot 2022-11-24 at 15 07 44

    Yes, the flutter version is already outdated, but I don't think it's the case, since I've been using it for some time, and the problem has just appeared.

    Using "Invalidate caches and restart" did not help, as did restarting the studio or the computer as a whole.

    Version info

    Android Studio version - Android Studio Dolphin | 2021.3.1 Patch 1.

    Version of Android Studio plugins

    Screenshot 2022-11-24 at 15 12 29

    flutter doctor -v

    [✓] Flutter (Channel unknown, 3.0.3, on macOS 13.0 22A380 darwin-arm, locale en-RU) • Flutter version 3.0.3 at /Users/user/flutter • Upstream repository unknown • Framework revision 676cefaaff (5 months ago), 2022-06-22 11:34:49 -0700 • Engine revision ffe7b86a1e • Dart version 2.17.5 • DevTools version 2.12.2

    [✓] Android toolchain - develop for Android devices (Android SDK version 33.0.0) • Android SDK at /Users/user/Library/Android/sdk • Platform android-33, build-tools 33.0.0 • ANDROID_HOME = /Users/user/Library/Android/sdk • ANDROID_SDK_ROOT = /Users/user/Library/Android/sdk • Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java • Java version OpenJDK Runtime Environment (build 11.0.13+0-b1751.21-8125866) • All Android licenses accepted.

    [✓] Xcode - develop for iOS and macOS (Xcode 14.1) • Xcode at /Applications/Xcode.app/Contents/Developer • CocoaPods version 1.11.3

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

    [✓] Android Studio (version 2021.3) • 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 11.0.13+0-b1751.21-8125866)

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

    [✓] Connected device (3 available) • iPhone 14 (mobile) • 4A83F57A-AADA-4E10-A7D6-2ECD45931583 • ios • com.apple.CoreSimulator.SimRuntime.iOS-16-1 (simulator) • macOS (desktop) • macos • darwin-arm64 • macOS 13.0 22A380 darwin-arm • Chrome (web) • chrome • web-javascript • Google Chrome 107.0.5304.110

    [✓] HTTP Host Availability • All required HTTP hosts are available

    • No issues found!

    opened by politebarista 0
  • Coverage date shows 0%files, 100% lines covered everywhere.

    Coverage date shows 0%files, 100% lines covered everywhere.

    It looks like for some reasons data about coverage are not readed properly. I've checked wiht VSCode and it works there, so I guess coverage file is ok.

    Steps to Reproduce

    Run unit tests with coverage. Get result like this:

    image

    Version info

    [√] Flutter (Channel stable, 3.3.8, on Microsoft Windows [Version 10.0.19044.2251], locale pl-PL) • Flutter version 3.3.8 on channel stable at C:\Tools\flutter • Upstream repository https://github.com/flutter/flutter.git • Framework revision 52b3dc25f6 (10 days ago), 2022-11-09 12:09:26 +0800 • Engine revision 857bd6b74c • Dart version 2.18.4 • DevTools version 2.15.0

    [√] Android toolchain - develop for Android devices (Android SDK version 33.0.0) • Android SDK at C:\Users\jacek\AppData\Local\Android\sdk
    • Platform android-33, build-tools 33.0.0 • ANDROID_HOME = C:\Users\jacek\AppData\Local\Android\sdk
    • Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 11.0.13+0-b1751.21-8125866) • All Android licenses accepted.

    [√] Chrome - develop for the web • Chrome at C:\Program Files (x86)\Google\Chrome\Application\chrome.exe

    [√] Visual Studio - develop for Windows (Visual Studio Community 2022 17.1.0) • Visual Studio at C:\Program Files\Microsoft Visual Studio\2022\Community • Visual Studio Community 2022 version 17.1.32210.238 • Windows 10 SDK version 10.0.19041.0

    [√] Android Studio (version 2021.3) • Android Studio at C:\Program Files\Android\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 Runtime Environment (build 11.0.13+0-b1751.21-8125866)

    [√] IntelliJ IDEA Community Edition (version 2022.2) • IntelliJ at C:\Program Files\JetBrains\IntelliJ IDEA Community Edition 2022.2.3 • Flutter plugin version 71.0.5 • Dart plugin version 222.4345.14

    [√] Connected device (1 available) • D6503 (mobile) • CB5A20P4UB • android-arm • Android 6.0.1 (API 23)

    [√] HTTP Host Availability • All required HTTP hosts are available

    Flutter framework as well as of the IntelliJ plugin.

    opened by centy 5
  • Another Non-cancellable section in FAST_TRACK

    Another Non-cancellable section in FAST_TRACK

    Thanks for the feedback! If your issue is related to the Flutter framework itself, please open an issue at github.com/flutter/flutter.

    What happened

    Just loading project...

    Version information

    IntelliJ IDEA 2022.3 RC • Flutter plugin io.flutter 71.0.6 • Dart plugin 223.7571.64

    Error getting Flutter sdk information.

    Exception

    null

    java.lang.Throwable: Non-cancellable section in FAST_TRACK
    	at com.intellij.openapi.diagnostic.Logger.error(Logger.java:202)
    	at com.intellij.util.SlowOperations.reportNonCancellableSectionInFastTrack(SlowOperations.java:120)
    	at com.intellij.util.SlowOperations.assertSlowOperationsAreAllowed(SlowOperations.java:83)
    	at com.intellij.openapi.vfs.newvfs.persistent.FSRecords.update(FSRecords.java:382)
    	at com.intellij.openapi.vfs.newvfs.persistent.PersistentFSImpl.findChildInfo(PersistentFSImpl.java:450)
    	at com.intellij.openapi.vfs.newvfs.impl.VirtualDirectoryImpl.findInPersistence(VirtualDirectoryImpl.java:142)
    	at com.intellij.openapi.vfs.newvfs.impl.VirtualDirectoryImpl.doFindChild(VirtualDirectoryImpl.java:128)
    	at com.intellij.openapi.vfs.newvfs.impl.VirtualDirectoryImpl.findChild(VirtualDirectoryImpl.java:77)
    	at com.intellij.openapi.vfs.newvfs.impl.VirtualDirectoryImpl.findChild(VirtualDirectoryImpl.java:519)
    	at com.intellij.openapi.vfs.newvfs.impl.VirtualDirectoryImpl.findChild(VirtualDirectoryImpl.java:49)
    	at io.flutter.sdk.FlutterSdkVersion.readFromSdk(FlutterSdkVersion.java:129)
    	at io.flutter.sdk.FlutterSdk.saveSdkInCache(FlutterSdk.java:153)
    	at io.flutter.sdk.FlutterSdk.forPath(FlutterSdk.java:144)
    	at io.flutter.sdk.FlutterSdk.getFlutterSdk(FlutterSdk.java:117)
    	at io.flutter.sdk.FlutterSdkManager.isFlutterSdkSetAndNeeded(FlutterSdkManager.java:90)
    	at io.flutter.sdk.FlutterSdkManager.<init>(FlutterSdkManager.java:66)
    	at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    	at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:77)
    	at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
    	at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:499)
    	at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:480)
    	at com.intellij.serviceContainer.ConstructorInjectionKt.instantiateUsingPicoContainer(constructorInjection.kt:54)
    	at com.intellij.serviceContainer.ComponentManagerImpl.instantiateClassWithConstructorInjection(ComponentManagerImpl.kt:1002)
    	at com.intellij.serviceContainer.ServiceComponentAdapter.createAndInitialize(ServiceComponentAdapter.kt:43)
    	at com.intellij.serviceContainer.ServiceComponentAdapter.doCreateInstance(ServiceComponentAdapter.kt:39)
    	at com.intellij.serviceContainer.BaseComponentAdapter.doCreateInstance(BaseComponentAdapter.kt:145)
    	at com.intellij.serviceContainer.BaseComponentAdapter.createInstance$lambda-1(BaseComponentAdapter.kt:124)
    	at com.intellij.openapi.progress.Cancellation.computeInNonCancelableSection(Cancellation.java:95)
    	at com.intellij.serviceContainer.BaseComponentAdapter.createInstance(BaseComponentAdapter.kt:123)
    	at com.intellij.serviceContainer.BaseComponentAdapter.getInstance(BaseComponentAdapter.kt:92)
    	at com.intellij.serviceContainer.ComponentManagerImpl.doGetService(ComponentManagerImpl.kt:679)
    	at com.intellij.serviceContainer.ComponentManagerImpl.getService(ComponentManagerImpl.kt:635)
    	at io.flutter.sdk.FlutterSdkManager.getInstance(FlutterSdkManager.java:34)
    	at io.flutter.run.daemon.DeviceService.<init>(DeviceService.java:82)
    	at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    	at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:77)
    	at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
    	at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:499)
    	at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:480)
    	at com.intellij.serviceContainer.ConstructorInjectionKt.instantiateUsingPicoContainer(constructorInjection.kt:54)
    	at com.intellij.serviceContainer.ComponentManagerImpl.instantiateClassWithConstructorInjection(ComponentManagerImpl.kt:1002)
    	at com.intellij.serviceContainer.ServiceComponentAdapter.createAndInitialize(ServiceComponentAdapter.kt:43)
    	at com.intellij.serviceContainer.ServiceComponentAdapter.doCreateInstance(ServiceComponentAdapter.kt:39)
    	at com.intellij.serviceContainer.BaseComponentAdapter.doCreateInstance(BaseComponentAdapter.kt:145)
    	at com.intellij.serviceContainer.BaseComponentAdapter.createInstance$lambda-1(BaseComponentAdapter.kt:124)
    	at com.intellij.openapi.progress.Cancellation.computeInNonCancelableSection(Cancellation.java:99)
    	at com.intellij.serviceContainer.BaseComponentAdapter.createInstance(BaseComponentAdapter.kt:123)
    	at com.intellij.serviceContainer.BaseComponentAdapter.getInstance(BaseComponentAdapter.kt:92)
    	at com.intellij.serviceContainer.ComponentManagerImpl.doGetService(ComponentManagerImpl.kt:679)
    	at com.intellij.serviceContainer.ComponentManagerImpl.getService(ComponentManagerImpl.kt:635)
    	at io.flutter.run.daemon.DeviceService.getInstance(DeviceService.java:60)
    	at io.flutter.actions.DeviceSelectorAction.isSelectorVisible(DeviceSelectorAction.java:160)
    	at io.flutter.actions.DeviceSelectorAction.update(DeviceSelectorAction.java:70)
    	at com.intellij.openapi.actionSystem.ex.ActionUtil.lambda$performDumbAwareUpdate$0(ActionUtil.java:153)
    	at com.intellij.openapi.actionSystem.ex.ActionUtil.performDumbAwareUpdate(ActionUtil.java:176)
    	at com.intellij.openapi.actionSystem.impl.ActionUpdater.doUpdate(ActionUpdater.java:720)
    	at com.intellij.openapi.actionSystem.impl.ActionUpdater.lambda$updateActionReal$4(ActionUpdater.java:136)
    	at com.intellij.openapi.actionSystem.impl.ActionUpdater.lambda$computeOnEdt$7(ActionUpdater.java:233)
    	at com.intellij.openapi.progress.ProgressManager.lambda$runProcess$0(ProgressManager.java:68)
    	at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$runProcess$2(CoreProgressManager.java:190)
    	at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$executeProcessUnderProgress$13(CoreProgressManager.java:591)
    	at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:666)
    	at com.intellij.openapi.progress.impl.CoreProgressManager.computeUnderProgress(CoreProgressManager.java:622)
    	at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:590)
    	at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:60)
    	at com.intellij.openapi.progress.impl.CoreProgressManager.runProcess(CoreProgressManager.java:177)
    	at com.intellij.openapi.progress.ProgressManager.runProcess(ProgressManager.java:68)
    	at com.intellij.openapi.actionSystem.impl.ActionUpdater.lambda$computeOnEdt$8(ActionUpdater.java:229)
    	at com.intellij.diagnostic.telemetry.TraceKt.computeWithSpan(trace.kt:123)
    	at com.intellij.openapi.actionSystem.impl.ActionUpdater.lambda$computeOnEdt$9(ActionUpdater.java:225)
    	at io.opentelemetry.context.Context.lambda$wrapSupplier$8(Context.java:309)
    	at com.intellij.openapi.actionSystem.impl.ActionUpdateEdtExecutor.lambda$computeOnEdt$0(ActionUpdateEdtExecutor.java:51)
    	at com.intellij.openapi.actionSystem.impl.Utils.lambda$expandActionGroupFastTrack$5(Utils.java:323)
    	at com.intellij.openapi.actionSystem.impl.Utils.runLoopAndWaitForFuture(Utils.java:813)
    	at com.intellij.openapi.actionSystem.impl.Utils.expandActionGroupFastTrack(Utils.java:321)
    	at com.intellij.openapi.actionSystem.impl.ActionToolbarImpl.updateActionsImplFastTrack(ActionToolbarImpl.java:1299)
    	at com.intellij.openapi.actionSystem.impl.ActionToolbarImpl.updateActionsImpl(ActionToolbarImpl.java:1267)
    	at com.intellij.openapi.actionSystem.impl.ActionToolbarImpl$1.updateActionsImpl(ActionToolbarImpl.java:211)
    	at com.intellij.openapi.actionSystem.impl.ToolbarUpdater$MyUpdateRunnable.run(ToolbarUpdater.java:152)
    	at com.intellij.openapi.actionSystem.impl.ToolbarUpdater.updateActions(ToolbarUpdater.java:68)
    	at com.intellij.openapi.actionSystem.impl.ActionToolbarImpl.updateActionsImmediately(ActionToolbarImpl.java:1246)
    	at com.intellij.openapi.actionSystem.impl.ActionToolbarImpl.updateActionsImmediately(ActionToolbarImpl.java:1231)
    	at com.intellij.openapi.actionSystem.impl.ActionToolbarImpl.addNotify(ActionToolbarImpl.java:271)
    	at java.desktop/java.awt.Container.addImpl(Container.java:1150)
    	at java.desktop/java.awt.Container.add(Container.java:493)
    	at com.intellij.openapi.wm.impl.IdeRootPane.doUpdateToolbarWithoutDelegate(IdeRootPane.java:293)
    	at com.intellij.openapi.wm.impl.IdeRootPane.updateToolbar(IdeRootPane.java:283)
    	at com.intellij.openapi.wm.impl.ProjectFrameHelper.updateView(ProjectFrameHelper.kt:310)
    	at com.intellij.openapi.vcs.impl.projectlevelman.NewMappings.lambda$refreshMainMenu$6(NewMappings.java:275)
    	at com.intellij.openapi.application.TransactionGuardImpl.runWithWritingAllowed(TransactionGuardImpl.java:209)
    	at com.intellij.openapi.application.TransactionGuardImpl.access$100(TransactionGuardImpl.java:21)
    	at com.intellij.openapi.application.TransactionGuardImpl$1.run(TransactionGuardImpl.java:191)
    	at com.intellij.openapi.application.impl.ApplicationImpl.runIntendedWriteActionOnCurrentThread(ApplicationImpl.java:813)
    	at com.intellij.openapi.application.impl.ApplicationImpl$3.run(ApplicationImpl.java:429)
    	at com.intellij.openapi.application.impl.FlushQueue.doRun(FlushQueue.java:74)
    	at com.intellij.openapi.application.impl.FlushQueue.runNextEvent(FlushQueue.java:114)
    	at com.intellij.openapi.application.impl.FlushQueue.flushNow(FlushQueue.java:36)
    	at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:318)
    	at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:779)
    	at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:730)
    	at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:724)
    	at java.base/java.security.AccessController.doPrivileged(AccessController.java:399)
    	at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:86)
    	at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:749)
    	at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:909)
    	at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:756)
    	at com.intellij.ide.IdeEventQueue.lambda$dispatchEvent$5(IdeEventQueue.java:437)
    	at com.intellij.openapi.progress.impl.CoreProgressManager.computePrioritized(CoreProgressManager.java:774)
    	at com.intellij.ide.IdeEventQueue.lambda$dispatchEvent$6(IdeEventQueue.java:436)
    	at com.intellij.openapi.application.TransactionGuardImpl.performActivity(TransactionGuardImpl.java:105)
    	at com.intellij.ide.IdeEventQueue.performActivity(IdeEventQueue.java:615)
    	at com.intellij.ide.IdeEventQueue.lambda$dispatchEvent$7(IdeEventQueue.java:434)
    	at com.intellij.openapi.application.impl.ApplicationImpl.runIntendedWriteActionOnCurrentThread(ApplicationImpl.java:813)
    	at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:480)
    	at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:207)
    	at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:128)
    	at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:117)
    	at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:113)
    	at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:105)
    	at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:92)
    
    opened by ibcoleman 1
  • Add support for creating an

    Add support for creating an "empty" project

    Flutter recently added an option to flutter create to create an empty project that doesn't have any comments, the code is just a hello world instead of the counter app, and there's no test directory. The flag is --empty.

    It would be nice to add the option to the IntelliJ extension to allow people to create an empty project instead of one that has the counter app in it. I'm not sure how that should manifest, it could either be an option setting that modifies the "Flutter: New Project" dialog, or an additional "Flutter: New Empty Project" dialog, I'm not sure which is more appropriate (maybe the former?).

    For context, see this comment, the PR that added the flag: https://github.com/flutter/flutter/pull/113873, and the related VSCode feature request.

    new feature 
    opened by gspencergoog 1
  • Use super-initializer parameter in live templates

    Use super-initializer parameter in live templates

    To avoid having to manually pass each parameter into the super invocation of a constructor, you can use super-initializer parameters to forward parameters to the specified or default superclass constructor. This produces cleaner classes.

    This PR thus updates live templates to use them instead.

    Language Tour | Dart -- Constructors Language Tour | Dart -- Design

    Addresses: #6071

    Pre-launch Checklist

    • [x] I read the Contributor Guide and followed the process outlined there for submitting PRs.
    • [x] I read the Tree Hygiene wiki page, which explains my responsibilities.
    • [x] I read the Flutter Style Guide recently, and have followed its advice.
    • [x] I signed the CLA.
    • [x] I listed at least one issue that this PR fixes in the description above.
    • [x] I updated/added relevant documentation (doc comments with ///).
    • [x] I added new tests to check the change I am making, or this PR is test-exempt.
    • [x] All existing and new tests are passing.

    If you need help, consider asking for advice on the #hackers-new channel on Discord.

    opened by romatallinn 1
Owner
Flutter
Flutter is Google's UI toolkit for building beautiful, natively compiled applications for mobile, web, desktop, and embedded devices from a single codebase.
Flutter
This is just the simplyfied Flutter Plugin use for one of the popular flutter plugin for social media login.

social_media_logins Flutter Plugin to login via Social Media Accounts. Available Social Media Logins: Facebook Google Apple Getting Started To use thi

Reymark Esponilla 3 Aug 24, 2022
Permission plugin for Flutter. This plugin provides a cross-platform (iOS, Android) API to request and check permissions.

Flutter permission_handler plugin The Flutter permission_handler plugin is build following the federated plugin architecture. A detailed explanation o

Baseflow 1.7k Nov 17, 2022
Unloc customizations of the Permission plugin for Flutter. This plugin provides an API to request and check permissions.

Flutter Permission handler Plugin A permissions plugin for Flutter. This plugin provides a cross-platform (iOS, Android) API to request and check perm

Unloc 1 Nov 26, 2020
Klutter plugin makes it possible to write a Flutter plugin for both Android and iOS using Kotlin only.

The Klutter Framework makes it possible to write a Flutter plugin for both Android and iOS using Kotlin Multiplatform. Instead of writing platform spe

Gillian 31 Nov 11, 2022
A Flutter step_tracker plugin is collect information from user and display progress through a sequence of steps. this plugin also have privilege for fully customization from user side. like flipkart, amazon, myntra, meesho.

step_tracker plugin A Flutter step_tracker plugin is collect information from user and display progress through a sequence of steps. this plugin also

Roshan nahak 5 Oct 21, 2022
Boris Gautier 1 Jan 31, 2022
A Side Menu plugin for flutter and compatible with liquid ui for flutter

Liquid Shrink Side Menu A Side Menu plugin for flutter and compatible with liquid ui Side Menu Types There are 8 configuration of Liquid shrink side m

Raj Singh 19 Nov 18, 2022
FlutterBoost is a Flutter plugin which enables hybrid integration of Flutter for your existing native apps with minimum efforts

中文文档 中文介绍 Release Note v3.0-preview.17 PS: Before updating the beta version, please read the CHANGELOG to see if there are any BREAKING CHANGE Flutter

Alibaba 6.2k Nov 19, 2022
Flutter Counter is a plugin written in dart for flutter which is really simple and customizeable.

Flutter Counter (iOS & Android) Description Flutter Counter is a plugin written in dart for flutter which is really simple and customizeable. Create i

Salmaan Ahmed 15 Sep 18, 2022
Flutter simple image crop - A simple and easy to use flutter plugin to crop image on iOS and Android

Image Zoom and Cropping plugin for Flutter A simple and easy used flutter plugin to crop image on iOS and Android. Installation Add simple_image_crop

null 97 Dec 14, 2021
Flutter-ffmpeg - FFmpeg plugin for Flutter. Not maintained anymore. Superseded by FFmpegKit.

flutter_ffmpeg FFmpeg plugin for Flutter. Supports iOS and Android. Not maintained anymore, superseded by FFmpegKit. See FlutterFFmpeg to FFmpegKit Mi

Taner Şener 628 Nov 11, 2022
Rave flutter - A Flutter plugin for Flutterwaves's rave.

Rave Flutter A robust Flutter plugin for accepting payment on Rave with Card Nigerian Bank Account ACH Payments Mobile money Francophone Africa Mpesa

Wilberforce Uwadiegwu 30 Oct 6, 2022
A flutter plugin to add login with facebook in your flutter app

Features Login on iOS, Android and Web. Express login on Android. Granted and declined permissions. User information, picture profile and more. Provid

Darwin Morocho 154 Nov 24, 2022
Flutter blue plus - Flutter plugin for connecting and communicationg with Bluetooth Low Energy devices, on Android and iOS

Introduction FlutterBluePlus is a bluetooth plugin for Flutter, a new app SDK to

null 126 Nov 19, 2022
This is a Flutter plugin that takes a JSON string and converts it onto a customizable Flutter Widget.

Colored JSON Convert JSON string into customizable widget. Getting Started ColoredJson is a stateless widget that produces a structured view of JSON s

null 4 May 20, 2022
Flutter plugin to manage home screen widget within flutter app.

Flutter App Widget App Widget / Home Screen widget plugin for flutter app Usage Please see app_widget subdirectory for the usage documentation. Plafor

Alexander Dischberg 4 Sep 22, 2022
Flutter plugin for creating static & dynamic app shortcuts on the home screen.

Flutter Shortcuts Show some ❤️ and ⭐ the repo Why use Flutter Shortcuts? Flutter Shortcuts Plugin is known for : Flutter Shortcuts Fast, performant &

Divyanshu Shekhar 39 Sep 26, 2022
Flutter plugin for selecting images from the Android and iOS image library, taking new pictures with the camera, and edit them before using such as rotation, cropping, adding sticker/text/filters.

advance_image_picker Flutter plugin for selecting multiple images from the Android and iOS image library, taking new pictures with the camera, and edi

Weta Vietnam 90 Oct 23, 2022
Flutter plugin to simply integrate Agora Video Calling or Live Video Streaming to your app with just a few lines of code.

Agora UI Kit for Flutter Instantly integrate Agora video calling or video streaming into your Flutter application. Getting started Requirements An Ago

Agora.io Community 105 Oct 18, 2022