Callout constructor

const Callout({
  1. required String body,
  2. String title = '',
  3. BadgeTone tone = BadgeTone.info,
  4. String? accentColor,
  5. String? backgroundColor,
  6. EdgeInsetsGeometry padding = const EdgeInsets.fromLTRB(12, 10, 12, 10),
})

Callout API.

Implementation

const Callout({
  required this.body,
  this.title = '',
  this.tone = BadgeTone.info,
  this.accentColor,
  this.backgroundColor,
  this.padding = const EdgeInsets.fromLTRB(12, 10, 12, 10),
});