highlightable 1.0.5 copy "highlightable: ^1.0.5" to clipboard
highlightable: ^1.0.5 copied to clipboard

A text widget alternative, that highligts defined chars (from pattern / pure-string)

1.0.5 - (22/03/22) #

Updates: #

Resolved #12

  • Updated state behaviour type of [HighlightText] widget.
  • Improved default-text-determining by theme.

1.0.4 - (20/03/22) #

Updates: #

Resolved #5

  • Re-structured the whole widget to improve rendering speed.
  • Added a new model object to pass Regular-Expression patterns, as higlighting search options.

The new widget structure:

 ╭──────╮        Highlight                                
 │ Data │       ╭─────────────────────────────────╮       
 ╰──────╯       │ ╭─────────╮   ╭───────────────╮ │       
    │       ╭──▶│ │ Pattern │ & │ Words/Letters │ │       
    │       │   │ ╰─────────╯   ╰───────────────╯ │       
    │       │   ╰─────────────────────────────────╯       
    ╰───────╯                                             
        │                                                 
    ╭── ▼ ──╮         ╭─────────────────────────────────╮ 
    │ Parser ───▶ ... │ Highlighted Data as Text Widget │ 
    ╰───────╯         ╰─────────────────────────────────╯ 

1.0.3 - (18/10/21) #

  • Resolved #6 (Added case sensitive support)

Example:

HighlightText(
  "Hello, Flutter!",
  highlightableWord: "flu, He",
  caseSensitive: true // Turn on case-sensitive. (as default it's false "disabled").
),

1.0.2 - (15/08/21) #

  • Added detectWord property to focus on concrete matcher words

Example:

HighlightText(
  "Hello, Flutter!",
  highlightableWord: "flu, He",
  detectWords: true,
  defaultStyle: ...
  highlightStyle: ...
),
stwo

1.0.1 - (11/08/21) #

  • Fixed lower/upper case matching problem

1.0.0 - (11/08/21) #

Package Logo


HighlightText(
  'Hello World',
  highlightableWord: 'hello',
),
s1
License: MIT License: MIT CONTRIBUTING
14
likes
160
points
1.08k
downloads

Publisher

verified publishertheiskaa.com

Weekly Downloads

A text widget alternative, that highligts defined chars (from pattern / pure-string)

Repository (GitHub)
View/report issues
Contributing

Documentation

Documentation
API reference

License

MIT (license)

Dependencies

flutter

More

Packages that depend on highlightable