Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
79 commits
Select commit Hold shift + click to select a range
2989b44
test cases added for button
deepikahr Nov 18, 2020
7c7957b
Merge pull request #54 from deepikahr/button_testing
deepikahr Nov 18, 2020
ca5678c
Merge pull request #55 from ionicfirebaseapp/master
deepikahr Nov 18, 2020
25b9ee4
master pull and test cases added for button and shimmer
deepikahr Nov 18, 2020
f4e02c9
Merge pull request #56 from deepikahr/button_testing
deepikahr Nov 18, 2020
67e0f7a
gfavatar , gfimage test cases
sipra-acharya Nov 19, 2020
8d97210
Merge pull request #1 from sipra-acharya/widget_testing
sipra-acharya Nov 19, 2020
000b887
gfcard test cases
sipra-acharya Nov 19, 2020
3369378
Merge pull request #2 from sipra-acharya/widget_testing
sipra-acharya Nov 19, 2020
cf091d9
gfborder test cases
sipra-acharya Nov 19, 2020
c1871e5
Merge pull request #3 from sipra-acharya/widget_testing
sipra-acharya Nov 19, 2020
ef6652a
test cases for buttons, icon buttons, social buttons, shimemr added
deepikahr Nov 19, 2020
39b1b4e
Merge pull request #57 from deepikahr/button_testing
deepikahr Nov 19, 2020
01addcf
badge, button_badge, icon_badge testing completed
deepikahr Nov 20, 2020
90a4c55
text cases for serach bar completed
deepikahr Nov 20, 2020
2d4f681
Merge pull request #58 from deepikahr/badge_testing
deepikahr Nov 20, 2020
e8609b9
gfborder test cases
sipra-acharya Nov 23, 2020
d8ae8c0
gfalert test cases
sipra-acharya Nov 23, 2020
c1eaa22
Merge pull request #4 from sipra-acharya/widget_testing
sipra-acharya Nov 23, 2020
40b4b6d
test cases for appbar added
deepikahr Nov 23, 2020
19134dc
gfrating test cases
sipra-acharya Nov 24, 2020
cf9c2f6
appbar testing completed
deepikahr Nov 24, 2020
2de0b0a
gfrating test cases
sipra-acharya Nov 24, 2020
5cd17c4
Merge pull request #5 from sipra-acharya/widget_testing
sipra-acharya Nov 24, 2020
40ed1ef
appbar testing done
deepikahr Nov 24, 2020
928bed5
Merge pull request #59 from deepikahr/appbar_testing
deepikahr Nov 24, 2020
8917974
gfbottomsheet test cases
sipra-acharya Nov 24, 2020
f13de53
Merge pull request #6 from sipra-acharya/widget_testing
sipra-acharya Nov 24, 2020
a8102c2
ListTile And Carousel TestCase
sunilsbg Nov 24, 2020
69d0969
tabbar testing completed
deepikahr Nov 25, 2020
e681b8c
tabbar, tabbarview, tabs testing completed
deepikahr Nov 26, 2020
b1dfb61
tabs testing completed
deepikahr Nov 27, 2020
22dccba
Merge pull request #60 from deepikahr/tabbar_testing
deepikahr Nov 27, 2020
4ccb4b3
intro screen testing completed
deepikahr Dec 2, 2020
e07916c
Merge pull request #61 from deepikahr/introscreen_testing
deepikahr Dec 2, 2020
f7e6026
Merge pull request #62 from sipra-acharya/master
deepikahr Dec 2, 2020
7e31635
rating testing completed
deepikahr Dec 3, 2020
f179cf7
bottomsheet testing completed
deepikahr Dec 7, 2020
4e7d3ba
bottomsheet testing completed
deepikahr Dec 7, 2020
585f860
Merge pull request #63 from deepikahr/rating_testing
deepikahr Dec 7, 2020
c408186
bottomsheet testing
deepikahr Dec 7, 2020
9caec13
Merge pull request #64 from deepikahr/rating_testing
deepikahr Dec 7, 2020
37c4b36
Merge pull request #65 from sunilmzc/testcase
deepikahr Dec 7, 2020
152f213
listile testing completed
deepikahr Dec 8, 2020
7345edf
Merge pull request #66 from deepikahr/listTile_testing
deepikahr Dec 8, 2020
32a3b71
carousel, items carousel and sticky header testing completed
deepikahr Jan 5, 2021
5c70143
Merge pull request #67 from deepikahr/carousel_testing
deepikahr Jan 5, 2021
d93b4fb
rotation control test done
deepikahr Feb 25, 2021
e3d5e8e
rotate transition, align, size, container animation testing completed
deepikahr Feb 26, 2021
70b1521
animation testing completed
deepikahr Mar 2, 2021
b3b2e46
toggle animation completed
deepikahr Mar 3, 2021
1d3b5d1
Adding required fields to all widgets, which are missing
deepikahr Mar 4, 2021
f3834c8
Merge pull request #68 from deepikahr/animation_test
deepikahr Mar 4, 2021
6491eeb
Adding required fields to all widgets, which are missing
deepikahr Mar 4, 2021
29bbc61
Merge pull request #69 from deepikahr/animation_test
deepikahr Mar 4, 2021
6db1bed
refactoring code to comply with null-safety
deepikahr Mar 5, 2021
73602eb
Merge pull request #70 from deepikahr/animation_test
deepikahr Mar 5, 2021
9ba03b8
halfway done
krishnatejakanchi Mar 5, 2021
64396cd
null-safety migration completed
krishnatejakanchi Mar 8, 2021
ce12a0c
added toggle and dropdown test widgets
deepikahr Mar 8, 2021
5e1091c
changes in card, radio, radio listile, searchbar componenets
deepikahr Mar 9, 2021
b6c4299
Merge pull request #42 from deepikahr/animation_test
Sandipkakadiya Mar 9, 2021
d87cb0e
pubspec version change
Mar 9, 2021
2cb99c9
Merge branch 'master' into review
Sandipkakadiya Mar 9, 2021
44c8cd0
merged
Mar 9, 2021
88ba779
Merge pull request #44 from Sandipkakadiya/review
Sandipkakadiya Mar 9, 2021
b7967a2
added changelog
Mar 9, 2021
ecd2cfc
changelog and version updated
Mar 9, 2021
32c2562
versio and changelog updated
Mar 10, 2021
bdc50b2
Merge pull request #45 from Sandipkakadiya/review
Sandipkakadiya Mar 10, 2021
0a085cc
Merge pull request #72 from Sandipkakadiya/review
deepikahr Mar 10, 2021
bf4e54e
changes in test files
deepikahr Mar 10, 2021
7b799dd
Merge branch 'master' of https://github.com/deepikahr/getflutter into…
deepikahr Mar 10, 2021
c9e3a13
components testing tested and required changes done
deepikahr Mar 11, 2021
1fca4ce
icon_button_test refactored and all test cases tested
deepikahr Mar 17, 2021
955631a
gf_toast timer dispose
krishnatejakanchi Mar 17, 2021
43a4a04
added required test files
krishnatejakanchi Mar 17, 2021
56a0062
Merge pull request #46 from deepikahr/animation_test
Sandipkakadiya Mar 17, 2021
e8dffba
new version published with test cases
Mar 17, 2021
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
11 changes: 11 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,17 @@
# Changelog


