Skip to content

Commit eecce8f

Browse files
Merge pull request #40 from ionicfirebaseapp/master
master pull
2 parents 43624f9 + 30117b9 commit eecce8f

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

51 files changed

+1178
-1883
lines changed

CHANGELOG.md

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,26 @@
11
# Changelog
22

3+
4+
## 1.2.2 - 2020-10-02
5+
6+
### Fixed
7+
* [GFButton] width related issue.
8+
* [GFRadio] minor issue.
9+
* [GFRadioListTile] selection issue
10+
* [GFCheckbox] minor issue.
11+
* [GFCheckboxListTile] selection issue
12+
* Many more minor improvements.
13+
14+
### Added
15+
* few new compoenents added
16+
- GFBottomSheet
17+
- GFIntroScreen
18+
- GFAnimation
19+
- GFBorder
20+
- GFStickyHeader
21+
22+
23+
324
## 1.1.3 - 2020-07-30
425

526
### Fixed
@@ -9,7 +30,7 @@
930
* [GFCarousel] active page indicator is not being updated without "onPageChanged" #139
1031
* [GFTabBar] Docs say about isScrollable which is not supported #132
1132

12-
### Update
33+
### Added
1334
* couple of compoenents (WIP)
1435
- GFCheckboxTile
1536
- GFRadioTile

example/pubspec.lock

Lines changed: 22 additions & 22 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.1"
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.1"
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.3"
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.1"
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.1"
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.3"
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.2.0-nullsafety.1"
6767
flutter:
6868
dependency: "direct main"
6969
description: flutter
@@ -92,28 +92,28 @@ packages:
9292
path: ".."
9393
relative: true
9494
source: path
95-
version: "1.1.3"
95+
version: "1.2.2"
9696
matcher:
9797
dependency: transitive
9898
description:
9999
name: matcher
100100
url: "https://pub.dartlang.org"
101101
source: hosted
102-
version: "0.12.8"
102+
version: "0.12.10-nullsafety.1"
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.3"
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.1"
117117
path_drawing:
118118
dependency: transitive
119119
description:
@@ -148,7 +148,7 @@ packages:
148148
name: plugin_platform_interface
149149
url: "https://pub.dartlang.org"
150150
source: hosted
151-
version: "1.0.2"
151+
version: "1.0.1"
152152
pub_semver:
153153
dependency: transitive
154154
description:
@@ -167,49 +167,49 @@ packages:
167167
name: source_span
168168
url: "https://pub.dartlang.org"
169169
source: hosted
170-
version: "1.7.0"
170+
version: "1.8.0-nullsafety.2"
171171
stack_trace:
172172
dependency: transitive
173173
description:
174174
name: stack_trace
175175
url: "https://pub.dartlang.org"
176176
source: hosted
177-
version: "1.9.5"
177+
version: "1.10.0-nullsafety.1"
178178
stream_channel:
179179
dependency: transitive
180180
description:
181181
name: stream_channel
182182
url: "https://pub.dartlang.org"
183183
source: hosted
184-
version: "2.0.0"
184+
version: "2.1.0-nullsafety.1"
185185
string_scanner:
186186
dependency: transitive
187187
description:
188188
name: string_scanner
189189
url: "https://pub.dartlang.org"
190190
source: hosted
191-
version: "1.0.5"
191+
version: "1.1.0-nullsafety.1"
192192
term_glyph:
193193
dependency: transitive
194194
description:
195195
name: term_glyph
196196
url: "https://pub.dartlang.org"
197197
source: hosted
198-
version: "1.1.0"
198+
version: "1.2.0-nullsafety.1"
199199
test_api:
200200
dependency: transitive
201201
description:
202202
name: test_api
203203
url: "https://pub.dartlang.org"
204204
source: hosted
205-
version: "0.2.17"
205+
version: "0.2.19-nullsafety.2"
206206
typed_data:
207207
dependency: transitive
208208
description:
209209
name: typed_data
210210
url: "https://pub.dartlang.org"
211211
source: hosted
212-
version: "1.2.0"
212+
version: "1.3.0-nullsafety.3"
213213
url_launcher:
214214
dependency: "direct main"
215215
description:
@@ -251,7 +251,7 @@ packages:
251251
name: vector_math
252252
url: "https://pub.dartlang.org"
253253
source: hosted
254-
version: "2.0.8"
254+
version: "2.1.0-nullsafety.3"
255255
xml:
256256
dependency: transitive
257257
description:
@@ -260,5 +260,5 @@ packages:
260260
source: hosted
261261
version: "4.2.0"
262262
sdks:
263-
dart: ">=2.9.0-14.0.dev <3.0.0"
264-
flutter: ">=1.18.0-6.0.pre <2.0.0"
263+
dart: ">=2.10.0-110 <2.11.0"
264+
flutter: ">=1.18.0-6.0.pre <2.0.0"

