getEffectiveDirection method Null safety

Axis getEffectiveDirection(
  1. BuildContext context
)

Implementation

Axis getEffectiveDirection(BuildContext context) {
  return direction ?? StatusChangeTheme.of(context).direction;
}