Auto assist method override suggestions, such as initState
See original GitHub issueWhen 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
- Start typing in
ini
. - Hit control-space for auto suggestions
- Nothing comes up yet.
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)
Issue Analytics
- State:
- Created 6 years ago
- Reactions:3
- Comments:68 (54 by maintainers)
Top Results From Across the Web
initState() not show in Autosuggetion - android studio
I try to override initState() inside ...
Read more >Some Widely Used Override Methods in Flutter - ProAndroidDev
All Important Override Methods of Flutter · InitState() · didUpdateWidget() · dispose() · build() · reassemble() · didChangeDependencies() · mount().
Read more >Introduction to Flutter Hooks - Topcoder
Let's take AnimationController for example. ... AnimationController _controller; @override void initState() { super.initState(); _controller ...
Read more >Introduction to widgets - Flutter documentation
The central idea is that you build your UI out of widgets. Widgets describe what their view should look like given their current...
Read more >Flutter Riverpod 2.0: The Ultimate Guide - Code With Andrea
To learn about it, read: How to Auto-Generate your Providers with Flutter ... extends ConsumerWidget { @override // 2. build method has an ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Yeah, works like that in Eclipse, but it’s the same in Android Studio and IDEA.
Here I’m trying to override my superclass method in Android Studio. Same with IDEA and a Java project.
I’ve raise separate issues for these:
dart-lang/sdk#32260 - Override completions have bad selectionOffsets dart-lang/sdk#32259 - Override completions don’t appear if @override is already present