onAccent property

  1. @Deprecated('Use `onSecondary` instead. This feature was deprecated after v0.3.2')
Color onAccent

The Material Design "On" color contrasting with this theme's accent Color, i.e., Colors.black or Colors.white.

Implementation

@Deprecated(
  'Use `onSecondary` instead. This feature was deprecated after v0.3.2',
)
Color get onAccent => onSecondary;