replaced Gap Class with the appropriate SizedBox

removed the Gap dependency
This commit is contained in:
Mohammad Salameh
2024-03-02 15:52:28 +03:00
parent 3b06e30c9c
commit 481fe1c0f3
19 changed files with 47 additions and 107 deletions

View File

@ -1,5 +1,4 @@
import 'package:flutter/material.dart';
import 'package:gap/gap.dart';
import 'package:syncrow_app/features/dashboard/view/widgets/card_title.dart';
import 'package:syncrow_app/features/shared_widgets/united_text.dart';
import 'package:syncrow_app/utils/resource_manager/strings_manager.dart';
@ -44,7 +43,7 @@ class Consumption extends StatelessWidget {
valueWeight: FontWeight.normal,
unit: "Units",
),
const Gap(30),
const SizedBox(width: 30),
UnitedText(
value: "${MediaQuery.sizeOf(context).height.ceil()}",
valueSize: MediaQuery.sizeOf(context).height.ceil() > 680