-
Notifications
You must be signed in to change notification settings - Fork 29.8k
Closed
flutter/engine
#20276Labels
P2Important issues not at the top of the work listImportant issues not at the top of the work lista: typographyText rendering, possibly libtxtText rendering, possibly libtxtc: crashStack traces logged to the consoleStack traces logged to the consolec: parityWorks on one platform but not anotherWorks on one platform but not anotherengineflutter/engine related. See also e: labels.flutter/engine related. See also e: labels.found in release: 1.21Found to occur in 1.21Found to occur in 1.21platform-webWeb applications specificallyWeb applications specifically
Description
the code like this:
{
final rich = Text.rich(
TextSpan(
children: <InlineSpan>[
TextSpan(text: 'Flutter is'),
WidgetSpan(
child: SizedBox(
width: 120,
height: 50,
child: Card(
child: Center(
child: Text('Hello World!')
)
),
)
),
TextSpan(text: 'the best!'),
],
)
);
return Scaffold(
body: SingleChildScrollView(
padding: EdgeInsets.all(12),
child: rich,
));
}in the mobile platform, it is right. But, run with web, it is error,
error message:
The following NoSuchMethodError was thrown during performLayout():
js_primitives.dart:30 ''
js_primitives.dart:30 method not found
js_primitives.dart:30 Receiver: null
js_primitives.dart:30 Arguments: []
red282, dzlier-gcp, rxlabz, laiweiwen123, kiaxseventh and 49 morejlcool, p30arena and tapizquentjlcool, CaiJingLong, the-thirteenth-fox, p30arena, stantronic and 1 more
Metadata
Metadata
Assignees
Labels
P2Important issues not at the top of the work listImportant issues not at the top of the work lista: typographyText rendering, possibly libtxtText rendering, possibly libtxtc: crashStack traces logged to the consoleStack traces logged to the consolec: parityWorks on one platform but not anotherWorks on one platform but not anotherengineflutter/engine related. See also e: labels.flutter/engine related. See also e: labels.found in release: 1.21Found to occur in 1.21Found to occur in 1.21platform-webWeb applications specificallyWeb applications specifically