MarkerText class
Constructors
- MarkerText({required String marker, required TextStyle style})
-
factory
-
MarkerText.withFunction({required String marker, required List<
Function> functions, required TextStyle style, OnErrorType? onError}) -
factory
- MarkerText.withSameFunction({required String marker, required Function function, required TextStyle style, dynamic onError(Object msg)?})
-
factory
-
MarkerText.withUrl({required String marker, required List<
String> urls, TextStyle style = const TextStyle(fontWeight: FontWeight.bold, color: Colors.blue), OnErrorType? onError}) -
factory
Properties
-
functions
→ List<
Function> ? -
List of functions case type is "function" or "sameFunction"
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- marker → String
-
Marker to identify in text, ex: MY TEXT, marker is "*"
final
- onError → OnErrorType?
-
On error occurred when called any functions above
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- style → TextStyle
-
Text Style
final
- type → MarkerType
-
Type of Marker
final
-
urls
→ List<
String> ? -
Urls, only required case type is
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