app/lib/screens/checkout.dart

36 lines
875 B
Dart
Raw Normal View History

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';
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(
child: SingleChildScrollView(
child: Column(
2022-04-28 21:20:36 +02:00
children: const [
CheckoutItems(),
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
}
}