13
Flutterの角の丸い画像
映画に関する情報のリストを作成するためにFlutterを使用しています。次に、左側のカバー画像を角の丸い画像にしたいと思います。私は次のことをしましたが、うまくいきませんでした。ありがとう! getItem(var subject) { var row = Container( margin: EdgeInsets.all(8.0), child: Row( children: <Widget>[ Container( width: 100.0, height: 150.0, decoration: BoxDecoration( borderRadius: BorderRadius.all(Radius.circular(8.0)), color: Colors.redAccent, ), child: Image.network( subject['images']['large'], height: 150.0, width: 100.0, ), ), ], ), ); return Card( color: Colors.blueGrey, child: row, ); } 次のように