amberAccent constant
MaterialAccentColor
const amberAccent
The amber accent color and swatch.



Icon(
Icons.widgets,
color: Colors.amberAccent[400],
)
See also:
- amber, the corresponding primary colors.
- yellowAccent and orangeAccent, similar colors.
- Theme.of, which allows you to select colors from the current theme rather than hard-coding colors in your build methods.
Implementation
// TODO(framework): Add unit tests to this code snippet.
// https://github.com/flutter/flutter/issues/188530
///
/// ```dart
/// Icon(
/// Icons.widgets,
/// color: Colors.amberAccent[400],
/// )
/// ```
///
/// </callout-box>
///
/// See also:
///
/// * [amber], the corresponding primary colors.
/// * [yellowAccent] and [orangeAccent], similar colors.
/// * [Theme.of], which allows you to select colors from the current theme
/// rather than hard-coding colors in your build methods.
static const MaterialAccentColor amberAccent = MaterialAccentColor(
_amberAccentPrimaryValue,
<int, Color>{
100: Color(0xFFFFE57F),
200: Color(_amberAccentPrimaryValue),
400: Color(0xFFFFC400),
700: Color(0xFFFFAB00),
},
);