resolve static method
Resolves leading values from FlyStyle and FlyThemeData into TextStyle height
Implementation
static double? resolve(BuildContext context, FlyStyle style) {
if (style.leading == null) return null;
try {
final leading = FlyTheme.of(context).leading;
return _resolveValue(style.leading, context, leading);
} catch (e) {
throw ArgumentError('Failed to resolve leading: $e');
}
}