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