mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
Fix sample analyzer errors in text.dart (flutter/engine#27941)
This just fixes a couple of minor analyzer errors in the sample code so that they won't break the build when I fix the analyzer in the flutter repo.
This commit is contained in:
parent
36a4de766a
commit
d55048cdf8
@ -150,7 +150,7 @@ class FontWeight {
|
||||
/// style: TextStyle(
|
||||
/// fontFamily: 'Cardo',
|
||||
/// fontSize: 24,
|
||||
/// fontFeatures: const <FontFeature>[FontFeature.oldstyleFigures()])),
|
||||
/// fontFeatures: <FontFeature>[FontFeature.oldstyleFigures()])),
|
||||
/// const Spacer(),
|
||||
/// const Divider(),
|
||||
/// const Spacer(),
|
||||
@ -761,7 +761,7 @@ class FontFeature {
|
||||
/// // The Noto family of fonts can be downloaded from Google Fonts (https://www.google.com/fonts).
|
||||
/// return const Text(
|
||||
/// '次 化 刃 直 入 令',
|
||||
/// locale: const Locale('zh', 'CN'), // or Locale('ja'), Locale('ko'), Locale('zh', 'TW'), etc
|
||||
/// locale: Locale('zh', 'CN'), // or Locale('ja'), Locale('ko'), Locale('zh', 'TW'), etc
|
||||
/// style: TextStyle(
|
||||
/// fontFamily: 'Noto Sans',
|
||||
/// ),
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user