lib/components/accordian/gf_accordian.dart

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ import 'package:flutter/material.dart';
22
import 'package:getwidget/getwidget.dart';
33

44
class GFAccordion extends StatefulWidget {
5+
/// An accordion is used to show (and hide) content. Use [showAccordion] to hide & show the accordion content.
56
const GFAccordion(
67
{Key key,
78
this.titleChild,

lib/components/animation/gf_animation.dart

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ import 'package:flutter/material.dart';
22
import 'package:getwidget/types/gf_animation_type.dart';
33

44
class GFAnimation extends StatefulWidget {
5+
/// Wrap any widget with [GFAnimation] to animate your widget. see [GFAnimationType] for types of animations.
56
const GFAnimation({
67
Key key,
78
this.duration,
@@ -37,13 +38,13 @@ class GFAnimation extends StatefulWidget {
3738
/// The duration for animation to perform
3839
final Duration duration;
3940

40-
/// The duration for animation to perform
41+
/// The duration for reverse animation to perform
4142
final Duration reverseDuration;
4243

43-
/// Defines how the animated widget is aligned within the Animation.
44+
/// Defines how the animated widget is aligned during Animation.
4445
final Alignment alignment;
4546

46-
/// Defines how the animated widget is aligned(after the onTap) within the Animation.
47+
/// Defines how the animated widget is aligned(after the onTap) during Animation.
4748
final Alignment activeAlignment;
4849

4950
/// The child of type [Widget] to display animation effect.
@@ -52,19 +53,20 @@ class GFAnimation extends StatefulWidget {
5253
/// Determines the animation curve. Defaults to [Curves.linear].
5354
final Curve curve;
5455

55-
///type of [GFAnimation] which takes the type ie, align, size, container, rotateTransition, scaleTransition, slideTransition, and textStyle for the [GFAnimation]
56+
///type of [GFAnimation] which takes the type ie, align, size, container,
57+
/// rotateTransition, scaleTransition, slideTransition, and textStyle for the [GFAnimation]
5658
final GFAnimationType type;
5759

5860
/// defines [AnimatedContainer] initial width
5961
final double width;
6062

61-
/// defines the width of [AnimatedContainer] upto which it can extend during animation
63+
/// defines the width of [AnimatedContainer] upto which it can expand during animation
6264
final double changedWidth;
6365

6466
/// defines [AnimatedContainer] initial height
6567
final double height;
6668

67-
/// defines the height of [AnimatedContainer] upto which it can extend during animation
69+
/// defines the height of [AnimatedContainer] upto which it can expand during animation
6870
final double changedHeight;
6971

7072
/// defines the color of [AnimatedContainer] when onTap triggers
@@ -82,42 +84,40 @@ class GFAnimation extends StatefulWidget {
8284
/// Called when the user taps the [child]
8385
final Function onTap;
8486

85-
/// Here's an illustration of the [RotationTransition] widget, with it's [turnsAnimation]
86-
/// animated by a stuckValue set to animate
87+
/// For GFAnimationType.rotateTransition, customized turns animation can be added to [RotationTransition] widget
8788
final Animation<double> turnsAnimation;
8889

89-
/// Here's an illustration of the [ScaleTransition] widget, with it's [scaleAnimation]
90-
/// animated by a [CurvedAnimation] set to [Curves.linear]
90+
/// For GFAnimationType.scaleTransition, customized scale animation can be added to [ScaleTransition] widget
9191
final Animation<double> scaleAnimation;
9292

93-
/// controls animation
93+
/// Type of [AnimationController], its a controller of an animation.
9494
final AnimationController controller;
9595

96-
///direction of the [AnimatedDefaultTextStyle] TextDirection for [ltr,rtl]
96+
/// Defines direction of the [AnimatedDefaultTextStyle] TextDirection i.e [ltr,rtl]
9797
final TextDirection textDirection;
9898

99-
/// [ScaleTransition], which animates the scale of a widget.
99+
/// For GFAnimationType.slideTransition, which animates the position of a widget.
100100
final Animation<Offset> slidePosition;
101101

102-
/// defines the [TextStyle] of [AnimatedDefaultTextStyle]
102+
/// Defines the [TextStyle] of [AnimatedDefaultTextStyle]
103103
final TextStyle style;
104104

105-
/// defines the [TextAlign] of [AnimatedDefaultTextStyle]
105+
/// Defines the [TextAlign] of [AnimatedDefaultTextStyle]
106106
final TextAlign textAlign;
107107

108-
/// defines the [TextOverflow] of [AnimatedDefaultTextStyle]
108+
/// Defines the [TextOverflow] of [AnimatedDefaultTextStyle]
109109
final TextOverflow textOverflow;
110110

111-
/// defines the [maxLines] of [AnimatedDefaultTextStyle]
111+
/// Defines the [maxLines] of [AnimatedDefaultTextStyle]
112112
final int maxLines;
113113

114-
/// defines the [TextWidthBasis] of [AnimatedDefaultTextStyle]
114+
/// Defines the [TextWidthBasis] of [AnimatedDefaultTextStyle]
115115
final TextWidthBasis textWidthBasis;
116116

117-
/// defines the [fontSize] of [AnimatedDefaultTextStyle]
117+
/// Defines the [fontSize] of [AnimatedDefaultTextStyle]
118118
final double fontSize;
119119

120-
/// defines the [fontWeight] of [AnimatedDefaultTextStyle]
120+
/// Defines the [fontWeight] of [AnimatedDefaultTextStyle]
121121
final FontWeight fontWeight;
122122

123123
@override

lib/components/badge/gf_button_badge.dart

Lines changed: 0 additions & 50 deletions
Original file line numberDiff line numberDiff line change
@@ -272,53 +272,3 @@ class _GFButtonBadgeState extends State<GFButtonBadge> {
272272
),
273273
);
274274
}
275-
276-
//
277-
//class GFButtonBadge extends GFButton {
278-
//
279-
//
280-
// Widget build(BuildContext context) => ConstrainedBox(
281-
// constraints: const BoxConstraints(
282-
// minHeight: 26,
283-
// minWidth: 98,
284-
// ),
285-
// child: Container(
286-
// height: size,
287-
// child: GFButton(
288-
// onPressed: onPressed,
289-
// onHighlightChanged: onHighlightChanged,
290-
// textStyle: textStyle,
291-
// boxShadow: boxShadow,
292-
// buttonBoxShadow: badgeBoxShadow,
293-
// focusColor: focusColor,
294-
// hoverColor: hoverColor,
295-
// highlightColor: highlightColor,
296-
// splashColor: splashColor,
297-
// elevation: elevation,
298-
// focusElevation: focusElevation,
299-
// hoverElevation: hoverElevation,
300-
// highlightElevation: highlightElevation,
301-
// disabledElevation: disabledElevation,
302-
// constraints: constraints,
303-
// borderShape: borderShape,
304-
// animationDuration: animationDuration,
305-
// clipBehavior: clipBehavior,
306-
// focusNode: focusNode,
307-
// autofocus: autofocus,
308-
// type: type,
309-
// shape: shape,
310-
// color: color,
311-
// textColor: textColor,
312-
// position: position,
313-
// size: size,
314-
// borderSide: borderSide,
315-
// text: text,
316-
// icon: icon,
317-
// blockButton: blockButton,
318-
// fullWidthButton: fullWidthButton,
319-
// disabledColor: disabledTextColor,
320-
// disabledTextColor: disabledColor,
321-
// ),
322-
// ),
323-
// );
324-
//}

lib/components/badge/gf_icon_badge.dart

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,6 @@ class _GFIconBadgeState extends State<GFIconBadge> {
3434
children: <Widget>[
3535
widget.child ?? Container(),
3636
Positioned(
37-
// top: 2,
38-
// left: 22,
39-
right: 0,
4037
child: widget.counterChild ?? Container(),
4138
),
4239
],

0 commit comments

Comments
 (0)