diff --git a/example/lib/sliver_app_bar_page.dart b/example/lib/sliver_app_bar_page.dart index 88cba04..c5d8ad9 100644 --- a/example/lib/sliver_app_bar_page.dart +++ b/example/lib/sliver_app_bar_page.dart @@ -25,7 +25,8 @@ class _PlatformSliverAppBarPageState extends State { color: index.isOdd ? Colors.white : Colors.black12, height: 100.0, child: Center( - child: PlatformText('$index', textScaleFactor: 5), + child: PlatformText('$index', + textScaler: TextScaler.linear(5)), ), ); },