-
-
Notifications
You must be signed in to change notification settings - Fork 916
Closed
Labels
accessibilityIssues with accessibility (font scaling, screen readers, etc.)Issues with accessibility (font scaling, screen readers, etc.)bugSomething isn't workingSomething isn't working
Milestone
Description
Issue #308 occurs again in 3.0.0-alpha.6
. While in 3.0.0-alpha.5
text scaling works fine.
To reproduce set the text size to large in the device settings and check the following code:
import 'package:flutter/material.dart';
import 'package:flutter_html/flutter_html.dart';
void main() {
runApp(MyApp());
}
class MyApp extends StatelessWidget {
@override
Widget build(BuildContext context) {
const heading2Style = TextStyle(
fontSize: 24,
fontWeight: FontWeight.bold,
);
return MaterialApp(
home: Scaffold(
appBar: AppBar(),
body: SingleChildScrollView(
child: Column(
crossAxisAlignment: CrossAxisAlignment.start,
children: [
const Padding(
padding: EdgeInsets.only(left: 8),
child: Text(
'Heading2',
style: heading2Style,
),
),
Html(
data: '<h2>Heading2</h2>',
style: {
'h2': Style.fromTextStyle(heading2Style),
},
),
],
),
),
),
);
}
}
3.0.0-alpha.5
3.0.0-alpha.6
sergioprot and Sub6Resources
Metadata
Metadata
Assignees
Labels
accessibilityIssues with accessibility (font scaling, screen readers, etc.)Issues with accessibility (font scaling, screen readers, etc.)bugSomething isn't workingSomething isn't working