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/shared_widgets/default_text_button.dart';
import 'package:syncrow_app/features/shared_widgets/syncrow_logo.dart';
@ -26,12 +25,12 @@ class AuthViewBody extends StatelessWidget {
Navigator.popAndPushNamed(context, Routes.homeRoute);
},
),
const Gap(15),
const SizedBox(height: 15),
const DefaultTextButton(
text: 'Sign Up',
isSecondary: true,
),
const Gap(20),
const SizedBox(height: 20),
Center(
child: InkWell(
onTap: () {},
@ -43,7 +42,7 @@ class AuthViewBody extends StatelessWidget {
),
),
),
const Gap(30),
const SizedBox(height: 30),
],
),
);