AppBar and Header components
This commit is contained in:
@@ -1,4 +1,6 @@
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:gymlink_module_web/components/app_bar.dart';
|
||||
import 'package:gymlink_module_web/components/heading.dart';
|
||||
|
||||
class BasketPage extends StatelessWidget {
|
||||
const BasketPage({
|
||||
@@ -6,16 +8,16 @@ class BasketPage extends StatelessWidget {
|
||||
});
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
return Scaffold(
|
||||
appBar: AppBar(
|
||||
leading: IconButton(
|
||||
icon: const Icon(Icons.arrow_back),
|
||||
onPressed: () => Navigator.pop(context),
|
||||
return const Scaffold(
|
||||
appBar: GymLinkAppBar(),
|
||||
body: Column(
|
||||
children: [
|
||||
GymLinkHeader(title: 'Корзина'),
|
||||
Center(
|
||||
child: Text('Корзина'),
|
||||
),
|
||||
title: const Text('Корзина'),
|
||||
),
|
||||
body: const Center(
|
||||
child: Text('Корзина'),
|
||||
));
|
||||
],
|
||||
),
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user