📜  在颤振中构建一个无状态的wiget - 任何代码示例

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

代码示例1
class GreenFrog extends StatelessWidget {
  const GreenFrog({ Key? key }) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return Container(color: const Color(0xFF2DBD3A));
  }
}