material_design_icons_flutter
material_design_icons_flutter copied to clipboard
[web] Incorrect trimming result
Only the Web. This example uses the same code with the same icon in MDI and in the native implementation. In this case, the icon is shifted in the MDI:
import 'package:flutter/material.dart';
import 'package:material_design_icons_flutter/material_design_icons_flutter.dart';
void main() async {
runApp(App());
}
class App extends StatelessWidget {
@override
Widget build(BuildContext context) {
return MaterialApp(
theme: ThemeData.light(),
home: AppCore(),
);
}
}
class AppCore extends StatefulWidget {
@override
_AppCoreState createState() => _AppCoreState();
}
class _AppCoreState extends State<AppCore> {
@override
Widget build(BuildContext context) {
return Row( crossAxisAlignment: CrossAxisAlignment.start,
children: [
Container(
child: Icon(Icons.check_box_outline_blank, size: 68),
// child: Icon(MdiIcons.checkboxBlankOutline, size: 68),
decoration: BoxDecoration( color: Colors.red ),
clipBehavior: Clip.antiAlias,
)
],
);
}
}
Native:

MDI:

Well this might be related to #10 , which only appears on android FAB back then.
Hi @ziofat
Do you think it is possible to fix this?
I will try. I am more familiar with web so maybe this time I can find what is the real cause of this issue. :)
any update related to this issue? i also have this problem on flutter web.
Any update on this? Still facing this issue