More refactorings
This commit is contained in:
@@ -106,13 +106,6 @@ class _GameCardState extends State<GameCard> with SingleTickerProviderStateMixin
|
||||
Row(
|
||||
mainAxisSize: MainAxisSize.min,
|
||||
children: [
|
||||
RotationTransition(
|
||||
turns: _controller,
|
||||
child: IconButton(
|
||||
icon: const Icon(Icons.refresh),
|
||||
onPressed: _isLoading ? null : _refreshVersion,
|
||||
),
|
||||
),
|
||||
if (widget.onDelete != null)
|
||||
IconButton(
|
||||
icon: Icon(
|
||||
@@ -121,6 +114,13 @@ class _GameCardState extends State<GameCard> with SingleTickerProviderStateMixin
|
||||
),
|
||||
onPressed: _handleDeleteClick,
|
||||
),
|
||||
RotationTransition(
|
||||
turns: _controller,
|
||||
child: IconButton(
|
||||
icon: const Icon(Icons.refresh),
|
||||
onPressed: _isLoading ? null : _refreshVersion,
|
||||
),
|
||||
),
|
||||
],
|
||||
),
|
||||
],
|
||||
|
Reference in New Issue
Block a user