mirror of
https://github.com/SyncrowIOT/syncrow-app.git
synced 2025-11-27 20:14:54 +00:00
replaced Gap Class with the appropriate SizedBox
removed the Gap dependency
This commit is contained in:
@ -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
|
||||
|
||||
Reference in New Issue
Block a user