Skip to content

Commit 6c90e42

Browse files
vatsaltannaBirjuVachhani
authored andcommitted
:refactor: update example
:refactor: update readme.md
1 parent 55ced45 commit 6c90e42

File tree

5 files changed

+370
-261
lines changed

5 files changed

+370
-261
lines changed

README.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
![alt text](https://github.com/SimformSolutionsPvtLtd/flutter_showcaseview/blob/master/banner.png?raw=true)
2+
3+
14
# ShowCaseView
25

36
[![Build](https://github.com/SimformSolutionsPvtLtd/flutter_showcaseview/workflows/Build/badge.svg?branch=master)](https://github.com/SimformSolutionsPvtLtd/flutter_showcaseview/actions) [![showcaseview](https://img.shields.io/pub/v/showcaseview?label=showcaseview)](https://pub.dev/packages/showcaseview)
@@ -68,6 +71,7 @@ Showcase(
6871
disableAnimation: true,
6972
shapeBorder: CircleBorder(),
7073
showArrow: false,
74+
overlayPadding: EdgeInsets.all(5),
7175
slideDuration: Duration(milliseconds: 1500),
7276
tooltipColor: Colors.blueGrey,
7377
child: ...,
@@ -130,8 +134,8 @@ This project is a starting point for a Dart
130134
a library module containing code that can be shared easily across
131135
multiple Flutter or Dart projects.
132136

133-
For help getting started with Flutter, view our
134-
[online documentation](https://flutter.dev/docs), which offers tutorials,
137+
For help getting started with Flutter, view our
138+
[online documentation](https://flutter.dev/docs), which offers tutorials,
135139
samples, guidance on mobile development, and a full API reference.
136140

137141
<br/>
@@ -144,6 +148,7 @@ samples, guidance on mobile development, and a full API reference.
144148
<td align="center"><a href="https://github.com/DevarshRanpara"><img src="https://avatars.githubusercontent.com/u/26064415?s=100" width="100px;" alt=""/><br /><sub><b>Devarsh Ranpara</b></sub></a></td>
145149
<td align="center"><a href="https://github.com/AnkitPanchal10"><img src="https://avatars.githubusercontent.com/u/38405884?s=100" width="100px;" alt=""/><br /><sub><b>Ankit Panchal</b></sub></a></td>
146150
<td align="center"><a href="https://github.com/Kashifalaliwala"><img src="https://avatars.githubusercontent.com/u/30998350?s=100" width="100px;" alt=""/><br /><sub><b>Kashifa Laliwala</b></sub></a></td>
151+
<td align="center"><a href="https://github.com/vatsaltanna"><img src="https://avatars.githubusercontent.com/u/25323183?s=100" width="100px;" alt=""/><br /><sub><b>Vatsal Tanna</b></sub></a></td>
147152
</tr>
148153
</table>
149154
<br/>

example/assets/simform.png

7.48 KB
Loading

example/lib/detailscreen.dart

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@ class _DetailState extends State<Detail> {
1313
@override
1414
void initState() {
1515
super.initState();
16-
WidgetsBinding.instance!.addPostFrameCallback((_) {
17-
Future.delayed(Duration(milliseconds: 200),
18-
() => ShowCaseWidget.of(myContext!)!.startShowCase([_one]));
19-
});
16+
WidgetsBinding.instance!.addPostFrameCallback(
17+
(_) => Future.delayed(Duration(milliseconds: 200), () {
18+
ShowCaseWidget.of(myContext!)!.startShowCase([_one]);
19+
}));
2020
}
2121

2222
@override

0 commit comments

Comments
 (0)