0
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 5 years have passed since last update.

Flutterで調べた内容をメモ的に残していきます。

Posted at

以前の職場のリードエンジニアの紹介で3月からの現場でFlutterを使ってます。
3月は完全に勉強タイムで何が何だかわからないままでしたが、約2ヶ月経ちやっと理解してきました。
調べてもすぐに出てこなかった内容をメモ的にまとめようと思います。

今から30分後
afterHalfHour = currentDate.subtract(new Duration(minutes: -30));

画像の丸抜きをして、URLから画像を引っ張った上でGoogleみたいに頭文字だけ画像の中心に表示する

    NetworkImage img = NetworkImage(photoUrl);
    var avatar = CircleAvatar(
      backgroundImage: img,
      backgroundColor: Colors.blueGrey,
      child: Text(name.substring(0, 1)),
    );

知ってる人にしてみれば何を当たり前のことをと思うかもしれませんが、なかなか出てこなかったので記録として残していきます。

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