Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions android/build.gradle
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
buildscript {
ext.kotlin_version = '1.3.50'
ext.kotlin_version = '1.3.31'
repositories {
google()
jcenter()
}

dependencies {
classpath 'com.android.tools.build:gradle:3.5.0'
classpath 'com.android.tools.build:gradle:3.5.3'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
}
}
Expand Down
2 changes: 1 addition & 1 deletion android/gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-5.6.2-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-5.4.1-all.zip
Binary file removed intro.gif
Binary file not shown.
46 changes: 25 additions & 21 deletions lib/screens/cart/components/cart_card.dart
Original file line number Diff line number Diff line change
Expand Up @@ -31,28 +31,32 @@ class CartCard extends StatelessWidget {
),
),
SizedBox(width: 20),
Column(
crossAxisAlignment: CrossAxisAlignment.start,
children: [
Text(
cart.product.title,
style: TextStyle(color: Colors.black, fontSize: 16),
maxLines: 2,
),
SizedBox(height: 10),
Text.rich(
TextSpan(
text: "\$${cart.product.price}",
style: TextStyle(
fontWeight: FontWeight.w600, color: kPrimaryColor),
children: [
TextSpan(
text: " x${cart.numOfItem}",
style: Theme.of(context).textTheme.bodyText1),
],
Expanded(
child: Column(
crossAxisAlignment: CrossAxisAlignment.start,
children: [
Text(
cart.product.title,
overflow: TextOverflow.fade,
softWrap: false,
style: TextStyle(color: Colors.black, fontSize: 16),
maxLines: 2,
),
)
],
SizedBox(height: 10),
Text.rich(
TextSpan(
text: "\$${cart.product.price}",
style: TextStyle(
fontWeight: FontWeight.w600, color: kPrimaryColor),
children: [
TextSpan(
text: " x${cart.numOfItem}",
style: Theme.of(context).textTheme.bodyText1),
],
),
)
],
),
)
],
);
Expand Down
Binary file removed splash_intro.gif
Binary file not shown.