- Notifications
You must be signed in to change notification settings - Fork29.7k
Closed
Labels
P2Important issues not at the top of the work liste: web_htmlHTML rendering backend for Webengineflutter/engine related. See also e: labels.f: material designflutter/packages/flutter/material repository.found in release: 2.2Found to occur in 2.2frameworkflutter/packages/flutter repository. See also f: labels.has reproducible stepsThe issue has been confirmed reproducible and is ready to work onplatform-webWeb applications specificallyr: solvedIssue is closed as solvedteam-webOwned by Web platform teamtriaged-webTriaged by Web platform team
Description
the problem code:
import 'package:flutter/material.dart';void main() => runApp(MyApp());class MyApp extends StatelessWidget { @override Widget build(BuildContext context) { return MaterialApp( title: 'Material App', theme: ThemeData.dark(), home: Home(), ); }}class Home extends StatelessWidget { @override Widget build(BuildContext context) { return Scaffold( appBar: AppBar( title: Text('Material App Bar'), ), body: Row(children: [ Container( width: 50, height: 50, child: Image.asset('images/ic_avatar_default.png', fit: BoxFit.cover, width: 50, height: 50, cacheHeight: 50, cacheWidth: 50,), ), Container( constraints: BoxConstraints(maxWidth: 52), child: Text( 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.', overflow: TextOverflow.ellipsis, ), ), ]), ); }}Command line input and render width window.flutterWebRenderer = "html";
flutter run -d edge --web-hostname 127.0.0.1 --web-port 5678 --web-renderer html --profileWhat I expect is
But, actually is
flutter environment is
Metadata
Metadata
Assignees
Labels
P2Important issues not at the top of the work liste: web_htmlHTML rendering backend for Webengineflutter/engine related. See also e: labels.f: material designflutter/packages/flutter/material repository.found in release: 2.2Found to occur in 2.2frameworkflutter/packages/flutter repository. See also f: labels.has reproducible stepsThe issue has been confirmed reproducible and is ready to work onplatform-webWeb applications specificallyr: solvedIssue is closed as solvedteam-webOwned by Web platform teamtriaged-webTriaged by Web platform team


