You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
415 B
Dart
15 lines
415 B
Dart
|
2 months ago
|
import 'package:flutter/material.dart';
|
||
|
|
import 'package:hmg_patient_app_new/theme/colors.dart';
|
||
|
|
|
||
|
|
extension IntExtensions on int {
|
||
|
|
Widget get height => SizedBox(height: toDouble());
|
||
|
|
|
||
|
|
Widget get width => SizedBox(width: toDouble());
|
||
|
|
|
||
|
|
Widget get divider => Divider(height: toDouble(), thickness: toDouble(), color: buttonColor);
|
||
|
|
|
||
|
|
Widget get makeItSquare => SizedBox(width: toDouble(), height: toDouble());
|
||
|
|
|
||
|
|
|
||
|
|
}
|