2022-04-24 12:37:32 +02:00
|
|
|
import 'package:flutter/material.dart';
|
2022-05-16 02:51:47 +02:00
|
|
|
|
2022-04-28 06:30:08 +02:00
|
|
|
import 'package:nekoya_flutter/components/checkout_form.dart';
|
2022-04-28 08:58:21 +02:00
|
|
|
import 'package:nekoya_flutter/components/checkout_items.dart';
|
2022-04-24 12:37:32 +02:00
|
|
|
|
|
|
|
class Checkout extends StatefulWidget {
|
2022-04-25 17:28:58 +02:00
|
|
|
const Checkout({Key? key}) : super(key: key);
|
2022-04-24 12:37:32 +02:00
|
|
|
|
|
|
|
@override
|
|
|
|
State<Checkout> createState() => _CheckoutState();
|
|
|
|
}
|
|
|
|
|
|
|
|
class _CheckoutState extends State<Checkout> {
|
|
|
|
@override
|
|
|
|
Widget build(BuildContext context) {
|
2022-04-24 12:48:48 +02:00
|
|
|
return Scaffold(
|
|
|
|
backgroundColor: const Color(0xff1b1c1e),
|
|
|
|
appBar: AppBar(
|
|
|
|
title: const Text('Nekoya'),
|
|
|
|
centerTitle: true,
|
|
|
|
backgroundColor: const Color(0xff212226),
|
|
|
|
),
|
2022-04-28 06:30:08 +02:00
|
|
|
body: SafeArea(
|
2022-04-28 06:30:56 +02:00
|
|
|
child: SingleChildScrollView(
|
|
|
|
child: Column(
|
2022-04-28 21:20:36 +02:00
|
|
|
children: const [
|
2022-04-28 08:58:21 +02:00
|
|
|
CheckoutItems(),
|
2022-04-28 06:30:56 +02:00
|
|
|
CheckoutForm(),
|
|
|
|
],
|
|
|
|
),
|
|
|
|
),
|
2022-04-28 06:30:08 +02:00
|
|
|
),
|
2022-04-24 12:48:48 +02:00
|
|
|
);
|
2022-04-24 12:37:32 +02:00
|
|
|
}
|
|
|
|
}
|