getEffectiveThickness method Null safety

double getEffectiveThickness(
  1. BuildContext context
)

Implementation

double getEffectiveThickness(BuildContext context) {
  return thickness ?? ConnectorTheme.of(context).thickness ?? 2.0;
}