Accent constructor

const Accent({
  1. String? icon,
  2. String? semanticsLabel,
  3. bool tinted = true,
  4. Color? backgroundColor,
})

Implementation

const Accent({
  this.icon,
  this.semanticsLabel,
  this.tinted = true,
  this.backgroundColor,
}) : assert(
       backgroundColor == null || !tinted,
       'backgroundColor is only applicable when tinted is false. '
       'When tinted is true, the theme default background color is applied.',
     );