m3_lightmeter/lib/utils/text_line_height.dart
2022-10-24 23:25:38 +03:00

5 lines
130 B
Dart

import 'package:flutter/widgets.dart';
extension TextLineHeight on TextStyle {
double get lineHeight => fontSize! * height!;
}