flutter_html_vuetify_extension 0.1.0
flutter_html_vuetify_extension: ^0.1.0 copied to clipboard
A flutter_html extension that inlines Vuetify utility classes as inline CSS.
0.1.0 #
- Initial release: a
flutter_htmlextension that inlines Vuetify utility classes (borders, rounded corners, cursor, display, spacing, elevation, and typography) as CSS understood byflutter_html. - Declarations
flutter_htmlcannot render are suppressed rather than inlined. This matters beyond tidiness:d-flexresolves todisplay: flex, whichflutter_htmlmaps toDisplay.inline, turning block elements inline. - Unsupported classes are reported once per parsed document via
FlutterError.reportError. They are never thrown, so they reach the debug console and crash reporters such as Sentry without interrupting rendering. Gate withreportUnsupportedClasses. - A registered companion extension (currently only
CssBorderRadiusHtmlExtension) widens what counts as supported, so its properties are inlined instead of dropped. - Public API for introspecting coverage:
isSupportedClass(),unsupportedClasses,flutterHtmlSupportedProperties,flutterHtmlSupportedDisplayValues,knownCompanionExtensions,VuetifyCompanionExtensionandUnsupportedVuetifyClassesException.