You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Have a DropdownButton where the DropdownMenuItems have as a child a AutoSizeText
Add a Textfield somewhere
Steps to reproduce:
Click on the Dropdown
Click on the TextField
Exception:
════════ Exception caught by rendering library ═════════════════════════════════════════════════════
The following NoSuchMethodError was thrown during performLayout():
The getter 'itemHeights' was called on null.
Receiver: null
Tried calling: itemHeights
The relevant error-causing widget was:
MaterialApp file:///D:/Projects/AndroidStudioProjects/chaldea/lib/main.dart:20:12
When the exception was thrown, this was the stack:
#0 Object.noSuchMethod (dart:core-patch/object_patch.dart:53:5)
#1 _DropdownButtonState._handleTap.<anonymous closure> (package:flutter/src/material/dropdown.dart:1146:26)
#2 _RenderMenuItem.performLayout (package:flutter/src/material/dropdown.dart:617:5)
#3 RenderObject.layout (package:flutter/src/rendering/object.dart:1767:7)
#4 RenderPadding.performLayout (package:flutter/src/rendering/shifted_box.dart:206:11)
The text was updated successfully, but these errors were encountered:
Create an app with the following constraints:
Steps to reproduce:
Exception:
The text was updated successfully, but these errors were encountered: