mirror of
https://github.com/flutter/flutter.git
synced 2025-06-03 00:51:18 +00:00
Remove workaround for markup stripping dartdoc bug (#20748)
* Remove workaround for dart-lang/dartdoc#1125 * Update update_icons.dart for optional const and to remove markup stripping workaround
This commit is contained in:
parent
3b309bda07
commit
5e39476aef
@ -216,7 +216,7 @@ String getIconDeclaration(String line) {
|
|||||||
final String rtl = kMirroredIcons.contains(name) ? ', matchTextDirection: true' : '';
|
final String rtl = kMirroredIcons.contains(name) ? ', matchTextDirection: true' : '';
|
||||||
return '''
|
return '''
|
||||||
|
|
||||||
/// <p><i class="material-icons md-36">$name</i> — material icon named "$description".</p>
|
/// <i class="material-icons md-36">$name</i> — material icon named "$description".
|
||||||
static const IconData $identifier = const IconData(0x$codepoint, fontFamily: 'MaterialIcons'$rtl);
|
static const IconData $identifier = IconData(0x$codepoint, fontFamily: 'MaterialIcons'$rtl);
|
||||||
''';
|
''';
|
||||||
}
|
}
|
||||||
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user