关于FlatButton color属性不起作用

死活颜色不出来

      FlatButton(
        child: Text('扁平按钮'),
        onPressed: (){},//onPressed是必传的参数,不加color就不起作用
        color: Colors.blue,
      )
原文地址:https://www.cnblogs.com/nightfallsad/p/11378669.html