coloredBox method
用ColoredBox包裹当前组件
Implementation
ColoredBox coloredBox(Color color, {Key? key}) {
return ColoredBox(
color: color,
key: key,
child: this,
);
}
用ColoredBox包裹当前组件
ColoredBox coloredBox(Color color, {Key? key}) {
return ColoredBox(
color: color,
key: key,
child: this,
);
}