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 your analysis_options.yaml:

    analyzer:
      plugins:
        - custom_lint
    

Usage

Wrap Text widget with a TextStylePreview

text_style_preview