Transform.rotate(
angle: pi / 2,
child: const Icon(Icons.arrow_back_ios),
)
class App extends StatelessWidget {
const App({Key? key}) : super(key: key);
@override
Widget build(BuildContext context) {
return Column(
children: [Text('+7(999) 999 99-99'.getDigitsOnly)],
);
}
}
extension on String {
String get getDigitsOnly => replaceAll(r'\D', 'replace');
}