[animations] fixed new linter problems (#551)

This commit is contained in:
gaaclarke
2022-01-24 09:41:21 -08:00
committed by GitHub
parent 519fea2953
commit 355142166c

View File

@ -452,13 +452,11 @@ class _ExampleSingleTile extends StatelessWidget {
class _InkWellOverlay extends StatelessWidget {
const _InkWellOverlay({
this.openContainer,
this.width,
this.height,
this.child,
});
final VoidCallback? openContainer;
final double? width;
final double? height;
final Widget? child;
@ -466,7 +464,7 @@ class _InkWellOverlay extends StatelessWidget {
Widget build(BuildContext context) {
return SizedBox(
height: height,
width: width,
width: null,
child: InkWell(
onTap: openContainer,
child: child,