FluentTeachingPopoverState class
A teaching popover's fully resolved state, including the design axis.
The counterpart of FluentButtonState: base state plus exactly
appearance.
- Inheritance
-
- Object
- FluentTeachingPopoverBaseState
- FluentTeachingPopoverState
- Annotations
Constructors
- FluentTeachingPopoverState({required Widget title, required Widget body, required String dismissSemanticLabel, required FluentTeachingPopoverAppearance appearance, Widget? header, Widget? media, VoidCallback? onDismiss, Widget? primaryAction, Widget? secondaryAction, FluentTeachingPopoverCarousel? carousel})
-
Creates a resolved state.
const
Properties
- appearance → FluentTeachingPopoverAppearance
-
Fill treatment.
final
- body → Widget
-
The explanatory paragraph.
body1in every variant.finalinherited - carousel → FluentTeachingPopoverCarousel?
-
Multi-step tour state, or null for a single-step popover.
finalinherited
- dismissSemanticLabel → String
-
Announced for the dismiss button.
finalinherited
-
Whether anything is drawn below the body.
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- hasHeader → bool
-
Whether anything is drawn above the title.
no setterinherited
- header → Widget?
-
The small caption above the media — Figma's
Badgeslot. Optional.finalinherited - media → Widget?
-
The image or illustration between the header and the title. Optional, and
drawn exactly as handed over: Figma's 288 x 90 placeholder is a stand-in
for the caller's artwork, not a size this component imposes.
finalinherited
- onDismiss → VoidCallback?
-
Invoked by the header's dismiss button. Null draws no dismiss button at
all rather than a disabled one — Figma has no disabled variant of it.
finalinherited
- primaryAction → Widget?
-
The confirming action, drawn first and closest to the centre. Normally a
FluentButtonwithFluentButtonAppearance.primary.finalinherited - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- secondaryAction → Widget?
-
The secondary action. Normally a
FluentButtonwith the defaultFluentButtonAppearance.secondary.finalinherited - title → Widget
-
The headline.
subtitle2in every variant.finalinherited
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