Skip to content

Commit daffe6c

Browse files
authored
Remove todos (flutter#30002)
1 parent 4de37a5 commit daffe6c

File tree

2 files changed

+0
-21
lines changed

2 files changed

+0
-21
lines changed

lib/ui/painting.dart

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -26,15 +26,6 @@ part of dart.ui;
2626
/// platform API supports decoding the image Flutter will be able to render it.
2727
/// {@endtemplate}
2828
29-
// TODO(gspencergoog): remove this template block once the framework templates
30-
// are renamed to not reference it.
31-
/// {@template flutter.dart:ui.imageFormats}
32-
/// JPEG, PNG, GIF, Animated GIF, WebP, Animated WebP, BMP, and WBMP. Additional
33-
/// formats may be supported by the underlying platform. Flutter will
34-
/// attempt to call platform API to decode unrecognized formats, and if the
35-
/// platform API supports decoding the image Flutter will be able to render it.
36-
/// {@endtemplate}
37-
3829
bool _rectIsValid(Rect rect) {
3930
assert(rect != null, 'Rect argument was null.');
4031
assert(!rect.hasNaN, 'Rect argument contained a NaN value.');

lib/ui/text.dart

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -3579,16 +3579,4 @@ FutureOr<void> _sendFontChangeMessage() async {
35793579
}
35803580
}
35813581

3582-
// TODO(gspencergoog): remove this template block once the framework templates
3583-
// are renamed to not reference it.
3584-
/// {@template flutter.dart:ui.textHeightBehavior}
3585-
/// Defines how the paragraph will apply [TextStyle.height] to the ascent of the
3586-
/// first line and descent of the last line.
3587-
///
3588-
/// Each boolean value represents whether the [TextStyle.height] modifier will
3589-
/// be applied to the corresponding metric. By default, all properties are true,
3590-
/// and [TextStyle.height] is applied as normal. When set to false, the font's
3591-
/// default ascent will be used.
3592-
/// {@endtemplate}
3593-
35943582
void _loadFontFromList(Uint8List list, _Callback<void> callback, String? fontFamily) native 'loadFontFromList';

0 commit comments

Comments
 (0)