flutter flip icon of IconButton
// Solution 1
import 'dart:math' as math;
Transform.rotate(
angle: 180 * math.pi / 180,
child: IconButton(
icon: Icon(
Icons.play_arrow,
color: Colors.white,
),
onPressed: null,
),
),
// Solution 2
RotatedBox(
quarterTurns: 2,
child: IconButton(
icon: Icon(
Icons.play_arrow,
color: Colors.white,
),
onPressed: null,
),
),