mirror of
https://github.com/Dr-Blank/Vaani.git
synced 2026-02-15 22:09:35 +00:00
7 lines
166 B
Dart
7 lines
166 B
Dart
import 'package:flutter/material.dart';
|
|
|
|
extension TextStyleExtension on TextStyle {
|
|
double get calculateHeight {
|
|
return (height ?? 0) * (fontSize ?? 0);
|
|
}
|
|
}
|