You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

12 lines
370 B
Dart

2 years ago
import 'package:flutter/cupertino.dart';
import 'package:isekai_wiki/styles.dart';
class FollowTextScale extends StatelessWidget {
final Widget child;
const FollowTextScale({super.key, required this.child});
@override
Widget build(BuildContext context) {
return MediaQuery(data: MediaQueryData(textScaleFactor: Styles.textScaleFactor), child: child);
}
}