DecoratorRule class

Constructors

DecoratorRule({required RegExp regExp, required TextStyle style, dynamic onTap(String)?, String transformMatch(String)?, Widget leadingBuilder(String)?, Widget trailingBuilder(String)?, Widget builder(Widget, String)?})
DecoratorRule.between({required String start, required String end, required TextStyle style, dynamic onTap(String)?, Widget builder(Widget, String)?, bool removeMatchingCharacters = false, bool caseSensitive = false})
factory
DecoratorRule.email({required TextStyle style, required dynamic onTap(String), Widget builder(Widget, String)?})
factory
DecoratorRule.startsWith({required String text, required TextStyle style, dynamic onTap(String)?, Widget builder(Widget, String)?, bool caseSensitive = false})
factory
DecoratorRule.url({required TextStyle style, required dynamic onTap(String), Widget builder(Widget, String)?, bool looseUrl = true, bool humanize = false, bool removeWww = false})
factory
DecoratorRule.word({required String word, required TextStyle style, dynamic onTap(String)?, Widget builder(Widget, String)?, bool caseSensitive = false})
factory
DecoratorRule.words({required List<String> words, required TextStyle style, Widget builder(Widget, String)?, dynamic onTap(String)?, bool caseSensitive = false})
factory

Properties

builder → Widget Function(Widget, String)?
final
hashCode → int
The hash code for this object.
no setterinherited
leadingBuilder → Widget Function(String)?
final
onTap → dynamic Function(String)?
final
regExp → RegExp
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
style → TextStyle
final
trailingBuilder → Widget Function(String)?
final
transformMatch → String Function(String)?
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited