Flutter image BoxFit cheatsheet

Tổng hợp flutter image BoxFit để các bạn dễ hình dung và chọn lựa trong quá trình dev flutter.

Image.network(
  'https://hips.hearstapps.com/hmg-prod.s3.amazonaws.com/images/nature-quotes-1557340276.jpg?crop=1.00xw:0.757xh;0,0.0958xh&resize=1200:*',
  fit: BoxFit.contain,
),

Tài liệu: https://api.flutter.dev/flutter/painting/BoxFit-class.html

All Rights Reserved