Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
104 commits
Select commit Hold shift + click to select a range
584ae33
GFSlidable added
deepikahr Sep 3, 2020
9fe2cac
slideable size box added
deepikahr Sep 3, 2020
086b170
GFBottomsheet component created
deepikahr Sep 4, 2020
934dabe
expanable bottomsheet
deepikahr Sep 8, 2020
e730033
add expandable content
deepikahr Sep 8, 2020
c81b60d
gfbottomsheet basic model is completed
deepikahr Sep 9, 2020
ca447a0
drag bottomsheet smoothness added
deepikahr Sep 9, 2020
40a0724
bottomsheet chnages
deepikahr Sep 9, 2020
1098f8a
added custom intro bottom page slider
Sep 10, 2020
7c20721
added animation builder
deepikahr Sep 10, 2020
3ed19f2
completed bottom view for gf intro slider
Sep 10, 2020
633f85c
added intro & slide page in GFIntroScreen
Sep 10, 2020
83316fd
code refactored
Sep 10, 2020
a7a3023
GFBottomSheet testing done
deepikahr Sep 10, 2020
e210d25
GFBottomSheet completed
deepikahr Sep 10, 2020
c4d8403
Merge pull request #35 from ionicfirebaseapp/master
deepikahr Sep 10, 2020
5f9b4b1
Merge branch 'master' of https://github.com/deepikahr/getflutter into…
deepikahr Sep 10, 2020
d31f20d
GFBottomsheet completed
deepikahr Sep 10, 2020
5059c5d
issues fixed
deepikahr Sep 10, 2020
07dcb4d
Merge pull request #36 from deepikahr/GFBottomsheet
deepikahr Sep 10, 2020
426b74b
adding expandable body content
deepikahr Sep 11, 2020
34a9182
added GFIntroScreen fields
Sep 11, 2020
cdd6eb6
streambuilder added for body
deepikahr Sep 11, 2020
0f21bb3
basic expandable content added
deepikahr Sep 11, 2020
5094cb2
added three types full,half,rounded in GFIntroScreen
Sep 11, 2020
84f0f14
executed two commands format & analyze
Sep 11, 2020
5db9829
Update pubspec.lock
Sandipkakadiya Sep 11, 2020
467f16c
Merge pull request #174 from shravyackm/master
Sandipkakadiya Sep 11, 2020
6c5a649
Merge branch 'master' into master
Sandipkakadiya Sep 11, 2020
d69bdb4
Merge pull request #37 from ionicfirebaseapp/master
deepikahr Sep 11, 2020
c3fbcc1
expanded content body implemented
deepikahr Sep 11, 2020
77774e6
Merge branch 'master' of https://github.com/deepikahr/getflutter into…
deepikahr Sep 11, 2020
31215f3
expandable content body added
deepikahr Sep 11, 2020
2b2e20e
Merge pull request #177 from deepikahr/GFBottomsheet
Sandipkakadiya Sep 11, 2020
bb8e118
Merge branch 'master' into patch-3
Sandipkakadiya Sep 11, 2020
38c9f30
Merge pull request #178 from Sandipkakadiya/patch-3
Sandipkakadiya Sep 11, 2020
6669b94
expandable body added
deepikahr Sep 11, 2020
aa8ab66
Merge pull request #179 from deepikahr/GFBottomsheet
Sandipkakadiya Sep 11, 2020
f5c3ad5
issues fixed
deepikahr Sep 11, 2020
82b87ce
Merge pull request #180 from deepikahr/GFBottomsheet
Sandipkakadiya Sep 11, 2020
e0a427d
local changes
Sep 11, 2020
583c787
flutter issues fixed
deepikahr Sep 11, 2020
aee3617
Merge pull request #181 from deepikahr/GFBottomsheet
Sandipkakadiya Sep 11, 2020
73a00ea
extra features added, enableExpandable, animationDuration, stickyHead…
deepikahr Sep 14, 2020
a5dd791
Merge pull request #38 from ionicfirebaseapp/master
deepikahr Sep 14, 2020
4881416
Merge branch 'master' of https://github.com/deepikahr/getflutter into…
deepikahr Sep 14, 2020
a0c13ba
GFBottomsheet component completed
deepikahr Sep 14, 2020
89b59f3
Merge pull request #39 from deepikahr/GFBottomsheet
deepikahr Sep 14, 2020
d78126a
Merge pull request #182 from deepikahr/GFBottomsheet
Sandipkakadiya Sep 14, 2020
53987f1
code refactoring
Sep 16, 2020
cc34387
working on Intro Screen bubble type
Sep 16, 2020
6f076cb
Merge branch 'master' of https://github.com/ionicfirebaseapp/getwidge…
Sep 16, 2020
2ba031e
did format & analyze folders
Sep 16, 2020
63f2f68
fixed issues in GFAnimation component size & alignment
Sep 16, 2020
221a51b
added bubble type in gfIntroScreen
Sep 16, 2020
1e7f879
added comment fields description for GFIntroScreen component
Sep 16, 2020
52afb15
removed shape in intro slide widget for better user experience
Sep 17, 2020
d20e9d4
removed bubble type code
Sep 18, 2020
b9fe47e
alignment feature added
deepikahr Sep 21, 2020
6971700
alignment offset changes
deepikahr Sep 21, 2020
40bdbff
alignment axis changes
deepikahr Sep 21, 2020
cc0a2bf
alignment offset issue fixed
deepikahr Sep 21, 2020
b897e87
enable overlap with alignment offset issue fixed
deepikahr Sep 21, 2020
050a12d
gfstickyheader complted
deepikahr Sep 23, 2020
2406a45
added render gf sticky header
deepikahr Sep 23, 2020
5f1b49a
Merge pull request #183 from srinivasPaidisetti/GFIntroScreen
Sandipkakadiya Sep 24, 2020
4708bf5
stickyContentPosition feature added
deepikahr Sep 24, 2020
354639c
analyze issues fixed
deepikahr Sep 24, 2020
01cf2c8
added comments
deepikahr Sep 24, 2020
c5da8b5
changes done
deepikahr Sep 24, 2020
94de6d2
gfStickyHeader component completed
deepikahr Sep 24, 2020
d9347a9
Merge pull request #40 from ionicfirebaseapp/master
deepikahr Sep 24, 2020
e8859ae
Merge branch 'master' of https://github.com/deepikahr/getflutter into…
deepikahr Sep 24, 2020
e99fedb
GFStickyHeader component completed and tested
deepikahr Sep 24, 2020
955f728
Merge pull request #41 from deepikahr/GFStickyHeader
deepikahr Sep 24, 2020
1a10380
readme.md issues fixed
deepikahr Sep 25, 2020
cdf4ffb
changes done
deepikahr Sep 25, 2020
50c75d5
Merge pull request #42 from deepikahr/GFStickyHeader
deepikahr Sep 25, 2020
17897d7
changes done in gfintro screen and gf radio
deepikahr Sep 25, 2020
e94364f
Merge pull request #187 from deepikahr/master
Sandipkakadiya Sep 28, 2020
2d05612
add description in gf animation
deepikahr Sep 28, 2020
4ada99f
structure changes done in GFIntroScreen
deepikahr Sep 29, 2020
549e56a
structure changes done in GFIntro bottom navigation
deepikahr Sep 29, 2020
ab674d2
material design added to GFIntro bottom navigation
deepikahr Sep 29, 2020
1cecfef
tested GFIntro bottom navigation
deepikahr Sep 29, 2020
86a27b1
gfintroslide example testing
deepikahr Sep 29, 2020
7a6099f
combine gf introscreen with navigation bar completed
deepikahr Sep 29, 2020
08f33d6
changed namings
deepikahr Sep 29, 2020
974fa05
description added for gfintroscreen and gfintroscreennavigationbar
deepikahr Sep 29, 2020
746a1d5
GFIntroScreen and GFIntroScreenBottomNavigationBar completed
deepikahr Sep 29, 2020
b097790
Merge pull request #188 from deepikahr/GFIntroScreen
deepikahr Sep 29, 2020
6be00a3
Revert "Gf intro screen completed"
deepikahr Sep 29, 2020
3a97200
Merge pull request #189 from ionicfirebaseapp/revert-188-GFIntroScreen
deepikahr Sep 29, 2020
bfffb8e
GFIntroScreen and GFIntroScreenBottomNavigationBar completed
deepikahr Sep 29, 2020
72de8b2
Merge pull request #43 from deepikahr/GFIntroScreen
deepikahr Sep 29, 2020
b98c8c8
Revert "Revert "Gf intro screen completed""
Sandipkakadiya Sep 30, 2020
12d644d
Merge pull request #190 from ionicfirebaseapp/revert-189-revert-188-G…
Sandipkakadiya Sep 30, 2020
16eceb6
issues fixed in few components
deepikahr Sep 30, 2020
09151ca
description added
deepikahr Sep 30, 2020
e47d116
gfintroscreen issues fixed
deepikahr Oct 1, 2020
5ff2eae
issues fixed
deepikahr Oct 1, 2020
ff04123
issues fixed
deepikahr Oct 1, 2020
72b5ca8
Merge pull request #44 from deepikahr/GFIntroScreen
deepikahr Oct 1, 2020
3fae141
Merge pull request #191 from deepikahr/master
Sandipkakadiya Oct 2, 2020
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
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
[![pub package](https://img.shields.io/pub/v/getwidget.svg)](https://pub.dartlang.org/packages/getwidget) [![Build Status](https://travis-ci.org/ionicfirebaseapp/getwidget.svg?branch=master)](https://travis-ci.com/ionicfirebaseapp/getwidget) [![Open Source Love](https://badges.frapsoft.com/os/v1/open-source.svg?v=102)](https://opensource.org/licenses/MIT) [![License](https://img.shields.io/badge/license-MIT-orange.svg)](https://github.com/ionicfirebaseapp/getwidget/blob/master/LICENSE) [![Twitter Follow](https://img.shields.io/twitter/follow/getwidgetdev.svg?style=social)](https://twitter.com/getwidgetdev)


<p align="center">
<a href="https://docs.getwidget.dev/" target="_blank">
<img src="https://ik.imagekit.io/ionicfirebaseapp/logo.black_iOBoLWdj2I.png" alt="GetWidget">
Expand Down Expand Up @@ -28,6 +27,7 @@
</p>



## Quick start

Read the [Getting started page](https://docs.getwidget.dev)
Expand Down
265 changes: 264 additions & 1 deletion example/pubspec.lock
Original file line number Diff line number Diff line change
@@ -1 +1,264 @@

# Generated by pub
# See https://dart.dev/tools/pub/glossary#lockfile
packages:
async:
dependency: transitive
description:
name: async
url: "https://pub.dartlang.org"
source: hosted
version: "2.4.2"
boolean_selector:
dependency: transitive
description:
name: boolean_selector
url: "https://pub.dartlang.org"
source: hosted
version: "2.0.0"
characters:
dependency: transitive
description:
name: characters
url: "https://pub.dartlang.org"
source: hosted
version: "1.0.0"
charcode:
dependency: transitive
description:
name: charcode
url: "https://pub.dartlang.org"
source: hosted
version: "1.1.3"
clock:
dependency: transitive
description:
name: clock
url: "https://pub.dartlang.org"
source: hosted
version: "1.0.1"
collection:
dependency: transitive
description:
name: collection
url: "https://pub.dartlang.org"
source: hosted
version: "1.14.13"
convert:
dependency: transitive
description:
name: convert
url: "https://pub.dartlang.org"
source: hosted
version: "2.1.1"
cupertino_icons:
dependency: "direct main"
description:
name: cupertino_icons
url: "https://pub.dartlang.org"
source: hosted
version: "0.1.3"
fake_async:
dependency: transitive
description:
name: fake_async
url: "https://pub.dartlang.org"
source: hosted
version: "1.1.0"
flutter:
dependency: "direct main"
description: flutter
source: sdk
version: "0.0.0"
flutter_svg:
dependency: "direct main"
description:
name: flutter_svg
url: "https://pub.dartlang.org"
source: hosted
version: "0.18.1"
flutter_test:
dependency: "direct dev"
description: flutter
source: sdk
version: "0.0.0"
flutter_web_plugins:
dependency: transitive
description: flutter
source: sdk
version: "0.0.0"
getwidget:
dependency: "direct main"
description:
path: ".."
relative: true
source: path
version: "1.1.3"
matcher:
dependency: transitive
description:
name: matcher
url: "https://pub.dartlang.org"
source: hosted
version: "0.12.8"
meta:
dependency: transitive
description:
name: meta
url: "https://pub.dartlang.org"
source: hosted
version: "1.1.8"
path:
dependency: transitive
description:
name: path
url: "https://pub.dartlang.org"
source: hosted
version: "1.7.0"
path_drawing:
dependency: transitive
description:
name: path_drawing
url: "https://pub.dartlang.org"
source: hosted
version: "0.4.1+1"
path_parsing:
dependency: transitive
description:
name: path_parsing
url: "https://pub.dartlang.org"
source: hosted
version: "0.1.4"
petitparser:
dependency: transitive
description:
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"
plugin_platform_interface:
dependency: transitive
description:
name: plugin_platform_interface
url: "https://pub.dartlang.org"
source: hosted
version: "1.0.2"
pub_semver:
dependency: transitive
description:
name: pub_semver
url: "https://pub.dartlang.org"
source: hosted
version: "1.4.4"
sky_engine:
dependency: transitive
description: flutter
source: sdk
version: "0.0.99"
source_span:
dependency: transitive
description:
name: source_span
url: "https://pub.dartlang.org"
source: hosted
version: "1.7.0"
stack_trace:
dependency: transitive
description:
name: stack_trace
url: "https://pub.dartlang.org"
source: hosted
version: "1.9.5"
stream_channel:
dependency: transitive
description:
name: stream_channel
url: "https://pub.dartlang.org"
source: hosted
version: "2.0.0"
string_scanner:
dependency: transitive
description:
name: string_scanner
url: "https://pub.dartlang.org"
source: hosted
version: "1.0.5"
term_glyph:
dependency: transitive
description:
name: term_glyph
url: "https://pub.dartlang.org"
source: hosted
version: "1.1.0"
test_api:
dependency: transitive
description:
name: test_api
url: "https://pub.dartlang.org"
source: hosted
version: "0.2.17"
typed_data:
dependency: transitive
description:
name: typed_data
url: "https://pub.dartlang.org"
source: hosted
version: "1.2.0"
url_launcher:
dependency: "direct main"
description:
name: url_launcher
url: "https://pub.dartlang.org"
source: hosted
version: "5.5.3"
url_launcher_linux:
dependency: transitive
description:
name: url_launcher_linux
url: "https://pub.dartlang.org"
source: hosted
version: "0.0.1+1"
url_launcher_macos:
dependency: transitive
description:
name: url_launcher_macos
url: "https://pub.dartlang.org"
source: hosted
version: "0.0.1+7"
url_launcher_platform_interface:
dependency: transitive
description:
name: url_launcher_platform_interface
url: "https://pub.dartlang.org"
source: hosted
version: "1.0.8"
url_launcher_web:
dependency: transitive
description:
name: url_launcher_web
url: "https://pub.dartlang.org"
source: hosted
version: "0.1.3+2"
vector_math:
dependency: transitive
description:
name: vector_math
url: "https://pub.dartlang.org"
source: hosted
version: "2.0.8"
xml:
dependency: transitive
description:
name: xml
url: "https://pub.dartlang.org"
source: hosted
version: "4.2.0"
sdks:
dart: ">=2.9.0-14.0.dev <3.0.0"
flutter: ">=1.18.0-6.0.pre <2.0.0"
6 changes: 3 additions & 3 deletions example/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ dependencies:
sdk: flutter
getwidget:
path: ../
cupertino_icons: ^0.1.2
flutter_svg: ^0.18.0
url_launcher: ^5.4.1
cupertino_icons: ^0.1.3
flutter_svg: ^0.18.1
url_launcher: ^5.5.3

dev_dependencies:
flutter_test:
Expand Down
39 changes: 18 additions & 21 deletions lib/components/accordian/gf_accordian.dart
Original file line number Diff line number Diff line change
Expand Up @@ -17,16 +17,14 @@ class GFAccordion extends StatefulWidget {
this.contentPadding = const EdgeInsets.all(10),
this.contentChild,
this.titleBorder = const Border(),
this.contentborder = const Border(),
this.contentBorder = const Border(),
this.margin,
this.showAccordion = false,
this.onToggleCollapsed,
this.titleBorderRadius = const BorderRadius.all(Radius.circular(0)),
this.contentBorderRadius = const BorderRadius.all(Radius.circular(0))})
: super(key: key);

final Function(bool) onToggleCollapsed;

/// controls if the accordion should be collapsed or not making it possible to be controlled from outside
final bool showAccordion;

Expand All @@ -45,10 +43,10 @@ class GFAccordion extends StatefulWidget {
/// type of [Color] or [GFColors] which is used to change the background color of the [GFAccordion] title when it is expanded
final Color expandedTitleBackgroundColor;

///collapsedIcon of type [Widget] which is used to show when the [GFAccordion] is collapsed
/// collapsedIcon of type [Widget] which is used to show when the [GFAccordion] is collapsed
final Widget collapsedIcon;

///expandedIcon of type[Widget] which is used when the [GFAccordion] is expanded
/// expandedIcon of type[Widget] which is used when the [GFAccordion] is expanded
final Widget expandedIcon;

/// text of type [String] is alternative to child. text will get priority over titleChild
Expand All @@ -57,30 +55,33 @@ class GFAccordion extends StatefulWidget {
/// textStyle of type [textStyle] will be applicable to text only and not for the child
final TextStyle textStyle;

///titlePadding of type [EdgeInsets] which is used to set the padding of the [GFAccordion] title
/// titlePadding of type [EdgeInsets] which is used to set the padding of the [GFAccordion] title
final EdgeInsets titlePadding;

///descriptionPadding of type [EdgeInsets] which is used to set the padding of the [GFAccordion] description
/// descriptionPadding of type [EdgeInsets] which is used to set the padding of the [GFAccordion] description
final EdgeInsets contentPadding;

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

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

///titleBorderColor of type [Color] or [GFColors] which is used to change the border color of title
/// titleBorderColor of type [Color] or [GFColors] which is used to change the border color of title
final Border titleBorder;

///contentBorderColor of type [Color] or [GFColors] which is used to change the border color of content
final Border contentborder;
/// contentBorderColor of type [Color] or [GFColors] which is used to change the border color of content
final Border contentBorder;

///titleBorderRadius of type [Radius] which is used to change the border radius of title
/// titleBorderRadius of type [Radius] which is used to change the border radius of title
final BorderRadius titleBorderRadius;

///contentBorderRadius of type [Radius] which is used to change the border radius of content
/// contentBorderRadius of type [Radius] which is used to change the border radius of content
final BorderRadius contentBorderRadius;

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

@override
_GFAccordionState createState() => _GFAccordionState();
}
Expand All @@ -95,14 +96,10 @@ class _GFAccordionState extends State<GFAccordion>
@override
void initState() {
showAccordion = widget.showAccordion;
animationController = AnimationController(
duration: const Duration(seconds: 2),
vsync: this,
);
animationController =
AnimationController(duration: const Duration(seconds: 2), vsync: this);
controller = AnimationController(
vsync: this,
duration: const Duration(milliseconds: 300),
);
duration: const Duration(milliseconds: 300), vsync: this);
offset = Tween(
begin: const Offset(0, -0.06),
end: Offset.zero,
Expand Down Expand Up @@ -156,7 +153,7 @@ class _GFAccordionState extends State<GFAccordion>
? Container(
decoration: BoxDecoration(
borderRadius: widget.contentBorderRadius,
border: widget.contentborder,
border: widget.contentBorder,
color: widget.contentBackgroundColor ?? Colors.white70,
),
width: MediaQuery.of(context).size.width,
Expand Down
Loading