Skip to content

Commit 0200d59

Browse files
committed
Release 2.0.2 version
1 parent 26ba285 commit 0200d59

File tree

5 files changed

+18
-14
lines changed

5 files changed

+18
-14
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,10 @@
44

55
## [0.0.2] - Release
66

7+
## [0.0.1] - Release
8+
- Upgrade to flutter null safe
9+
10+
## [2.0.2] - Release
11+
- Imrpove documentation and format code
12+
713
* Package Upgrade

example/example_app.dart

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,33 +2,33 @@ import 'package:flutter/material.dart';
22
import 'package:flutter_onboarding_screen/OnbordingData.dart';
33
import 'package:flutter_onboarding_screen/flutteronboardingscreens.dart';
44

5-
65
class TestScreen extends StatelessWidget {
76
final List<OnbordingData> list = [
87
OnbordingData(
98
imagePath: "images/pic11.png",
109
title: "Search",
1110
desc:
12-
"Discover restaurants by type of meal, See menus and photos for nearby restaurants and bookmark your favorite places on the go",
11+
"Discover restaurants by type of meal, See menus and photos for nearby restaurants and bookmark your favorite places on the go",
1312
),
1413
OnbordingData(
1514
imagePath: "images/pic12.png",
1615
title: "Order",
1716
desc:
18-
"Best restaurants delivering to your doorstep, Browse menus and build your order in seconds",
17+
"Best restaurants delivering to your doorstep, Browse menus and build your order in seconds",
1918
),
2019
OnbordingData(
2120
imagePath: "images/pic13.png",
2221
title: "Eat",
2322
desc:
24-
"Explore curated lists of top restaurants, cafes, pubs, and bars in Mumbai, based on trends.",
23+
"Explore curated lists of top restaurants, cafes, pubs, and bars in Mumbai, based on trends.",
2524
),
2625
];
2726

2827
@override
2928
Widget build(BuildContext context) {
30-
return IntroScreen(
31-
list, MaterialPageRoute(builder: (context) => TestScreen()),
29+
return IntroScreen(
30+
list,
31+
MaterialPageRoute(builder: (context) => TestScreen()),
3232
);
3333
}
3434
}

lib/OnbordingData.dart

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,14 +28,12 @@ class _OnbordingDataState extends State<OnbordingData> {
2828
Image(
2929
fit: BoxFit.fitWidth,
3030
width: double.infinity,
31-
height: MediaQuery.of(context).size.height*0.40,
31+
height: MediaQuery.of(context).size.height * 0.40,
3232
image: AssetImage(imagePath),
3333
),
34-
3534
SizedBox(
3635
height: 12.0,
3736
),
38-
3937
Flexible(
4038
child: Padding(
4139
padding: const EdgeInsets.symmetric(horizontal: 8.0),

lib/flutteronboardingscreens.dart

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -84,8 +84,8 @@ class IntroScreenState extends State<IntroScreen> {
8484
onPressed: () => lastPage
8585
? null
8686
: widget.skipPage(
87-
context,
88-
),
87+
context,
88+
),
8989
),
9090
Padding(
9191
padding: const EdgeInsets.symmetric(vertical: 16.0),
@@ -108,8 +108,8 @@ class IntroScreenState extends State<IntroScreen> {
108108
onPressed: () => lastPage
109109
? widget.skipPage(context)
110110
: controller.nextPage(
111-
duration: Duration(milliseconds: 300),
112-
curve: Curves.easeIn),
111+
duration: Duration(milliseconds: 300),
112+
curve: Curves.easeIn),
113113
),
114114
],
115115
),

pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: flutter_onboarding_screen
22
description: A flutter package which help developer in creating a onboarding screens of their app.
33

4-
version: 2.0.1
4+
version: 2.0.2
55
homepage: https://github.com/champ96k/flutter-onboarding-screen
66

77
environment:

0 commit comments

Comments
 (0)