fix: remove spacer
This commit is contained in:
@@ -311,7 +311,7 @@ class _BasketPageState extends State<BasketPage> {
|
||||
),
|
||||
),
|
||||
),
|
||||
_buildSpacer(),
|
||||
// _buildSpacer(),
|
||||
Padding(
|
||||
padding: const EdgeInsetsDirectional.symmetric(
|
||||
horizontal: 10, vertical: 10),
|
||||
@@ -354,7 +354,7 @@ class _BasketPageState extends State<BasketPage> {
|
||||
],
|
||||
),
|
||||
),
|
||||
const SizedBox(width: 50),
|
||||
// const SizedBox(width: 50),
|
||||
],
|
||||
),
|
||||
),
|
||||
|
||||
@@ -10,7 +10,6 @@ import 'package:gymlink_module_web/pages/order_history.dart';
|
||||
import 'package:gymlink_module_web/providers/cart.dart';
|
||||
import 'package:gymlink_module_web/tools/items.dart';
|
||||
import 'package:gymlink_module_web/tools/prefs.dart';
|
||||
import 'package:gymlink_module_web/tools/relative.dart';
|
||||
import 'package:gymlink_module_web/tools/routes.dart';
|
||||
import 'package:gymlink_module_web/tools/text.dart';
|
||||
import 'package:lazy_load_scrollview/lazy_load_scrollview.dart';
|
||||
@@ -179,7 +178,7 @@ class _MainPageState extends State<MainPage> {
|
||||
),
|
||||
),
|
||||
),
|
||||
getSpacer(context: context, flex: 2),
|
||||
// getSpacer(context: context, flex: 2),
|
||||
const SizedBox(
|
||||
width: 8,
|
||||
),
|
||||
|
||||
@@ -7,7 +7,6 @@ import 'package:gymlink_module_web/components/heading.dart';
|
||||
import 'package:gymlink_module_web/components/history_item_card.dart';
|
||||
import 'package:gymlink_module_web/interfaces/items.dart';
|
||||
import 'package:gymlink_module_web/tools/history.dart';
|
||||
import 'package:gymlink_module_web/tools/relative.dart';
|
||||
import 'package:lazy_load_scrollview/lazy_load_scrollview.dart';
|
||||
|
||||
List<Map<String, String>> orders = [
|
||||
@@ -179,9 +178,9 @@ class _HistoryPageState extends State<HistoryPage> {
|
||||
),
|
||||
),
|
||||
),
|
||||
my_orders.isEmpty
|
||||
? const SizedBox.shrink()
|
||||
: getSpacer(context: context)
|
||||
// my_orders.isEmpty
|
||||
// ? const SizedBox.shrink()
|
||||
// : getSpacer(context: context)
|
||||
],
|
||||
),
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user