我想要创建statefulWidget并希望在这个小部件中获取父小部件的高度。不想通过从父小部件发送高度数据来做到这一点。我怎样才能做到这一点?
statefulWidget
flutter statefulwidget
flutter ×1
statefulwidget ×1