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

outdated

A text widget that makes it easy to highlight any letter/word you want

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
90
pub points
68%
popularity

Publisher

verified publishertheiskaa.com

A text widget that makes it easy to highlight any letter/word you want

Repository (GitHub)
View/report issues
Contributing

Documentation

Documentation
API reference

License

MIT (license)

Dependencies

flutter

More

Packages that depend on highlightable