text_style_preview_lint 0.2.0+2 text_style_preview_lint: ^0.2.0+2 copied to clipboard
text_style_preview_lint is a package to make using text_style_preview more comfortable.
text_style_preview_lint is a package to make using text_style_preview more comfortable.
Getting started #
text_style_preview_lint is implemented using custom_lint. As such, it uses custom_lint's installation logic.
Long story short:
-
Add both text_style_preview_lint and custom_lint to your
pubspec.yaml
:dev_dependencies: custom_lint: text_style_preview_lint:
-
Enable
custom_lint
's plugin in youranalysis_options.yaml
:analyzer: plugins: - custom_lint
Usage #
Wrap Text widget with a TextStylePreview