HTMLWidgetBase class abstract
Base class for HTML widgets that support global attributes.
- Inheritance
- Implementers
- Abbreviation
- Address
- Anchor
- Article
- Aside
- Audio
- BidirectionalIsolate
- BidirectionalTextOverride
- BlockQuote
- Button
- Canvas
- Citation
- Data
- DataList
- Definition
- DeletedText
- DescriptionDetails
- DescriptionList
- DescriptionTerm
- Details
- Dialog
- Division
- EmbedExternal
- EmbedTextTrack
- Emphasis
- FieldSet
- Figure
- FigureCaption
- Footer
- Form
- Header
- Heading1
- Heading2
- Heading3
- Heading4
- Heading5
- Heading6
- HorizontalRule
- Idiomatic
- IFrame
- Image
- ImageMap
- ImageMapArea
- InlineCode
- InlineQuotation
- Input
- InputButton
- InputCheckBox
- InputColor
- InputDate
- InputDateTimeLocal
- InputEmail
- InputFile
- InputHidden
- InputImage
- InputMonth
- InputNumber
- InputPassword
- InputRadio
- InputRange
- InputReset
- InputSearch
- InputSubmit
- InputTelephone
- InputText
- InputTime
- InputUrl
- InputWeek
- InsertedText
- KeyboardInput
- Label
- Legend
- LineBreak
- LineBreakOpportunity
- ListItem
- MarkText
- MediaSource
- Menu
- Meter
- Navigation
- Option
- OptionGroup
- OrderedList
- Output
- Paragraph
- Picture
- Portal
- PreformattedText
- Progress
- RubyAnnotation
- RubyFallbackParenthesis
- RubyText
- SampleOutput
- Section
- Select
- Small
- Span
- StrikeThrough
- Strong
- SubScript
- Summary
- SuperScript
- Table
- TableBody
- TableCaption
- TableColumn
- TableColumnGroup
- TableDataCell
- TableFoot
- TableHead
- TableHeaderCell
- TableRow
- Text
- TextArea
- Time
- UnOrderedList
- Variable
- Video
Constructors
-
HTMLWidgetBase({Key? key, NullableElementCallback? ref, String? id, String? title, String? style, String? className, String? innerText, Widget? child, List<
Widget> ? children, EventCallback? onClick, Map<String, String> ? additionalAttributes}) -
const
Properties
-
additionalAttributes
→ Map<
String, String> ? -
Any additional attributes.
final
- child → Widget?
-
Child widget.
final
-
children
→ List<
Widget> ? -
Multiple child widgets.
final
- className → String?
-
The classes attribute specifies one or more class names for an dom node.
final
- correspondingTag → DomTagType?
-
Corresponding HTML tag to use to render this widget
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
-
The hidden attribute is a boolean attribute.
When present, it specifies that an dom node is not yet, or
is no longer, relevant.
final
- id → String?
-
ID of dom node.
final
- innerText → String?
-
Element's inner text.
final
- key → Key?
-
Keys help Rad identify which widgets have changed, are added, or are
removed when a widget has multiple sibling widgets.
finalinherited
- onClick → EventCallback?
-
On click event listener.
final
- ref → NullableElementCallback?
-
Reference callback.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- style → String?
-
The style attribute for inline CSS.
final
- title → String?
-
The title attribute specifies extra information about an dom node.
final
-
widgetCaptureEventListeners
→ Map<
DomEventType, EventCallback?> -
Events that this widget is listening to in capturing phase.
no setterinherited
-
widgetEventListeners
→ Map<
DomEventType, EventCallback?> -
Events that this widget is listening to in bubbling phase.
no setteroverride
Methods
-
createRenderElement(
RenderElement parent) → RenderElement -
Create element for current widget.
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
shouldUpdateWidget(
Widget oldWidget) → bool -
Whether to update current widget.
override
-
shouldUpdateWidgetChildren(
Widget oldWidget, bool shouldUpdateWidget) → bool -
Whether to update current widget's children.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited