added space under button
This commit is contained in:
parent
0b1c98f662
commit
eac344a671
|
|
@ -7,6 +7,7 @@
|
|||
"dictionaryDefinitions": [],
|
||||
"dictionaries": [],
|
||||
"words": [
|
||||
"Appbar",
|
||||
"dili",
|
||||
"fluttericon",
|
||||
"fontello",
|
||||
|
|
|
|||
|
|
@ -125,7 +125,7 @@ const Map<String, String> tmTM = {
|
|||
'loading': 'Ýüklenilyär ...',
|
||||
'payment_unsuccess': 'Töleg geçmedi. soň barlap görüň!',
|
||||
'approve_lang': 'Dowam et',
|
||||
'select_language': 'Dil saýlaň',
|
||||
'select_language': 'Dili saýlaň',
|
||||
'profile': 'Profil',
|
||||
'discounted_price': 'Arzanladyşdaky harytlar',
|
||||
};
|
||||
|
|
|
|||
|
|
@ -29,15 +29,8 @@ class ProductDetailsPage extends StatelessWidget {
|
|||
child: Scaffold(
|
||||
appBar: CustomAppbarWidget(leading: AppBarBackBtn()),
|
||||
body: SliverAppBarWithTabBar(model: model, pc: pc),
|
||||
// ListView(
|
||||
// children: model.type == 'simple'
|
||||
// ? buildSimpleProductScreen(model)
|
||||
// : buildConfigurableProductScreen(
|
||||
// pc,
|
||||
// ),
|
||||
// ),
|
||||
bottomNavigationBar: Padding(
|
||||
padding: const EdgeInsets.symmetric(horizontal: 16.0),
|
||||
padding: const EdgeInsets.only(left: 16.0, right: 16, bottom: 16.0, top: 8),
|
||||
child: ColoredButton(
|
||||
title: 'add_to_cart'.tr,
|
||||
callback: () => pc.onAddToCart(context, model),
|
||||
|
|
@ -139,7 +132,9 @@ class ProductDetailsPage extends StatelessWidget {
|
|||
decoration: new BoxDecoration(
|
||||
// color: Colors.amberAccent,
|
||||
border: Border.all(
|
||||
color: option.option == selectedOption.option ? ThemeColor.mainColor : Colors.grey.withOpacity(0.50),
|
||||
color: option.option == selectedOption.option
|
||||
? ThemeColor.mainColor
|
||||
: Colors.grey.withOpacity(0.50),
|
||||
width: option.option == selectedOption.option ? 2 : 1,
|
||||
),
|
||||
borderRadius: BorderRadius.circular(8)),
|
||||
|
|
@ -190,7 +185,9 @@ class ProductDetailsPage extends StatelessWidget {
|
|||
child: Container(
|
||||
decoration: new BoxDecoration(
|
||||
border: Border.all(
|
||||
color: product.id == selectedProduct?.id ? ThemeColor.mainColor : Colors.grey.withOpacity(0.50),
|
||||
color: product.id == selectedProduct?.id
|
||||
? ThemeColor.mainColor
|
||||
: Colors.grey.withOpacity(0.50),
|
||||
width: product.id == selectedProduct?.id ? 2 : 1,
|
||||
),
|
||||
borderRadius: BorderRadius.circular(8)),
|
||||
|
|
@ -229,7 +226,9 @@ class ProductDetailsPage extends StatelessWidget {
|
|||
child: Container(
|
||||
decoration: new BoxDecoration(
|
||||
border: Border.all(
|
||||
color: option.option == selectedSimpleOption?.option ? ThemeColor.mainColor : Colors.grey.withOpacity(0.50),
|
||||
color: option.option == selectedSimpleOption?.option
|
||||
? ThemeColor.mainColor
|
||||
: Colors.grey.withOpacity(0.50),
|
||||
width: option.option == selectedSimpleOption?.option ? 2 : 1,
|
||||
),
|
||||
borderRadius: BorderRadius.circular(8)),
|
||||
|
|
|
|||
|
|
@ -66,6 +66,7 @@ class LanguageSplashScreen extends StatelessWidget {
|
|||
callback: controller.onNextBtnTapped,
|
||||
),
|
||||
),
|
||||
SizedBox(height: 20),
|
||||
],
|
||||
),
|
||||
),
|
||||
|
|
|
|||
Loading…
Reference in New Issue