📜  带有图像和文本的颤动卡 - 任何代码示例

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

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