LinkWell class
LinkWell class created
- Inheritance
-
- Object
- DiagnosticableTree
- Widget
- StatelessWidget
- LinkWell
Constructors
-
LinkWell(String text, {Key? key, TextStyle? style, TextStyle? linkStyle, TextAlign textAlign = TextAlign.start, TextDirection? textDirection, bool softWrap = true, TextOverflow overflow = TextOverflow.clip, double textScaleFactor = 1.0, int? maxLines, Locale? locale, StrutStyle? strutStyle, Map<
String, String> ? listOfNames, TextWidthBasis textWidthBasis = TextWidthBasis.parent}) - LinkWell class is constructed here
Properties
- exp → RegExp
-
The RegEx pattern is created
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- key → Key?
-
This hold user defined Widget key
by default can also be null
final
- links → List
-
This is holds all links when detected
final
- linkStyle → TextStyle?
-
This hold user defined styling
for the links
It's also an instanciation of Flutter Widget TextStyle
final
-
listOfNames
→ Map<
String, String> ? -
This hold all Names of links provided by the User
this is set to null by default
final
- locale → Locale?
-
This hold user defined locale
because LinkWell makes user of Flutter RichText Widget
it also gives user the option to define textOverflow
by default this is set to TextOverflow.clip
final
- maxLines → int?
-
This hold user defined MaxLines
because LinkWell makes user of Flutter RichText Widget
it also gives user the option to create max lines
it can take a default value of null
final
- overflow → TextOverflow
-
This hold user defined overflow
because LinkWell makes user of Flutter RichText Widget
it also gives user the option to create locale
by default can also be null
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- softWrap → bool
-
This hold user defined softWrap
because LinkWell makes user of Flutter RichText Widget
it also gives user the option to create softwrap
by default this is set to null
final
- strutStyle → StrutStyle?
-
This hold user defined StrutStyle
because LinkWell makes user of Flutter RichText Widget
it also gives user the option to create strutstyle
by default can also be null
final
- style → TextStyle?
-
This hold user defined styling
It's an instanciation of Flutter Widget TextStyle
final
- text → String
-
This hold the text the user provides
final
- textAlign → TextAlign
-
This hold user defined textAlignment
It's also an instanciation of Flutter Widget TextAlign
It has a default value of TextAlign.start,
final
- textDirection → TextDirection?
-
This hold user defined textScaleFactor
because LinkWell makes user of Flutter RichText Widget
it also gives user the option to create textScaleFactor
by default can also be null
final
- textScaleFactor → double
-
This hold user defined textScaleFactor
because LinkWell makes user of Flutter RichText Widget
it also gives user the option to create textScaleFactor
by default can also be null
final
-
textSpanWidget
→ List<
InlineSpan> -
This hold TextSpan Widgets List
which is then placed as child in the RichText Widget
final
- textWidthBasis → TextWidthBasis
-
This hold user defined textScaleFactor
because LinkWell makes user of Flutter RichText Widget
it also gives user the option to create textScaleFactor
by default can also be null
final
Methods
-
build(
BuildContext context) → Widget -
Describes the part of the user interface represented by this widget.
override
-
createElement(
) → StatelessElement -
Creates a StatelessElement to manage this widget's location in the tree.
inherited
-
debugDescribeChildren(
) → List< DiagnosticsNode> -
Returns a list of
DiagnosticsNode
objects describing this node's children.inherited -
debugFillProperties(
DiagnosticPropertiesBuilder properties) → void -
Add additional properties associated with the node.
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toDiagnosticsNode(
{String? name, DiagnosticsTreeStyle? style}) → DiagnosticsNode -
Returns a debug representation of the object that is used by debugging
tools and by DiagnosticsNode.toStringDeep.
inherited
-
toString(
{DiagnosticLevel minLevel = DiagnosticLevel.info}) → String -
A string representation of this object.
inherited
-
toStringDeep(
{String prefixLineOne = '', String? prefixOtherLines, DiagnosticLevel minLevel = DiagnosticLevel.debug}) → String -
Returns a string representation of this node and its descendants.
inherited
-
toStringShallow(
{String joiner = ', ', DiagnosticLevel minLevel = DiagnosticLevel.debug}) → String -
Returns a one-line detailed description of the object.
inherited
-
toStringShort(
) → String -
A short, textual description of this widget.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited