mirror of
https://github.com/Dr-Blank/Vaani.git
synced 2026-02-16 14:29:35 +00:00
123
This commit is contained in:
parent
ead8850b2e
commit
0a26871bb1
6 changed files with 183 additions and 26 deletions
7
lib/shared/extensions/style.dart
Normal file
7
lib/shared/extensions/style.dart
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
import 'package:flutter/material.dart';
|
||||
|
||||
extension TextStyleExtension on TextStyle {
|
||||
double get calculateHeight {
|
||||
return (height ?? 0) * (fontSize ?? 0);
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue