2023年2月14日星期二

Making an widget disabled / grayed out(grey)

 Container(

  foregroundDecoration: BoxDecoration(
    color: Colors.grey,
    backgroundBlendMode: BlendMode.saturation,
  ),
  child: child,
)

沒有留言:

發佈留言