turn function into expression
This commit is contained in:
parent
ac70400c38
commit
676d1a4696
|
@ -19,13 +19,11 @@ class FullscreenableImage extends StatelessWidget {
|
|||
}
|
||||
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
return InkWell(
|
||||
onTap: () => _onTap(context),
|
||||
child: Hero(
|
||||
tag: url,
|
||||
child: child,
|
||||
),
|
||||
);
|
||||
}
|
||||
Widget build(BuildContext context) => InkWell(
|
||||
onTap: () => _onTap(context),
|
||||
child: Hero(
|
||||
tag: url,
|
||||
child: child,
|
||||
),
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue