Enable use_colored_box lint (#117370)
This commit is contained in:
committed by
GitHub
parent
46bb85376b
commit
81bc54be75
@@ -69,7 +69,7 @@ class _MyStatefulWidgetState extends State<MyStatefulWidget> {
|
||||
onPointerDown: _incrementDown,
|
||||
onPointerMove: _updateLocation,
|
||||
onPointerUp: _incrementUp,
|
||||
child: Container(
|
||||
child: ColoredBox(
|
||||
color: Colors.lightBlueAccent,
|
||||
child: Column(
|
||||
mainAxisAlignment: MainAxisAlignment.center,
|
||||
|
||||
@@ -67,7 +67,7 @@ class _MyStatefulWidgetState extends State<MyStatefulWidget> {
|
||||
onEnter: _incrementEnter,
|
||||
onHover: _updateLocation,
|
||||
onExit: _incrementExit,
|
||||
child: Container(
|
||||
child: ColoredBox(
|
||||
color: Colors.lightBlueAccent,
|
||||
child: Column(
|
||||
mainAxisAlignment: MainAxisAlignment.center,
|
||||
|
||||
Reference in New Issue
Block a user