again
This commit is contained in:
@ -53,9 +53,9 @@ class LoginUserView extends StatelessWidget {
|
||||
),
|
||||
const SizedBox(height: 16),
|
||||
MyTextFormField(
|
||||
maxLength: 13,
|
||||
hintText: 'No. HP',
|
||||
keyboardType: TextInputType.phone,
|
||||
// maxLength: 13,
|
||||
hintText: 'Username',
|
||||
// keyboardType: TextInputType.phone,
|
||||
controller: model.noHpController,
|
||||
),
|
||||
const SizedBox(height: 16),
|
||||
|
||||
@ -174,54 +174,57 @@ class DetailMakananView extends HookWidget {
|
||||
),
|
||||
],
|
||||
),
|
||||
child: Row(
|
||||
children: [
|
||||
Expanded(
|
||||
child: Column(
|
||||
mainAxisAlignment: MainAxisAlignment.start,
|
||||
crossAxisAlignment: CrossAxisAlignment.start,
|
||||
children: [
|
||||
Text(
|
||||
"Total Harga",
|
||||
style: regularTextStyle.copyWith(
|
||||
fontSize: 14,
|
||||
color: fontGrey,
|
||||
child: SingleChildScrollView(
|
||||
scrollDirection: Axis.horizontal,
|
||||
child: Row(
|
||||
children: [
|
||||
Expanded(
|
||||
child: Column(
|
||||
mainAxisAlignment: MainAxisAlignment.start,
|
||||
crossAxisAlignment: CrossAxisAlignment.start,
|
||||
children: [
|
||||
Text(
|
||||
"Total Harga",
|
||||
style: regularTextStyle.copyWith(
|
||||
fontSize: 14,
|
||||
color: fontGrey,
|
||||
),
|
||||
),
|
||||
),
|
||||
const SizedBox(
|
||||
height: 5,
|
||||
),
|
||||
Text(
|
||||
model.isBusy
|
||||
? 'Loading...'
|
||||
: 'Rp. ${int.parse(makananModel.hargaMakanan!) + 10000}',
|
||||
style: boldTextStyle.copyWith(
|
||||
fontSize: 16,
|
||||
color: dangerColor,
|
||||
const SizedBox(
|
||||
height: 5,
|
||||
),
|
||||
),
|
||||
],
|
||||
),
|
||||
),
|
||||
Expanded(
|
||||
child: Container(
|
||||
height: 40,
|
||||
decoration: BoxDecoration(
|
||||
color: dangerColor,
|
||||
borderRadius: BorderRadius.circular(10),
|
||||
Text(
|
||||
model.isBusy
|
||||
? 'Loading...'
|
||||
: 'Rp. ${int.parse(makananModel.hargaMakanan!) + 10000}',
|
||||
style: boldTextStyle.copyWith(
|
||||
fontSize: 16,
|
||||
color: dangerColor,
|
||||
),
|
||||
),
|
||||
],
|
||||
),
|
||||
child: Center(
|
||||
child: Text(
|
||||
"Pesan Sekarang",
|
||||
style: boldTextStyle.copyWith(
|
||||
fontSize: 16,
|
||||
color: Colors.white,
|
||||
),
|
||||
Expanded(
|
||||
child: Container(
|
||||
height: 40,
|
||||
decoration: BoxDecoration(
|
||||
color: dangerColor,
|
||||
borderRadius: BorderRadius.circular(10),
|
||||
),
|
||||
child: Center(
|
||||
child: Text(
|
||||
"Pesan Sekarang",
|
||||
style: boldTextStyle.copyWith(
|
||||
fontSize: 16,
|
||||
color: Colors.white,
|
||||
),
|
||||
),
|
||||
),
|
||||
),
|
||||
),
|
||||
),
|
||||
],
|
||||
],
|
||||
),
|
||||
),
|
||||
),
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user