Skip to content

Commit 07dcb4d

Browse files
authored
Merge pull request #36 from deepikahr/GFBottomsheet
Gf bottomsheet completed
2 parents c4d8403 + 5059c5d commit 07dcb4d

File tree

13 files changed

+281
-74
lines changed

13 files changed

+281
-74
lines changed

example/pubspec.lock

Lines changed: 45 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -7,42 +7,42 @@ packages:
77
name: async
88
url: "https://pub.dartlang.org"
99
source: hosted
10-
version: "2.4.2"
10+
version: "2.5.0-nullsafety"
1111
boolean_selector:
1212
dependency: transitive
1313
description:
1414
name: boolean_selector
1515
url: "https://pub.dartlang.org"
1616
source: hosted
17-
version: "2.0.0"
17+
version: "2.1.0-nullsafety"
1818
characters:
1919
dependency: transitive
2020
description:
2121
name: characters
2222
url: "https://pub.dartlang.org"
2323
source: hosted
24-
version: "1.0.0"
24+
version: "1.1.0-nullsafety.2"
2525
charcode:
2626
dependency: transitive
2727
description:
2828
name: charcode
2929
url: "https://pub.dartlang.org"
3030
source: hosted
31-
version: "1.1.3"
31+
version: "1.2.0-nullsafety"
3232
clock:
3333
dependency: transitive
3434
description:
3535
name: clock
3636
url: "https://pub.dartlang.org"
3737
source: hosted
38-
version: "1.0.1"
38+
version: "1.1.0-nullsafety"
3939
collection:
4040
dependency: transitive
4141
description:
4242
name: collection
4343
url: "https://pub.dartlang.org"
4444
source: hosted
45-
version: "1.14.13"
45+
version: "1.15.0-nullsafety.2"
4646
convert:
4747
dependency: transitive
4848
description:
@@ -63,7 +63,7 @@ packages:
6363
name: fake_async
6464
url: "https://pub.dartlang.org"
6565
source: hosted
66-
version: "1.1.0"
66+
version: "1.1.0-nullsafety"
6767
flutter:
6868
dependency: "direct main"
6969
description: flutter
@@ -99,21 +99,21 @@ packages:
9999
name: matcher
100100
url: "https://pub.dartlang.org"
101101
source: hosted
102-
version: "0.12.8"
102+
version: "0.12.10-nullsafety"
103103
meta:
104104
dependency: transitive
105105
description:
106106
name: meta
107107
url: "https://pub.dartlang.org"
108108
source: hosted
109-
version: "1.1.8"
109+
version: "1.3.0-nullsafety.2"
110110
path:
111111
dependency: transitive
112112
description:
113113
name: path
114114
url: "https://pub.dartlang.org"
115115
source: hosted
116-
version: "1.7.0"
116+
version: "1.8.0-nullsafety"
117117
path_drawing:
118118
dependency: transitive
119119
description:
@@ -135,13 +135,27 @@ packages:
135135
url: "https://pub.dartlang.org"
136136
source: hosted
137137
version: "3.0.4"
138+
platform_detect:
139+
dependency: transitive
140+
description:
141+
name: platform_detect
142+
url: "https://pub.dartlang.org"
143+
source: hosted
144+
version: "1.4.0"
138145
plugin_platform_interface:
139146
dependency: transitive
140147
description:
141148
name: plugin_platform_interface
142149
url: "https://pub.dartlang.org"
143150
source: hosted
144-
version: "1.0.1"
151+
version: "1.0.2"
152+
pub_semver:
153+
dependency: transitive
154+
description:
155+
name: pub_semver
156+
url: "https://pub.dartlang.org"
157+
source: hosted
158+
version: "1.4.4"
145159
sky_engine:
146160
dependency: transitive
147161
description: flutter
@@ -153,84 +167,91 @@ packages:
153167
name: source_span
154168
url: "https://pub.dartlang.org"
155169
source: hosted
156-
version: "1.7.0"
170+
version: "1.8.0-nullsafety"
157171
stack_trace:
158172
dependency: transitive
159173
description:
160174
name: stack_trace
161175
url: "https://pub.dartlang.org"
162176
source: hosted
163-
version: "1.9.5"
177+
version: "1.10.0-nullsafety"
164178
stream_channel:
165179
dependency: transitive
166180
description:
167181
name: stream_channel
168182
url: "https://pub.dartlang.org"
169183
source: hosted
170-
version: "2.0.0"
184+
version: "2.1.0-nullsafety"
171185
string_scanner:
172186
dependency: transitive
173187
description:
174188
name: string_scanner
175189
url: "https://pub.dartlang.org"
176190
source: hosted
177-
version: "1.0.5"
191+
version: "1.1.0-nullsafety"
178192
term_glyph:
179193
dependency: transitive
180194
description:
181195
name: term_glyph
182196
url: "https://pub.dartlang.org"
183197
source: hosted
184-
version: "1.1.0"
198+
version: "1.2.0-nullsafety"
185199
test_api:
186200
dependency: transitive
187201
description:
188202
name: test_api
189203
url: "https://pub.dartlang.org"
190204
source: hosted
191-
version: "0.2.17"
205+
version: "0.2.19-nullsafety"
192206
typed_data:
193207
dependency: transitive
194208
description:
195209
name: typed_data
196210
url: "https://pub.dartlang.org"
197211
source: hosted
198-
version: "1.2.0"
212+
version: "1.3.0-nullsafety.2"
199213
url_launcher:
200214
dependency: "direct main"
201215
description:
202216
name: url_launcher
203217
url: "https://pub.dartlang.org"
204218
source: hosted
205-
version: "5.4.1"
219+
version: "5.5.3"
220+
url_launcher_linux:
221+
dependency: transitive
222+
description:
223+
name: url_launcher_linux
224+
url: "https://pub.dartlang.org"
225+
source: hosted
226+
version: "0.0.1+1"
206227
url_launcher_macos:
207228
dependency: transitive
208229
description:
209230
name: url_launcher_macos
210231
url: "https://pub.dartlang.org"
211232
source: hosted
212-
version: "0.0.1+2"
233+
version: "0.0.1+7"
213234
url_launcher_platform_interface:
214235
dependency: transitive
215236
description:
216237
name: url_launcher_platform_interface
217238
url: "https://pub.dartlang.org"
218239
source: hosted
219-
version: "1.0.5"
240+
version: "1.0.8"
220241
url_launcher_web:
221242
dependency: transitive
222243
description:
223244
name: url_launcher_web
224245
url: "https://pub.dartlang.org"
225246
source: hosted
226-
version: "0.1.1"
247+
version: "0.1.3+2"
227248
vector_math:
228249
dependency: transitive
229250
description:
230251
name: vector_math
231252
url: "https://pub.dartlang.org"
232253
source: hosted
233-
version: "2.0.8"
254+
version: "2.1.0-nullsafety.2"
234255
xml:
235256
dependency: transitive
236257
description:
@@ -239,5 +260,5 @@ packages:
239260
source: hosted
240261
version: "4.2.0"
241262
sdks:
242-
dart: ">=2.9.0-14.0.dev <3.0.0"
263+
dart: ">=2.10.0-0.0.dev <2.10.0"
243264
flutter: ">=1.18.0-6.0.pre <2.0.0"

