DividerTheme constructor Null safety

const DividerTheme(
  1. {Key? key,
  2. required DividerThemeData data,
  3. required Widget child}
)

Creates a divider theme that controls the configurations for Dividers, VerticalDividers, dividers between ListTiles, and dividers between rows in DataTables in its widget subtree.

Implementation

const DividerTheme({
  super.key,
  required this.data,
  required super.child,
}) : assert(data != null);