From 564b70a21b5e94937b34060a74dd938293e7ebdc Mon Sep 17 00:00:00 2001 From: Moe Date: Tue, 26 Apr 2022 17:28:55 +0700 Subject: [PATCH] Cleanup code --- lib/components/payment_body.dart | 4 ++-- lib/screens/payment.dart | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/components/payment_body.dart b/lib/components/payment_body.dart index b25c518..5e88a79 100644 --- a/lib/components/payment_body.dart +++ b/lib/components/payment_body.dart @@ -11,8 +11,8 @@ class _PaymentBodyState extends State { @override Widget build(BuildContext context) { return Container( - constraints: BoxConstraints.expand(height: 150.0), - decoration: BoxDecoration(color: Colors.transparent), + constraints: const BoxConstraints.expand(height: 150.0), + decoration: const BoxDecoration(color: Colors.transparent), child: Column( children: [ Row( diff --git a/lib/screens/payment.dart b/lib/screens/payment.dart index 676b86b..5256278 100644 --- a/lib/screens/payment.dart +++ b/lib/screens/payment.dart @@ -18,6 +18,6 @@ class _PaymentState extends State { centerTitle: true, backgroundColor: const Color(0xff212226), ), - body: PaymentBody()); + body: const PaymentBody()); } }