-
Notifications
You must be signed in to change notification settings - Fork 29.5k
Closed
Labels
c: new featureNothing broken; request for a new capabilityNothing broken; request for a new capabilityplatform-webWeb applications specificallyWeb applications specifically
Description
Describe the bug
Material icons do not render on web.
To Reproduce
import 'package:flutter_web/material.dart';
void main() => runApp(MyApp());
class MyApp extends StatelessWidget {
@override
Widget build(BuildContext context) {
return MaterialApp(
home: Container(
color: Colors.white,
child: Row(
mainAxisAlignment: MainAxisAlignment.center,
children: [
Icon(Icons.print),
Icon(Icons.settings),
Icon(Icons.undo),
Icon(Icons.person),
Icon(Icons.location_on),
],
),
),
);
}
}
Expected behavior
Material design icons should render as they do on mobile.
Screenshots
Web
Mobile
Desktop (please complete the following information):
- OS: mac
- Browser chrome 73.0.3683.86, safari 12.0.3
- Dart Version 2.2.1
- Flutter Web commit SHA f9288f36fed5f3fda825082ac80f46eec6e7f62f
DanielSoCra, HrBDev, pierrekhouryb, JigneshWorld, Kiruel and 4 more
Metadata
Metadata
Assignees
Labels
c: new featureNothing broken; request for a new capabilityNothing broken; request for a new capabilityplatform-webWeb applications specificallyWeb applications specifically

