Enable use_colored_box lint (#117370)
This commit is contained in:
committed by
GitHub
parent
46bb85376b
commit
81bc54be75
@@ -524,7 +524,7 @@ class ItemGalleryBox extends StatelessWidget {
|
||||
child: Column(
|
||||
children: <Widget>[
|
||||
Expanded(
|
||||
child: Container(
|
||||
child: ColoredBox(
|
||||
color: Theme.of(context).primaryColor,
|
||||
child: Center(
|
||||
child: Text(tabName, style: Theme.of(context).textTheme.headlineSmall!.copyWith(color: Colors.white)),
|
||||
|
||||
@@ -91,7 +91,7 @@ class _BackdropFilterPageState extends State<BackdropFilterPage> with TickerProv
|
||||
child: addBlur(grid(txt, 17, 5), _blurGroup),
|
||||
),
|
||||
const SizedBox(height: 20),
|
||||
Container(
|
||||
ColoredBox(
|
||||
color: Colors.white,
|
||||
child:Row(
|
||||
mainAxisAlignment: MainAxisAlignment.center,
|
||||
|
||||
@@ -74,9 +74,9 @@ class _PostBackdropFilterPageState extends State<PostBackdropFilterPage> with Ti
|
||||
),
|
||||
getConditionalBackdrop(),
|
||||
RepaintBoundary(
|
||||
child: Container(
|
||||
child: ColoredBox(
|
||||
color: Colors.white,
|
||||
child:Row(
|
||||
child: Row(
|
||||
mainAxisAlignment: MainAxisAlignment.center,
|
||||
children: <Widget>[
|
||||
const Text('Include BackdropFilter:'),
|
||||
|
||||
Reference in New Issue
Block a user