📜  颤动浮动操作按钮渐变 - 任何代码示例

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

代码示例1
floatingActionButton: FloatingActionButton(
          child: Container(
            width: 60,
            height: 60,
            child: Icon(Icons.add),
            decoration: BoxDecoration(
                shape: BoxShape.circle,
                gradient: LinearGradient(colors: [Colors.red, Colors.blue])),
          ),
          onPressed: () {},
        )