color property

Color? color
final

The color to use when painting the line.

If this is null, then the DividerThemeData.color is used. If that is also null, then ThemeData.dividerColor is used.

{@tool snippet}

const Divider(
  color: Colors.deepOrange,
)

{@end-tool}

Implementation

final Color? color;