3
0

More than 1 year has passed since last update.

【Flutter】Stackの overflow が使用できない

Posted at

どういうことか

Stackからはみ出た要素が途切れないようにしたい。

ググって出てきた解決策として以下のように書いてみるが、「 overflow という属性はない」と出てしまう。
Stackのルールが変わったんだろうか。なんなんだろう。

return Stack(
  overflow: Overflow.visible, // そんな属性はない
  // 中略

代替案?

やりたいことはこれで実現できた。

return Stack(
  clipBehavior: Clip.none,
  // 中略

参考

3
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
3
0