lib/components/accordian/gf_accordian.dart

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,10 +97,8 @@ class _GFAccordionState extends State<GFAccordion>
9797
showAccordion = widget.showAccordion;
9898
animationController = AnimationController(
9999
duration: const Duration(seconds: 2),
100-
vsync: this,
101100
);
102101
controller = AnimationController(
103-
vsync: this,
104102
duration: const Duration(milliseconds: 300),
105103
);
106104
offset = Tween(

lib/components/alert/gf_alert.dart

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,6 @@ class _GFAlertState extends State<GFAlert> with TickerProviderStateMixin {
6868
void initState() {
6969
animationController = AnimationController(
7070
duration: const Duration(milliseconds: 300),
71-
vsync: this,
7271
);
7372
animation = CurvedAnimation(
7473
parent: animationController,

lib/components/animation/gf_animation.dart

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -118,8 +118,7 @@ class _GFAnimationState extends State<GFAnimation>
118118
if (widget.type == GFAnimationType.rotateTransition) {
119119
controller = widget.controller ??
120120
AnimationController(
121-
duration: widget.duration ?? const Duration(seconds: 2),
122-
vsync: this);
121+
duration: widget.duration ?? const Duration(seconds: 2));
123122
animation = widget.turnsAnimation ??
124123
Tween<double>(begin: 0, end: 20).animate(controller);
125124
if (widget.turnsAnimation == null) {
@@ -128,7 +127,6 @@ class _GFAnimationState extends State<GFAnimation>
128127
} else if (widget.type == GFAnimationType.scaleTransition) {
129128
controller = widget.controller ??
130129
AnimationController(
131-
vsync: this,
132130
duration: widget.duration ?? const Duration(seconds: 2));
133131
animation = widget.scaleAnimation ??
134132
CurvedAnimation(
@@ -137,7 +135,6 @@ class _GFAnimationState extends State<GFAnimation>
137135
} else if (widget.type == GFAnimationType.slideTransition) {
138136
controller = AnimationController(
139137
duration: widget.duration ?? const Duration(seconds: 2),
140-
vsync: this,
141138
)..repeat(reverse: true);
142139
offsetAnimation = Tween<Offset>(
143140
begin: Offset.zero,

0 commit comments

Comments
 (0)