-
Notifications
You must be signed in to change notification settings - Fork 29.7k
Closed
flutter/engine
#50928Labels
P2Important issues not at the top of the work listImportant issues not at the top of the work liste: web_skwasmSkwasm rendering backend for webSkwasm rendering backend for webengineflutter/engine related. See also e: labels.flutter/engine related. See also e: labels.platform-webWeb applications specificallyWeb applications specificallyteam-webOwned by Web platform teamOwned by Web platform teamtriaged-webTriaged by Web platform teamTriaged by Web platform team
Description
The following snippet creates a disabled ActionChip (or InputChip) with an icon and a label.
import 'package:flutter/material.dart';
void main() {
runApp(MyApp());
}
class MyApp extends StatelessWidget {
@override
Widget build(BuildContext context) {
return const MaterialApp(
home: Scaffold(
body: Center(
child: ActionChip(
avatar: Icon(Icons.account_circle),
label: Text('Test'),
),
),
),
);
}
}
- Build with skwasm
flutter build web --wasm --web-renderer=skwasm - Serve with necessary flags (
dart pub global run dhttpd --path=build/web_wasm --headers="Cross-Origin-Embedder-Policy=require-corp;Cross-Origin-Opener-Policy=same-origin") - Visit the site on a recent version of Chrome (I'm using 122.0.6182.0)
- See that the chip has no contents.
- The contents are however visible if the chip is not disabled (by specifying an
onPressedhandler).
Result (skwasm):
Expected (CanvasKit):
Version information
Flutter 3.18.0-19.0.pre.74 • channel main • https://github.com/flutter/flutter
Framework • revision 4ff2396b86 (42 minutes ago) • 2024-01-04 20:23:28 -0500
Engine • revision f2f00a438e
Tools • Dart 3.3.0 (build 3.3.0-279.0.dev) • DevTools 2.31.0
Metadata
Metadata
Assignees
Labels
P2Important issues not at the top of the work listImportant issues not at the top of the work liste: web_skwasmSkwasm rendering backend for webSkwasm rendering backend for webengineflutter/engine related. See also e: labels.flutter/engine related. See also e: labels.platform-webWeb applications specificallyWeb applications specificallyteam-webOwned by Web platform teamOwned by Web platform teamtriaged-webTriaged by Web platform teamTriaged by Web platform team