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