## 2.0.1-nullsafety.4 - 2021-03-17

### Added
* Added test cases.

## 2.0.0-nullsafety.3 - 2021-03-09

### Added
* Added nullsafety.


## 1.2.4 - 2020-11-12

### Fixed
Expand Down
86 changes: 43 additions & 43 deletions example/pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -7,42 +7,42 @@ packages:
name: async
url: "https://pub.dartlang.org"
source: hosted
version: "2.5.0-nullsafety.1"
version: "2.5.0"
boolean_selector:
dependency: transitive
description:
name: boolean_selector
url: "https://pub.dartlang.org"
source: hosted
version: "2.1.0-nullsafety.1"
version: "2.1.0"
characters:
dependency: transitive
description:
name: characters
url: "https://pub.dartlang.org"
source: hosted
version: "1.1.0-nullsafety.3"
version: "1.1.0"
charcode:
dependency: transitive
description:
name: charcode
url: "https://pub.dartlang.org"
source: hosted
version: "1.2.0-nullsafety.1"
version: "1.2.0"
clock:
dependency: transitive
description:
name: clock
url: "https://pub.dartlang.org"
source: hosted
version: "1.1.0-nullsafety.1"
version: "1.1.0"
collection:
dependency: transitive
description:
name: collection
url: "https://pub.dartlang.org"
source: hosted
version: "1.15.0-nullsafety.3"
version: "1.15.0"
convert:
dependency: transitive
description:
Expand All @@ -63,7 +63,7 @@ packages:
name: fake_async
url: "https://pub.dartlang.org"
source: hosted
version: "1.2.0-nullsafety.1"
version: "1.2.0"
flutter:
dependency: "direct main"
description: flutter
Expand Down Expand Up @@ -92,28 +92,35 @@ packages:
path: ".."
relative: true
source: path
version: "1.2.4"
version: "2.0.1-nullsafety.4"
js:
dependency: transitive
description:
name: js
url: "https://pub.dartlang.org"
source: hosted
version: "0.6.3"
matcher:
dependency: transitive
description:
name: matcher
url: "https://pub.dartlang.org"
source: hosted
version: "0.12.10-nullsafety.1"
version: "0.12.10"
meta:
dependency: transitive
description:
name: meta
url: "https://pub.dartlang.org"
source: hosted
version: "1.3.0-nullsafety.3"
version: "1.3.0"
path:
dependency: transitive
description:
name: path
url: "https://pub.dartlang.org"
source: hosted
version: "1.8.0-nullsafety.1"
version: "1.8.0"
path_drawing:
dependency: transitive
description:
Expand All @@ -134,28 +141,14 @@ packages:
name: petitparser
url: "https://pub.dartlang.org"
source: hosted
version: "3.0.4"
platform_detect:
dependency: transitive
description:
name: platform_detect
url: "https://pub.dartlang.org"
source: hosted
version: "1.4.0"
version: "3.1.0"
plugin_platform_interface:
dependency: transitive
description:
name: plugin_platform_interface
url: "https://pub.dartlang.org"
source: hosted
version: "1.0.1"
pub_semver:
dependency: transitive
description:
name: pub_semver
url: "https://pub.dartlang.org"
source: hosted
version: "1.4.4"
version: "1.0.3"
sky_engine:
dependency: transitive
description: flutter
Expand All @@ -167,98 +160,105 @@ packages:
name: source_span
url: "https://pub.dartlang.org"
source: hosted
version: "1.8.0-nullsafety.2"
version: "1.8.0"
stack_trace:
dependency: transitive
description:
name: stack_trace
url: "https://pub.dartlang.org"
source: hosted
version: "1.10.0-nullsafety.1"
version: "1.10.0"
stream_channel:
dependency: transitive
description:
name: stream_channel
url: "https://pub.dartlang.org"
source: hosted
version: "2.1.0-nullsafety.1"
version: "2.1.0"
string_scanner:
dependency: transitive
description:
name: string_scanner
url: "https://pub.dartlang.org"
source: hosted
version: "1.1.0-nullsafety.1"
version: "1.1.0"
term_glyph:
dependency: transitive
description:
name: term_glyph
url: "https://pub.dartlang.org"
source: hosted
version: "1.2.0-nullsafety.1"
version: "1.2.0"
test_api:
dependency: transitive
description:
name: test_api
url: "https://pub.dartlang.org"
source: hosted
version: "0.2.19-nullsafety.2"
version: "0.2.19"
typed_data:
dependency: transitive
description:
name: typed_data
url: "https://pub.dartlang.org"
source: hosted
version: "1.3.0-nullsafety.3"
version: "1.3.0"
url_launcher:
dependency: "direct main"
description:
name: url_launcher
url: "https://pub.dartlang.org"
source: hosted
version: "5.5.3"
version: "5.7.10"
url_launcher_linux:
dependency: transitive
description:
name: url_launcher_linux
url: "https://pub.dartlang.org"
source: hosted
version: "0.0.1+1"
version: "0.0.1+4"
url_launcher_macos:
dependency: transitive
description:
name: url_launcher_macos
url: "https://pub.dartlang.org"
source: hosted
version: "0.0.1+7"
version: "0.0.1+9"
url_launcher_platform_interface:
dependency: transitive
description:
name: url_launcher_platform_interface
url: "https://pub.dartlang.org"
source: hosted
version: "1.0.8"
version: "1.0.9"
url_launcher_web:
dependency: transitive
description:
name: url_launcher_web
url: "https://pub.dartlang.org"
source: hosted
version: "0.1.3+2"
version: "0.1.5+3"
url_launcher_windows:
dependency: transitive
description:
name: url_launcher_windows
url: "https://pub.dartlang.org"
source: hosted
version: "0.0.1+3"
vector_math:
dependency: transitive
description:
name: vector_math
url: "https://pub.dartlang.org"
source: hosted
version: "2.1.0-nullsafety.3"
version: "2.1.0"
xml:
dependency: transitive
description:
name: xml
url: "https://pub.dartlang.org"
source: hosted
version: "4.2.0"
version: "4.5.1"
sdks:
dart: ">=2.10.0-110 <2.11.0"
flutter: ">=1.18.0-6.0.pre <2.0.0"
dart: ">=2.12.0 <3.0.0"
flutter: ">=1.22.0"
Original file line number Diff line number Diff line change
Expand Up @@ -4,19 +4,19 @@ import 'package:getwidget/getwidget.dart';
class GFAccordion extends StatefulWidget {
/// An accordion is used to show (and hide) content. Use [showAccordion] to hide & show the accordion content.
const GFAccordion(
{Key key,
this.titleChild,
{Key? key,
this.title,
this.content,
this.titleChild,
this.contentChild,
this.collapsedTitleBackgroundColor = GFColors.WHITE,
this.expandedTitleBackgroundColor = const Color(0xFFE0E0E0),
this.collapsedIcon = const Icon(Icons.keyboard_arrow_down),
this.expandedIcon = const Icon(Icons.keyboard_arrow_up),
this.title,
this.textStyle = const TextStyle(color: Colors.black, fontSize: 16),
this.titlePadding = const EdgeInsets.all(10),
this.contentBackgroundColor,
this.contentPadding = const EdgeInsets.all(10),
this.contentChild,
this.titleBorder = const Border(),
this.contentBorder = const Border(),
this.margin,
Expand All @@ -30,13 +30,13 @@ class GFAccordion extends StatefulWidget {
final bool showAccordion;

/// child of type [Widget]is alternative to title key. title will get priority over titleChild
final Widget titleChild;
final Widget? titleChild;

/// content of type[String] which shows the messages after the [GFAccordion] is expanded
final String content;
final String? content;

/// contentChild of type [Widget]is alternative to content key. content will get priority over contentChild
final Widget contentChild;
final Widget? contentChild;

/// type of [Color] or [GFColors] which is used to change the background color of the [GFAccordion] title when it is collapsed
final Color collapsedTitleBackgroundColor;
Expand All @@ -51,7 +51,7 @@ class GFAccordion extends StatefulWidget {
final Widget expandedIcon;

/// text of type [String] is alternative to child. text will get priority over titleChild
final String title;
final String? title;

/// textStyle of type [textStyle] will be applicable to text only and not for the child
final TextStyle textStyle;
Expand All @@ -63,10 +63,10 @@ class GFAccordion extends StatefulWidget {
final EdgeInsets contentPadding;

/// type of [Color] or [GFColors] which is used to change the background color of the [GFAccordion] description
final Color contentBackgroundColor;
final Color? contentBackgroundColor;

/// margin of type [EdgeInsets] which is used to set the margin of the [GFAccordion]
final EdgeInsets margin;
final EdgeInsets? margin;

/// titleBorderColor of type [Color] or [GFColors] which is used to change the border color of title
final Border titleBorder;
Expand All @@ -81,18 +81,18 @@ class GFAccordion extends StatefulWidget {
final BorderRadius contentBorderRadius;

/// function called when the content body collapsed
final Function(bool) onToggleCollapsed;
final Function(bool)? onToggleCollapsed;

@override
_GFAccordionState createState() => _GFAccordionState();
}

class _GFAccordionState extends State<GFAccordion>
with TickerProviderStateMixin {
AnimationController animationController;
AnimationController controller;
Animation<Offset> offset;
bool showAccordion;
late AnimationController animationController;
late AnimationController controller;
late Animation<Offset> offset;
late bool showAccordion;

@override
void initState() {
Expand Down Expand Up @@ -142,7 +142,7 @@ class _GFAccordionState extends State<GFAccordion>
children: <Widget>[
Expanded(
child: widget.title != null
? Text(widget.title, style: widget.textStyle)
? Text(widget.title!, style: widget.textStyle)
: (widget.titleChild ?? Container()),
),
showAccordion ? widget.expandedIcon : widget.collapsedIcon
Expand All @@ -162,7 +162,7 @@ class _GFAccordionState extends State<GFAccordion>
child: SlideTransition(
position: offset,
child: widget.content != null
? Text(widget.content)
? Text(widget.content!)
: (widget.contentChild ?? Container()),
))
: Container()
Expand All @@ -183,7 +183,7 @@ class _GFAccordionState extends State<GFAccordion>
}
showAccordion = !showAccordion;
if (widget.onToggleCollapsed != null) {
widget.onToggleCollapsed(showAccordion);
widget.onToggleCollapsed!(showAccordion);
}
});
}
Expand Down
Loading