mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
[null-safety] fix soundness of Paragraph._addPlaceholder (#21994)
This commit is contained in:
parent
eb6f7f8741
commit
6ce33dd4a9
@ -2242,7 +2242,7 @@ class ParagraphBuilder extends NativeFieldWrapperClass2 {
|
||||
_placeholderCount++;
|
||||
_placeholderScales.add(scale);
|
||||
}
|
||||
String _addPlaceholder(double width, double height, int alignment, double baselineOffset, int? baseline) native 'ParagraphBuilder_addPlaceholder';
|
||||
String? _addPlaceholder(double width, double height, int alignment, double baselineOffset, int? baseline) native 'ParagraphBuilder_addPlaceholder';
|
||||
|
||||
/// Applies the given paragraph style and returns a [Paragraph] containing the
|
||||
/// added text and associated styling.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user