📜  颤动卡片背景图片 - 任何代码示例

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

代码示例1
Card(
      child: Container(
        decoration: BoxDecoration(
          image: DecorationImage(
            image: AssetImage("images/image.png"),
            fit: BoxFit.fitWidth,
            alignment: Alignment.topCenter,
          ),
        ),
        child: Text("YOUR TEXT"),
      ),
    ),