Make dartdoc warnings fatal (& cleanup of warnings) (#62367)
This commit is contained in:
committed by
GitHub
parent
e17a721951
commit
f4e10b4fb5
@@ -361,8 +361,7 @@ abstract class GlobalCupertinoLocalizations implements CupertinoLocalizations {
|
||||
).replaceFirst(r'$second', _decimalFormat.format(second));
|
||||
}
|
||||
|
||||
/// A [LocalizationsDelegate] that uses [GlobalCupertinoLocalizations.load]
|
||||
/// to create an instance of this class.
|
||||
/// A [LocalizationsDelegate] for [CupertinoLocalizations].
|
||||
///
|
||||
/// Most internationalized apps will use [GlobalCupertinoLocalizations.delegates]
|
||||
/// as the value of [CupertinoApp.localizationsDelegates] to include
|
||||
|
||||
@@ -79,7 +79,7 @@ abstract class GlobalMaterialLocalizations implements MaterialLocalizations {
|
||||
/// 4. The [intl.DateFormat] for [formatMediumDate].
|
||||
/// 5. The [intl.DateFormat] for [formatFullDate].
|
||||
/// 6. The [intl.DateFormat] for [formatMonthYear].
|
||||
/// 7. The [int.DateFormat] for [formatShortMonthDay].
|
||||
/// 7. The [intl.DateFormat] for [formatShortMonthDay].
|
||||
/// 8. The [NumberFormat] for [formatDecimal] (also used by [formatHour] and
|
||||
/// [formatTimeOfDay] when [timeOfDayFormat] doesn't use [HourFormat.HH]).
|
||||
/// 9. The [NumberFormat] for [formatHour] and the hour part of
|
||||
@@ -667,8 +667,7 @@ abstract class GlobalMaterialLocalizations implements MaterialLocalizations {
|
||||
@override
|
||||
ScriptCategory get scriptCategory;
|
||||
|
||||
/// A [LocalizationsDelegate] that uses [GlobalMaterialLocalizations.load]
|
||||
/// to create an instance of this class.
|
||||
/// A [LocalizationsDelegate] for [MaterialLocalizations].
|
||||
///
|
||||
/// Most internationalized apps will use [GlobalMaterialLocalizations.delegates]
|
||||
/// as the value of [MaterialApp.localizationsDelegates] to include
|
||||
|
||||
@@ -59,7 +59,7 @@ class GlobalWidgetsLocalizations implements WidgetsLocalizations {
|
||||
/// A [LocalizationsDelegate] that uses [GlobalWidgetsLocalizations.load]
|
||||
/// to create an instance of this class.
|
||||
///
|
||||
/// [WidgetsApp] automatically adds this value to [WidgetApp.localizationsDelegates].
|
||||
/// [WidgetsApp] automatically adds this value to [WidgetsApp.localizationsDelegates].
|
||||
static const LocalizationsDelegate<WidgetsLocalizations> delegate = _WidgetsLocalizationsDelegate();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user