m3_lightmeter/lib/utils/text_line_height.dart

6 lines
130 B
Dart
Raw Normal View History

2022-10-24 20:25:38 +00:00
import 'package:flutter/widgets.dart';
extension TextLineHeight on TextStyle {
double get lineHeight => fontSize! * height!;
}