color property Null safety

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.

const Divider(
  color: Colors.deepOrange,
)

Implementation

final Color? color;