StatusChangeThemeData constructor Null safety

StatusChangeThemeData(
  1. {Axis? direction,
  2. IndicatorThemeData? indicatorTheme,
  3. ConnectorThemeData? connectorTheme}
)

Implementation

factory StatusChangeThemeData({
  Axis? direction,
  IndicatorThemeData? indicatorTheme,
  ConnectorThemeData? connectorTheme,
}) {
  direction ??= Axis.vertical;
  indicatorTheme ??= IndicatorThemeData();
  connectorTheme ??= ConnectorThemeData();
  return StatusChangeThemeData.raw(
    direction: direction,
    indicatorTheme: indicatorTheme,
    connectorTheme: connectorTheme,
  );
}