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.
17 lines
451 B
Dart
17 lines
451 B
Dart
import 'package:flutter/material.dart';
|
|
import 'package:test_sa/core/constants/app_colors.dart';
|
|
|
|
extension NumExtension on num {
|
|
Widget get height => SizedBox(height: toDouble());
|
|
|
|
Widget get width => SizedBox(width: toDouble());
|
|
|
|
Widget get divider => Divider(
|
|
height: toDouble(),
|
|
thickness: toDouble(),
|
|
color: AppColors.greyEF,
|
|
);
|
|
|
|
Widget get makeItSquare => SizedBox(width: toDouble(), height: toDouble());
|
|
}
|