Closed OpenJarvisAI closed 10 months ago
去掉h2的divider无法生效
class MyH2Config extends HeadingConfig { const MyH2Config({ this.style = const TextStyle( fontSize: 32, height: 40 / 32, fontWeight: FontWeight.bold, ), }); @override final TextStyle style; @override String get tag => MarkdownTag.h2.name;
@override HeadingDivider? get divider => null; }
h1 h3 可以
不对,均无效
去掉h2的divider无法生效
class MyH2Config extends HeadingConfig { const MyH2Config({ this.style = const TextStyle( fontSize: 32, height: 40 / 32, fontWeight: FontWeight.bold, ), }); @override final TextStyle style; @override String get tag => MarkdownTag.h2.name;
@override HeadingDivider? get divider => null; }
h1 h3 可以