LoginSignup
2
0

More than 1 year has passed since last update.

画像表示でほんのちょっと躓いたこと

Posted at

image多過ぎでしょ 

 assets/images のフォルダにpngを大量に入れていました。 
 で、pubspec.yamlでは 

   -asstte/images/

と一括指定にしていたんですよ。 

 でもあんまり画像が多いので、入れ子でフォルダを作ったんですね。そうしたら、表示できなくなった。imagesの中身全部って指定だと思ったのだけれど、そうではないんですね。 
 以下のように入れ子の各フォルダを指定しないとダメなのでした。 

    -assets/images/animation/
    -assets/images/results/

 簡単なことでしたね。でもちょっと焦りました。

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