AutoSizeStyledText

Text widget with formatted text using tags. Makes it easier to use formatted text in multilingual applications.(styled_text) Combined with auto_size_text that automatically resizes text to fit perfectly within its bounds.

Table of Contents

Getting Started

In your flutter project add the dependency:

dependencies:
  ...
  auto_size_styled_text: ^[version]

Import package:

import 'package:auto_size_styled_text/auto_size_styled_text.dart';

Usage Examples

StyledText(
  text: 'Test: <bold>bold</bold> and <red>red color</red> text.',
  tags: {
    'bold': StyledTextTag(style: TextStyle(fontWeight: FontWeight.bold)),
    'red': StyledTextTag(style: TextStyle(fontWeight: FontWeight.bold, color: Colors.red)),
  },
)


Libraries

action_text_style
auto_size_styled_text
custom_style
custom_text_style
icon_style
styled_text_tag
styled_text_tag_action
styled_text_tag_base
styled_text_tag_custom
styled_text_tag_icon
styled_text_tag_widget
styled_text_tag_widget_builder