こんにちわ
今回は、TextやButtonを逆さにする方法を紹介します。
テキストを180度回転したい場合
ElevatedButton(
onPressed: () {},
child: const RotationTransition(
turns: AlwaysStoppedAnimation(180 / 360),
child: Text('Stop'),
),
),
ボタンを180度回転したい。
RotationTransition(
turns: AlwaysStoppedAnimation(180 / 360),
child: ElevatedButton(
onPressed: () {},
child: Text('Stop'),
),
),
ぜひお試しあれ〜〜〜