📜  颤动图像覆盖容器 - 任何代码示例

📅  最后修改于: 2022-03-11 14:57:17.540000             🧑  作者: Mango

代码示例2
// If your container has a fixed height use the following code
Container(
  width: MediaQuery.of(context).size.width,
  height: 100,
  decoration: BoxDecoration(
    image: DecorationImage(
      fit: BoxFit.fill,
      image: NetworkImage("https://picsum.photos/250?image=9"),
    ),
  ),
)