Skip to content

Network image anas #8

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
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
6 changes: 3 additions & 3 deletions example/android/build.gradle
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
buildscript {
ext.kotlin_version = '1.6.10'
ext.kotlin_version = '1.8.21'
repositories {
google()
mavenCentral()
}

dependencies {
classpath 'com.android.tools.build:gradle:4.1.0'
classpath 'com.android.tools.build:gradle:7.2.0'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
}
}
Expand All @@ -26,6 +26,6 @@ subprojects {
project.evaluationDependsOn(':app')
}

task clean(type: Delete) {
tasks.register("clean", Delete) {
delete rootProject.buildDir
}
2 changes: 1 addition & 1 deletion example/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-6.7-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-7.4-all.zip
14 changes: 8 additions & 6 deletions example/lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ class HomePage extends StatelessWidget {
'We can suppose that this is a brief for the newly provided feature. Checkout the CTA below.\n',
children: [
TextSpan(
text: 'Tap for more information about $_featureName. 🍇',
text: 'Tap for more information about $_featureName. 🍇✨😃🎂',
style: const TextStyle(
decoration: TextDecoration.underline,
color: Colors.lightBlueAccent,
Expand Down Expand Up @@ -88,9 +88,10 @@ class HomePage extends StatelessWidget {
opaque: false,
pageBuilder: (_, __, ___) => IntroductionStoryScreen(
isDismissible: true,
isAsset: false,
stories: [
Story(
imagePath: 'assets/image_1.png',
imagePath: 'https://images.unsplash.com/photo-1551024601-bec78aea704b?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=464&q=80',
name: _featureName,
title: 'Online Grocery Shopping',
description:
Expand All @@ -99,23 +100,24 @@ class HomePage extends StatelessWidget {
'fresh daily for you to devour.',
),
Story(
imagePath: 'assets/image_2.png',
imagePath: 'https://images.unsplash.com/photo-1551024506-0bccd828d307?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=464&q=80',
title: 'Premium quality is our aim',
name: _featureName,

description:
'Categories: Fresh Fruits, Vegetables & Herbs, Bakery & '
'Pastry, Cheese, Dairy & Deli, Desserts & Sweets.',
decoration: const StoryDecoration(lightMode: false),

),
Story(
imagePath: 'assets/image_3.png',
imagePath: 'https://images.unsplash.com/photo-1563805042-7684c019e1cb?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=327&q=80',
title: 'We deliver fresh and fast',
name: _featureName,

description:
'Your gourmet groceries are just a click away! Pick your '
'favourite groceries and receive your order '
'within 15 minutes.',
decoration: const StoryDecoration(lightMode: false),
),
],
),
Expand Down
Loading