1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

Flutter Columnで"The method '>' was called on null."エラー

Posted at

エラー内容を見てもすぐに気づけずちょっとハマったので備忘録に

事象

Column使用箇所に下記エラーが発生
errorMessage.png

原因

Columnのネストが発生していた。

意図せず親Widgetと子WidgetでColumnが重複していたため起こっていたようです。
Column × RowはOKですが、同じもの同士はNGです。
(エラー内容が分かりにくい。。。)

1
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?