Callout class

Accent callout with a colored leading bar.

Inheritance

Constructors

Callout({required String body, String title = '', BadgeTone tone = BadgeTone.info, String? accentColor, String? backgroundColor, EdgeInsetsGeometry padding = const EdgeInsets.fromLTRB(12, 10, 12, 10)})
Callout API.
const

Properties

accentColor → String?
accentColor API.
final
backgroundColor → String?
backgroundColor API.
final
body → String
body API.
final
flowChildren → List<Widget>?
Children MultiPage should flow individually (vertical columns).
no setterinherited
hashCode → int
The hash code for this object.
no setterinherited
padding → EdgeInsetsGeometry
padding API.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
title → String
title API.
final
tone → BadgeTone
tone API.
final

Methods

layout(Context context, BoxConstraints constraints) → PwBox
layout API.
override
layoutSpan(Context context, BoxConstraints constraints) → SpanSlice?
Split across pages when constraints has a bounded height.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
paintStamp(Context context, double pageW, double pageH) → void
Stamp paint. The default lays out and paints glyph by glyph.
inherited
toString() → String
A string representation of this object.
inherited

Operators

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