From 35bad034ee759f4253fb59ac16e96ffc95be812e Mon Sep 17 00:00:00 2001 From: deepikahr Date: Sat, 9 May 2020 20:10:55 +0530 Subject: [PATCH 01/11] merge issues fixed --- lib/components/appbar/gf_appbar.dart | 12 ++++++------ lib/components/avatar/gf_avatar.dart | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/lib/components/appbar/gf_appbar.dart b/lib/components/appbar/gf_appbar.dart index 47ecba08..d542ed1d 100644 --- a/lib/components/appbar/gf_appbar.dart +++ b/lib/components/appbar/gf_appbar.dart @@ -321,12 +321,12 @@ class _GFAppBarState extends State { IconThemeData actionsIconTheme = widget.actionsIconTheme ?? appBarTheme.actionsIconTheme ?? overallIconTheme; - TextStyle centerStyle = widget.textTheme?.headline ?? - appBarTheme.textTheme?.headline ?? - theme.primaryTextTheme.headline; - TextStyle sideStyle = widget.textTheme?.body1 ?? - appBarTheme.textTheme?.body1 ?? - theme.primaryTextTheme.body1; + TextStyle centerStyle = widget.textTheme?.headline1 ?? + appBarTheme.textTheme?.headline1 ?? + theme.primaryTextTheme.headline1; + TextStyle sideStyle = widget.textTheme?.bodyText1 ?? + appBarTheme.textTheme?.bodyText1 ?? + theme.primaryTextTheme.bodyText1; if (widget.toolbarOpacity != 1.0) { final double opacity = const Interval( diff --git a/lib/components/avatar/gf_avatar.dart b/lib/components/avatar/gf_avatar.dart index 78ae879f..0e0e3b13 100644 --- a/lib/components/avatar/gf_avatar.dart +++ b/lib/components/avatar/gf_avatar.dart @@ -87,7 +87,7 @@ class GFAvatar extends StatelessWidget { final Color foregroundColor = this.foregroundColor; assert(debugCheckHasMediaQuery(context)); final ThemeData theme = Theme.of(context); - TextStyle textStyle = theme.primaryTextTheme.subtitle.copyWith( + TextStyle textStyle = theme.primaryTextTheme.subtitle1.copyWith( color: foregroundColor, ); Color effectiveBackgroundColor = backgroundColor; From a06403f1fcfc7ce857fca1935fea00738cc38ebb Mon Sep 17 00:00:00 2001 From: wu Date: Fri, 12 Jun 2020 21:19:12 +0800 Subject: [PATCH 02/11] fix page slide activateIndactor not refresh --- lib/components/carousel/gf_carousel.dart | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/components/carousel/gf_carousel.dart b/lib/components/carousel/gf_carousel.dart index b7c08cd0..9f8cd410 100644 --- a/lib/components/carousel/gf_carousel.dart +++ b/lib/components/carousel/gf_carousel.dart @@ -182,7 +182,7 @@ class _GFCarouselState extends State with TickerProviderStateMixin { } Timer getPlayTimer() => Timer.periodic(widget.autoPlayInterval, (_) { - if (widget.autoPlay) { + if (widget.autoPlay && widget.items.length > 1) { widget.pageController.nextPage( duration: widget.autoPlayAnimationDuration, curve: widget.autoPlayCurve); @@ -221,7 +221,7 @@ class _GFCarouselState extends State with TickerProviderStateMixin { } void onPageSlide(int index) { - setState(() => index); + setState(() => currentSlide = index); } int currentSlide; From 4a21c06e2216c1e35d9739577c9c13eed12218e7 Mon Sep 17 00:00:00 2001 From: Navin Sharma Date: Sat, 20 Jun 2020 13:26:59 +0530 Subject: [PATCH 03/11] Update README.md --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 82b5759b..2e584f02 100644 --- a/README.md +++ b/README.md @@ -2,12 +2,12 @@

- + Get Flutter

-[**GetWidget**](https://www.getwidget.dev) is a 100% free Flutter open-source UI library built with Flutter SDK to make Flutter development easier and more joyful than ever. GetWidget has 1000+ pre-build widgets that you can reuse to develop both Flutter mobile app and web app. Our motto is to provide the best Flutter UI library to the Flutter community to speed up their development process and build awesome apps with pre-build Flutter Library Components. +[**GetWidget**](https://docs.getwidget.dev) is a 100% free Flutter open-source UI library built with Flutter SDK to make Flutter development easier and more joyful than ever. GetWidget has 1000+ pre-build widgets that you can reuse to develop both Flutter mobile app and web app. Our motto is to provide the best Flutter UI library to the Flutter community to speed up their development process and build awesome apps with pre-build Flutter Library Components. ## Table of contents @@ -22,7 +22,7 @@ ## Screenshot

- + Get Flutter Screens

From 0348b34b73ebc4ce59cbf1c225e2071fa4a1552e Mon Sep 17 00:00:00 2001 From: Sandip Kakadiya Date: Fri, 26 Jun 2020 14:33:37 +0530 Subject: [PATCH 04/11] update check --- CHANGELOG.md | 10 ++++++++++ example/lib/main_temp.dart | 8 +++----- example/pubspec.lock | 2 +- lib/components/carousel/gf_carousel.dart | 4 +++- lib/components/toast/gf_toast.dart | 17 ++++++++--------- pubspec.yaml | 2 +- 6 files changed, 26 insertions(+), 17 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 4412ccbf..5cbc29d0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,15 @@ # Changelog +## 1.0.11 - 2020-03-11 + +### Fixed +* Resolved issues. + +## 1.0.10 - 2020-03-11 + +### Fixed +* Few minor fixes + ## 1.0.9 - 2020-03-02 ### Fixed diff --git a/example/lib/main_temp.dart b/example/lib/main_temp.dart index ce2b00c3..0af8e323 100644 --- a/example/lib/main_temp.dart +++ b/example/lib/main_temp.dart @@ -253,15 +253,13 @@ class _MyHomePageState extends State mainAxisAlignment: MainAxisAlignment.center, crossAxisAlignment: CrossAxisAlignment.center, children: [ - GFAccordion( - titleChild: Text('fgk'), - contentChild: Text('hhjk'), + titleChild: Text('fgk'), + contentChild: Text('hhjk'), // title: 'GF Accordion', // content: 'GetFlutter is an open source library that comes with pre-build 1000+ UI components.', collapsedIcon: Text('Show'), - expandedIcon: Text('Hide') - ), + expandedIcon: Text('Hide')), // GFFloatingWidget( // child: GFToast( diff --git a/example/pubspec.lock b/example/pubspec.lock index 1d77e6cb..1982704d 100644 --- a/example/pubspec.lock +++ b/example/pubspec.lock @@ -92,7 +92,7 @@ packages: path: ".." relative: true source: path - version: "1.0.9" + version: "1.0.11" image: dependency: transitive description: diff --git a/lib/components/carousel/gf_carousel.dart b/lib/components/carousel/gf_carousel.dart index ad15c954..f9c5e898 100644 --- a/lib/components/carousel/gf_carousel.dart +++ b/lib/components/carousel/gf_carousel.dart @@ -224,7 +224,9 @@ class _GFCarouselState extends State with TickerProviderStateMixin { scrollDirection: widget.scrollDirection, controller: widget.pageController, reverse: widget.reverse, - itemCount: widget.items.length == 1 ? widget.items.length : widget.enableInfiniteScroll ? null : widget.items.length, + itemCount: widget.items.length == 1 + ? widget.items.length + : widget.enableInfiniteScroll ? null : widget.items.length, onPageChanged: (int index) { int currentPage; currentPage = _getRealIndex(index + widget.initialPage, diff --git a/lib/components/toast/gf_toast.dart b/lib/components/toast/gf_toast.dart index ec850b87..7cc8b0fe 100644 --- a/lib/components/toast/gf_toast.dart +++ b/lib/components/toast/gf_toast.dart @@ -19,7 +19,7 @@ class GFToast extends StatefulWidget { this.animationDuration = const Duration(milliseconds: 300), this.duration = const Duration(milliseconds: 300), this.textStyle = const TextStyle(color: Colors.white70), - this. autoDismissDuration= const Duration(milliseconds: 3000), + this.autoDismissDuration = const Duration(milliseconds: 3000), }) : super(key: key); /// child of type [Widget]is alternative to text key. text will get priority over child @@ -52,8 +52,8 @@ class GFToast extends StatefulWidget { ///type of [Duration] which takes the duration of the animation final Duration duration; -///type of [Duration] which takes the duration of the autoDismiss -final Duration autoDismissDuration; + ///type of [Duration] which takes the duration of the autoDismiss + final Duration autoDismissDuration; /// type of [Alignment] used to align the text inside the toast final Alignment alignment; @@ -78,21 +78,20 @@ class _GFToastState extends State with TickerProviderStateMixin { curve: Curves.easeIn, ); - if(mounted) { + if (mounted) { animationController.forward(); fadeanimationController = AnimationController( vsync: this, duration: widget.animationDuration, - ) - ..addListener(() => setState(() {})); + )..addListener(() => setState(() {})); fadeanimation = Tween( begin: 0, end: 1, ).animate(fadeanimationController); Timer(widget.duration, () { - if(mounted){ - fadeanimationController.forward(); - } + if (mounted) { + fadeanimationController.forward(); + } }); fadeanimation = Tween( begin: 1, diff --git a/pubspec.yaml b/pubspec.yaml index 13cc2fbe..cfa3568f 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,6 +1,6 @@ name: getflutter description: GetFlutter is open source libraries that come with pre-build 1000+ UI components. It makes development faster & more enjoyable. You can customize the component as per your need. -version: 1.0.9 +version: 1.0.11 #author: GetFlutter homepage: https://github.com/ionicfirebaseapp/getflutter From 7266626d0d7bb33fa9d1b8a8884cfb55dc569dbd Mon Sep 17 00:00:00 2001 From: Navin Sharma Date: Fri, 26 Jun 2020 15:14:46 +0530 Subject: [PATCH 05/11] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 2e584f02..10fda29b 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -[![Financial Contributors on Open Collective](https://opencollective.com/getflutter/all/badge.svg?label=financial+contributors)](https://opencollective.com/getflutter) [![pub package](https://img.shields.io/pub/v/getflutter.svg)](https://pub.dartlang.org/packages/getflutter) [![Build Status](https://travis-ci.org/ionicfirebaseapp/getflutter.svg?branch=master)](https://travis-ci.com/ionicfirebaseapp/getflutter) [![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) [![Gitter](https://badges.gitter.im/getflutterdev/getflutter.svg)](https://gitter.im/getflutterdev/getflutter) [![Twitter Follow](https://img.shields.io/twitter/follow/getflutterdev.svg?style=social)](https://twitter.com/getwidgetdev) +[![pub package](https://img.shields.io/pub/v/getflutter.svg)](https://pub.dartlang.org/packages/getflutter) [![Build Status](https://travis-ci.org/ionicfirebaseapp/getwidget.svg?branch=master)](https://travis-ci.com/ionicfirebaseapp/getflutter) [![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) [![Gitter](https://badges.gitter.im/getflutterdev/getflutter.svg)](https://gitter.im/getflutterdev/getflutter) [![Twitter Follow](https://img.shields.io/twitter/follow/getwidgetdev.svg?style=social)](https://twitter.com/getwidgetdev)

From b30dad09abaaf6aaf10e5c1fc2b3dc979b5a76a6 Mon Sep 17 00:00:00 2001 From: Navin Sharma Date: Fri, 26 Jun 2020 15:22:33 +0530 Subject: [PATCH 06/11] Update .gitignore --- .gitignore | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitignore b/.gitignore index 67e622db..c7e24955 100644 --- a/.gitignore +++ b/.gitignore @@ -8,6 +8,7 @@ .buildlog/ .history .svn/ +.vscode # IntelliJ related *.iml From 3b694360a44f360553744da001c3bf553888d365 Mon Sep 17 00:00:00 2001 From: Navin Sharma Date: Fri, 26 Jun 2020 15:30:02 +0530 Subject: [PATCH 07/11] Update FUNDING.yml --- .github/FUNDING.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/FUNDING.yml b/.github/FUNDING.yml index f964b4d8..17404633 100644 --- a/.github/FUNDING.yml +++ b/.github/FUNDING.yml @@ -2,7 +2,7 @@ github: # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2] patreon: # Replace with a single Patreon username -open_collective: getflutter +open_collective: getwidget ko_fi: # Replace with a single Ko-fi username tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry From b65193a1446df05716fd6f8f5a6c84659ab14a17 Mon Sep 17 00:00:00 2001 From: Navin Sharma Date: Fri, 26 Jun 2020 18:34:02 +0530 Subject: [PATCH 08/11] Update README.md --- README.md | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/README.md b/README.md index 10fda29b..7f09ce3f 100644 --- a/README.md +++ b/README.md @@ -90,27 +90,27 @@ Instagram: ### Code Contributors This project exists thanks to all the people who contribute. [[Contribute](CONTRIBUTING.md)]. - + ### Financial Contributors -Become a financial contributor and help us sustain our community. [[Contribute](https://opencollective.com/getflutter/contribute)] +Become a financial contributor and help us sustain our community. [[Contribute](https://opencollective.com/getwidget/contribute)] #### Individuals - + #### Organizations -Support this project with your organization. Your logo will show up here with a link to your website. [[Contribute](https://opencollective.com/getflutter/contribute)] - - - - - - - - - - - +Support this project with your organization. Your logo will show up here with a link to your website. [[Contribute](https://opencollective.com/getwidget/contribute)] + + + + + + + + + + + From 4d760cce9a9e3772f78e6a4ee30dce77e99d5c16 Mon Sep 17 00:00:00 2001 From: Navin Sharma Date: Fri, 26 Jun 2020 18:36:30 +0530 Subject: [PATCH 09/11] Update README.md --- README.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 7f09ce3f..3109a98e 100644 --- a/README.md +++ b/README.md @@ -1,13 +1,13 @@ -[![pub package](https://img.shields.io/pub/v/getflutter.svg)](https://pub.dartlang.org/packages/getflutter) [![Build Status](https://travis-ci.org/ionicfirebaseapp/getwidget.svg?branch=master)](https://travis-ci.com/ionicfirebaseapp/getflutter) [![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) [![Gitter](https://badges.gitter.im/getflutterdev/getflutter.svg)](https://gitter.im/getflutterdev/getflutter) [![Twitter Follow](https://img.shields.io/twitter/follow/getwidgetdev.svg?style=social)](https://twitter.com/getwidgetdev) +[![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)

- - Get Flutter + + Get Widget

-[**GetWidget**](https://docs.getwidget.dev) is a 100% free Flutter open-source UI library built with Flutter SDK to make Flutter development easier and more joyful than ever. GetWidget has 1000+ pre-build widgets that you can reuse to develop both Flutter mobile app and web app. Our motto is to provide the best Flutter UI library to the Flutter community to speed up their development process and build awesome apps with pre-build Flutter Library Components. +[**GetWidget**](https://www.getwidget.dev) is a 100% free Flutter open-source UI library built with Flutter SDK to make Flutter development easier and more joyful than ever. GetWidget has 1000+ pre-build widgets that you can reuse to develop both Flutter mobile app and web app. Our motto is to provide the best Flutter UI library to the Flutter community to speed up their development process and build awesome apps with pre-build Flutter Library Components. ## Table of contents @@ -57,13 +57,13 @@ we have launched the library with the following components : GetWidget is **100% free** and **open source**. We encourage and support an active, healthy community that accepts contributions from the public – including you. There are a couple of ways in which you can contribute to the growing community of `getwidget`. - * Pick up any issue marked with ["good first issue"](https://github.com/ionicfirebaseapp/getflutter/issues?q=is%3Aopen+is%3Aissue+label%3A%22good+first+issue%22) + * Pick up any issue marked with ["good first issue"](https://github.com/ionicfirebaseapp/getwidget/issues?q=is%3Aopen+is%3Aissue+label%3A%22good+first+issue%22) * Fix a bug * Write and improve some **documentation**. Documentation is very critical to us. We would appreciate help in adding multiple languages to our docs. * If you are a developer, feel free to check out the source and submit pull requests. * Dig into [**CONTRIBUTING.MD**](CONTRIBUTING.md), which covers submitting bugs, requesting new features, preparing your code for a pull request, etc. * Please don't forget to **like**, **follow**, and **star our repo**! Join our growing [community](http://forum.getflutter.dev) to keep up to date with the latest GetWidget development. - * Not sure what to work on? [**We've got lots ideas.**](https://roadmap.getflutter.dev) + ## Documentation From 49523a025d4da91d0ef4766cd482c26d0666095c Mon Sep 17 00:00:00 2001 From: Sandip Kakadiya Date: Fri, 26 Jun 2020 18:46:34 +0530 Subject: [PATCH 10/11] final check, getwidget 1.1.0 release --- .gitignore | 3 - CHANGELOG.md | 25 + README.md | 8 +- analysis_options.yaml | 3 - example/lib/main.dart | 2 +- example/lib/main_temp.dart | 449 +++++++++--------- example/pubspec.lock | 4 +- example/pubspec.yaml | 2 +- lib/components/accordian/gf_accordian.dart | 2 +- lib/components/alert/gf_alert.dart | 2 +- lib/components/appbar/gf_appbar.dart | 2 +- lib/components/avatar/gf_avatar.dart | 2 +- lib/components/badge/gf_badge.dart | 2 +- lib/components/badge/gf_button_badge.dart | 2 +- lib/components/badge/gf_icon_badge.dart | 2 +- lib/components/button/gf_button.dart | 4 +- lib/components/button/gf_button_bar.dart | 2 +- lib/components/button/gf_icon_button.dart | 2 +- lib/components/button/gf_social_button.dart | 2 +- lib/components/card/gf_card.dart | 2 +- lib/components/checkbox/gf_checkbox.dart | 2 +- .../gf_checkbox_list_tile.dart | 2 +- lib/components/drawer/gf_drawer_header.dart | 2 +- .../floating_widget/gf_floating_widget.dart | 2 +- lib/components/list_tile/gf_list_tile.dart | 2 +- lib/components/loader/gf_loader.dart | 2 +- .../progress_bar/gf_progress_bar.dart | 2 +- .../radiobutton/gf_radio_button.dart | 2 +- lib/components/rating/gf_rating.dart | 2 +- lib/components/search_bar/gf_search_bar.dart | 2 +- lib/components/shimmer/gf_shimmer.dart | 2 +- lib/components/tabs/gf_segment_tabs.dart | 2 +- lib/components/tabs/gf_tabbar.dart | 2 +- lib/components/tabs/gf_tabbar_view.dart | 2 +- lib/components/tabs/gf_tabs.dart | 2 +- lib/components/toast/gf_toast.dart | 2 +- lib/components/toggle/gf_toggle.dart | 2 +- lib/components/typography/gf_typography.dart | 2 +- lib/getflutter.dart | 3 - lib/getwidget.dart | 72 +-- pubspec.yaml | 5 +- 41 files changed, 325 insertions(+), 313 deletions(-) delete mode 100644 lib/getflutter.dart diff --git a/.gitignore b/.gitignore index dd1f659c..746658ee 100644 --- a/.gitignore +++ b/.gitignore @@ -30,9 +30,6 @@ .pub/ build/ web/ -getflutter-app-kit -getflutter-web-kit -getflutter_app getwidget-app-kit getwidget-web-kit getwidget_app diff --git a/CHANGELOG.md b/CHANGELOG.md index 5cbc29d0..20676d1a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,15 +1,37 @@ # Changelog +## 1.1.1 - 2020-06-26 + +### Added +* added new components + - GFCheckbox + - GFRadio + +### Update +* Changed name to GetWidget + +### Fixed +* Many minor issues fixed + + + + ## 1.0.11 - 2020-03-11 ### Fixed * Resolved issues. + + + ## 1.0.10 - 2020-03-11 ### Fixed * Few minor fixes + + + ## 1.0.9 - 2020-03-02 ### Fixed @@ -19,6 +41,9 @@ * added new component - GFShimmer + + + ## 1.0.8 - 2020-02-18 ### Fixed diff --git a/README.md b/README.md index 5e9228ff..275095e8 100644 --- a/README.md +++ b/README.md @@ -57,13 +57,13 @@ we have launched the library with the following components : GetWidget is **100% free** and **open source**. We encourage and support an active, healthy community that accepts contributions from the public – including you. There are a couple of ways in which you can contribute to the growing community of `getwidget`. - * Pick up any issue marked with ["good first issue"](https://github.com/ionicfirebaseapp/getwidget/issues?q=is%3Aopen+is%3Aissue+label%3A%22good+first+issue%22) + * Pick up any issue marked with ["good first issue"](https://github.com/ionicfirebaseapp/getflutter/issues?q=is%3Aopen+is%3Aissue+label%3A%22good+first+issue%22) * Fix a bug * Write and improve some **documentation**. Documentation is very critical to us. We would appreciate help in adding multiple languages to our docs. * If you are a developer, feel free to check out the source and submit pull requests. * Dig into [**CONTRIBUTING.MD**](CONTRIBUTING.md), which covers submitting bugs, requesting new features, preparing your code for a pull request, etc. - * Please don't forget to **like**, **follow**, and **star our repo**! Join our growing [community](http://forum.getwidget.dev) to keep up to date with the latest GetWidget development. - * Not sure what to work on? [**We've got lots ideas.**](https://roadmap.getwidget.dev) + * Please don't forget to **like**, **follow**, and **star our repo**! Join our growing [community](http://forum.getflutter.dev) to keep up to date with the latest GetWidget development. + * Not sure what to work on? [**We've got lots ideas.**](https://roadmap.getflutter.dev) ## Documentation @@ -113,4 +113,4 @@ Support this project with your organization. Your logo will show up here with a - + \ No newline at end of file diff --git a/analysis_options.yaml b/analysis_options.yaml index 5b189aa6..070fe4ce 100644 --- a/analysis_options.yaml +++ b/analysis_options.yaml @@ -1,9 +1,6 @@ analyzer: exclude: - example - - getflutter_app - - getflutter-app-kit - - getflutter-web-kit - getwidget_app - getwidget-app-kit - getwidget-web-kit diff --git a/example/lib/main.dart b/example/lib/main.dart index e71e7ab7..cc029e6a 100644 --- a/example/lib/main.dart +++ b/example/lib/main.dart @@ -1,7 +1,7 @@ import 'package:flutter/material.dart'; import 'package:flutter_svg/flutter_svg.dart'; import 'package:url_launcher/url_launcher.dart'; -import 'package:getflutter/getwidget.dart'; +import 'package:getwidget/getwidget.dart'; void main() => runApp(MyApp()); diff --git a/example/lib/main_temp.dart b/example/lib/main_temp.dart index e2549c4a..4f9c2780 100644 --- a/example/lib/main_temp.dart +++ b/example/lib/main_temp.dart @@ -1,6 +1,6 @@ import 'package:flutter/material.dart'; import 'package:flutter/widgets.dart'; -import 'package:getflutter/getwidget.dart'; +import 'package:getwidget/getwidget.dart'; final List imageList = [ 'https://cdn.pixabay.com/photo/2017/12/03/18/04/christmas-balls-2995437_960_720.jpg', @@ -40,8 +40,6 @@ class _MyHomePageState extends State with SingleTickerProviderStateMixin { TabController tabController; final _ratingController = TextEditingController(); - double _rating = 3; - double _userRating = 4.5; @override void initState() { @@ -71,113 +69,113 @@ class _MyHomePageState extends State ]; @override - Widget build(BuildContext context) { - final Widget emptyBlock = Padding( - padding: const EdgeInsets.symmetric(horizontal: 16), - child: Row( - crossAxisAlignment: CrossAxisAlignment.start, - children: [ - Container( - width: 54, - height: 46, - color: Colors.white, - ), - const SizedBox(width: 12), - Expanded( - child: Column( - crossAxisAlignment: CrossAxisAlignment.start, - children: [ - Container( - width: double.infinity, - height: 8, - color: Colors.white, - ), - const SizedBox(height: 6), - Container( - width: MediaQuery.of(context).size.width * 0.5, - height: 8, - color: Colors.white, - ), - const SizedBox(height: 6), - Container( - width: MediaQuery.of(context).size.width * 0.25, - height: 8, - color: Colors.white, - ), - ], - ), - ) - ], - ), - ); + Widget build(BuildContext context) => + // final Widget emptyBlock = Padding( + // padding: const EdgeInsets.symmetric(horizontal: 16), + // child: Row( + // crossAxisAlignment: CrossAxisAlignment.start, + // children: [ + // Container( + // width: 54, + // height: 46, + // color: Colors.white, + // ), + // const SizedBox(width: 12), + // Expanded( + // child: Column( + // crossAxisAlignment: CrossAxisAlignment.start, + // children: [ + // Container( + // width: double.infinity, + // height: 8, + // color: Colors.white, + // ), + // const SizedBox(height: 6), + // Container( + // width: MediaQuery.of(context).size.width * 0.5, + // height: 8, + // color: Colors.white, + // ), + // const SizedBox(height: 6), + // Container( + // width: MediaQuery.of(context).size.width * 0.25, + // height: 8, + // color: Colors.white, + // ), + // ], + // ), + // ) + // ], + // ), + // ); - return Scaffold( - drawer: GFDrawer( + Scaffold( + drawer: GFDrawer( // colorFilter: new ColorFilter.mode( // Colors.teal.withOpacity(0.6), BlendMode.DARKen), // backgroundImage: NetworkImage( // "https://cdn.pixabay.com/photo/2017/12/03/18/04/christmas-balls-2995437_960_720.jpg"), - gradient: LinearGradient( - begin: Alignment.topRight, - end: Alignment.bottomLeft, - stops: const [0.1, 0.5, 0.7, 0.9], - colors: [ - Colors.teal[800], - Colors.teal[600], - Colors.teal[400], - Colors.teal[200], - ], - ), - color: Colors.greenAccent, - child: ListView( - padding: EdgeInsets.zero, - children: [ - GFDrawerHeader( - currentAccountPicture: const GFAvatar( - radius: 80, - backgroundImage: NetworkImage( - 'https://cdn.pixabay.com/photo/2017/12/03/18/04/christmas-balls-2995437_960_720.jpg'), - ), - decoration: BoxDecoration( - color: Colors.teal, - ), - otherAccountsPictures: const [ - Image( - image: NetworkImage( - 'https://cdn.pixabay.com/photo/2019/12/20/00/03/road-4707345_960_720.jpg'), - fit: BoxFit.cover, + gradient: LinearGradient( + begin: Alignment.topRight, + end: Alignment.bottomLeft, + stops: const [0.1, 0.5, 0.7, 0.9], + colors: [ + Colors.teal[800], + Colors.teal[600], + Colors.teal[400], + Colors.teal[200], + ], + ), + color: Colors.greenAccent, + child: ListView( + padding: EdgeInsets.zero, + children: [ + GFDrawerHeader( + currentAccountPicture: const GFAvatar( + radius: 80, + backgroundImage: NetworkImage( + 'https://cdn.pixabay.com/photo/2017/12/03/18/04/christmas-balls-2995437_960_720.jpg'), ), - GFAvatar( - child: Text('dcf'), - ) - ], -// closeButton: Text("Close"), - child: Column( - mainAxisAlignment: MainAxisAlignment.start, - crossAxisAlignment: CrossAxisAlignment.start, - children: const [ - Text('user name'), - Text('user@userid.com'), + decoration: BoxDecoration( + color: Colors.teal, + ), + otherAccountsPictures: const [ + Image( + image: NetworkImage( + 'https://cdn.pixabay.com/photo/2019/12/20/00/03/road-4707345_960_720.jpg'), + fit: BoxFit.cover, + ), + GFAvatar( + child: Text('dcf'), + ) ], +// closeButton: Text("Close"), + child: Column( + mainAxisAlignment: MainAxisAlignment.start, + crossAxisAlignment: CrossAxisAlignment.start, + children: const [ + Text('user name'), + Text('user@userid.com'), + ], + ), ), - ), - const ListTile( - title: Text('Item 1'), - onTap: null, - ), - const ListTile( - title: Text('Item 2'), - onTap: null, - ), - ], + const ListTile( + title: Text('Item 1'), + onTap: null, + ), + const ListTile( + title: Text('Item 2'), + onTap: null, + ), + ], + ), ), - ), - appBar: GFAppBar( - backgroundColor: Colors.teal, + appBar: GFAppBar( + backgroundColor: Colors.teal, // centerTitle: true, // leading: GFIconButton(icon: Icon(Icons.directions_bus), onPressed: (){}), - title: const Text('UI Kit'), + title: const Text('UI Kit'), // GFSegmentTabs( // tabController: tabController, // initialIndex: 0, @@ -220,26 +218,26 @@ class _MyHomePageState extends State // fontFamily: 'OpenSansBold', // ), // ), - searchBar: true, + searchBar: true, // searchHintText: "aaaaaaa", // searchHintStyle: TextStyle(fontSize: 18.0, color: Colors.redAccent), // searchStyle: TextStyle(fontSize: 10.0, color: Colors.green), // searchBarColorTheme: Colors.greenAccent, - actions: [ + actions: [ // GFIconButton(icon: Icon(Icons.access_time), onPressed: () {}), - GFIconButton( - icon: Icon( - Icons.favorite, - color: GFColors.WHITE, + GFIconButton( + icon: Icon( + Icons.favorite, + color: GFColors.WHITE, + ), + onPressed: () {}, + type: GFButtonType.transparent, ), - onPressed: () {}, - type: GFButtonType.transparent, - ), - ], - ), + ], + ), // backgroundColor: Colors.blueGrey, - body: + body: // GFTabBarView( // height: 200.0, // controller: tabController, @@ -284,11 +282,11 @@ class _MyHomePageState extends State // ), // ) // ); - SingleChildScrollView( - child: Column( - mainAxisAlignment: MainAxisAlignment.center, - crossAxisAlignment: CrossAxisAlignment.center, - children: [ + SingleChildScrollView( + child: Column( + mainAxisAlignment: MainAxisAlignment.center, + crossAxisAlignment: CrossAxisAlignment.center, + children: [ // GFAccordion( // titleChild: Text('fgk'), // contentChild: Text('hhjk'), @@ -650,11 +648,11 @@ class _MyHomePageState extends State // child: Text("dszndc"), // icon: Icon(Icons.WARNING), // ), - GFButtonBadge( - onPressed: null, - text: "djvhcfdscc", - icon: Icon(Icons.label), - ), + GFButtonBadge( + onPressed: null, + text: 'test button', + icon: Icon(Icons.label), + ), // GFButton( // onPressed: null, // child: Text("gcnjd"), @@ -755,25 +753,25 @@ class _MyHomePageState extends State // icon: Icon(Icons.directions_bike), // ), - GFListTile( + GFListTile( // padding: EdgeInsets.all(30.0), // margin: EdgeInsets.all(50.0), - color: Colors.blueGrey, + color: Colors.blueGrey, // avatar: const GFAvatar( // child: Text('tb'), // ), - title: const Text('title'), + title: const Text('title'), // subTitle: const Text('subtitle'), // description: // const Text('A page view that displays the widget which '), - icon: const Icon(Icons.category), + icon: const Icon(Icons.category), // dividerColor: Colors.blue, // dividerEndIndent: 20.0, // dividerHeight: 2.0, // dividerIndent: 30.0, // dividerThickness: 5.0, // showDivider: false, - ), + ), // GFCard( // title: GFListTile( @@ -840,12 +838,12 @@ class _MyHomePageState extends State // ], // )), - // Image.asset( - // 'lib/assets/food.jpeg', - // fit: BoxFit.cover, - // color: Color(0xff0d69ff).withOpacity(1.0), - // colorBlendMode: BlendMode.softLight, - // ), + // Image.asset( + // 'lib/assets/food.jpeg', + // fit: BoxFit.cover, + // color: Color(0xff0d69ff).withOpacity(1.0), + // colorBlendMode: BlendMode.softLight, + // ), // GFCard( // content: Container( @@ -861,7 +859,7 @@ class _MyHomePageState extends State // ))), // ), - GFButtonBadge( + GFButtonBadge( // boxShadow: BoxShadow( // color: Colors.pink, // blurRadius: 2.0, @@ -869,18 +867,18 @@ class _MyHomePageState extends State // offset: Offset.zero, // ), // badgeBoxShadow: true, - onPressed: () {}, + onPressed: () {}, // position: GFPosition.start, // borderSide: BorderSide(color: Colors.pink, width: 1.0, style: BorderStyle.solid), // borderShape: RoundedRectangleBorder(side: BorderSide(color: Colors.pink, width: 2.0, style: BorderStyle.solid), borderRadius: BorderRadius.zero), - text: 'goodiesdxs', + text: 'goodiesdxs', // color: GFColors.success, - textColor: GFColors.DARK, - shape: GFButtonShape.pills, - type: GFButtonType.outline2x, + textColor: GFColors.DARK, + shape: GFButtonShape.pills, + type: GFButtonType.outline2x, // size: GFSize.small, - icon: GFBadge( - child: Text("12"), + icon: const GFBadge( + child: Text('12'), // color: GFColors.DARK, // shape: GFBadgeShape.circle, // size: GFSize.small, @@ -888,8 +886,8 @@ class _MyHomePageState extends State // borderShape: RoundedRectangleBorder(), // textColor: GFColors.WHITE, // textStyle: TextStyle(fontWeight: FontWeight.w500, fontSize: 8.0), + ), ), - ), // TabBar( // isScrollable: true, @@ -1165,37 +1163,37 @@ class _MyHomePageState extends State // ), // ), - GFCheckbox( - size: GFSize.SMALL, - activebgColor: GFColors.DANGER, - onChanged: (val) { - print('on change val $val'); - }, - value: true, - inactiveIcon: null, - ), + GFCheckbox( + size: GFSize.SMALL, + activebgColor: GFColors.DANGER, + onChanged: (val) { + print('on change val $val'); + }, + value: true, + inactiveIcon: null, + ), - GFRadioButton( - size: GFSize.SMALL, - value: true, - type: GFRadioButtonType.basic, - radioColor: GFColors.SUCCESS, + GFRadioButton( + size: GFSize.SMALL, + value: true, + type: GFRadioButtonType.basic, + radioColor: GFColors.SUCCESS, // activebgColor: GFColors.ALT, // inactivebgColor: GFColors.PRIMARY, // activeBorderColor: GFColors.DANGER, // inactiveBorderColor: GFColors.DARK, - onChanged: (val) { - print('on change val $val'); - }, - activeIcon: const Icon( - Icons.check, - size: 20, - color: GFColors.DARK, - ), + onChanged: (val) { + print('on change val $val'); + }, + activeIcon: const Icon( + Icons.check, + size: 20, + color: GFColors.DARK, + ), // inactiveIcon: const Icon(Icons.close, size: 20, color: GFColors.DARK,), // custombgColor: GFColors.SUCCESS, // groupValue: - ), + ), // const Padding( // padding: EdgeInsets.only(left: 15, top: 30), @@ -1374,69 +1372,69 @@ class _MyHomePageState extends State // ), // ), // - GFCheckboxListTile( - color: GFColors.ALT, - title: Text('title'), - subTitle: Text('subtitle'), + GFCheckboxListTile( + color: GFColors.ALT, + title: const Text('title'), + subTitle: const Text('subtitle'), // titleText: 'sdfg', // subtitleText: 'sdfg', - avatar: GFAvatar( - backgroundColor: GFColors.SUCCESS, - ), - description: Text('description'), - padding: const EdgeInsets.all(16), - margin: const EdgeInsets.all(16), - size: 24, - type: GFCheckboxType.basic, - checkColor: GFColors.WHITE, - activebgColor: GFColors.PRIMARY, - inactivebgColor: GFColors.WHITE, - activeBorderColor: GFColors.WHITE, - inactiveBorderColor: GFColors.DARK, - activeIcon: const Icon( - Icons.check, - size: 20, - color: GFColors.WHITE, - ), - custombgColor: GFColors.SUCCESS, - onChanged: (val) {}, - value: true, - inactiveIcon: Icon( - Icons.close, - color: GFColors.DARK, - size: 16, + avatar: const GFAvatar( + backgroundColor: GFColors.SUCCESS, + ), + description: const Text('description'), + padding: const EdgeInsets.all(16), + margin: const EdgeInsets.all(16), + size: 24, + type: GFCheckboxType.basic, + checkColor: GFColors.WHITE, + activebgColor: GFColors.PRIMARY, + inactivebgColor: GFColors.WHITE, + activeBorderColor: GFColors.WHITE, + inactiveBorderColor: GFColors.DARK, + activeIcon: const Icon( + Icons.check, + size: 20, + color: GFColors.WHITE, + ), + custombgColor: GFColors.SUCCESS, + onChanged: (val) {}, + value: true, + inactiveIcon: const Icon( + Icons.close, + color: GFColors.DARK, + size: 16, + ), ), - ), // - GFCarousel( + GFCarousel( // initialPage: 1, - pagerSize: 12, - activeIndicator: Colors.pink, - passiveIndicator: Colors.pink.withOpacity(0.4), - viewportFraction: 1.0, + pagerSize: 12, + activeIndicator: Colors.pink, + passiveIndicator: Colors.pink.withOpacity(0.4), + viewportFraction: 1.0, // aspectRatio: 1, - autoPlay: true, - enlargeMainPage: true, - pagination: true, - items: imageList - .map((url) => Container( - padding: const EdgeInsets.only(bottom: 16), - margin: const EdgeInsets.all(12), - child: ClipRRect( - borderRadius: - const BorderRadius.all(Radius.circular(5)), - child: Image.network(url, - fit: BoxFit.cover, width: 1000), - ), - )) - .toList(), + autoPlay: true, + enlargeMainPage: true, + pagination: true, + items: imageList + .map((url) => Container( + padding: const EdgeInsets.only(bottom: 16), + margin: const EdgeInsets.all(12), + child: ClipRRect( + borderRadius: + const BorderRadius.all(Radius.circular(5)), + child: Image.network(url, + fit: BoxFit.cover, width: 1000), + ), + )) + .toList(), // onPageChanged: (int index) { // setState(() { // index; // }); // }, - ), + ), // // GFCarousel( @@ -1658,7 +1656,7 @@ class _MyHomePageState extends State // ), // GFAvatar( - // radius: 20.0, + // radius: 20.0, // maxRadius: 50, // child: Text("de"), @@ -1676,14 +1674,14 @@ class _MyHomePageState extends State // borderRadius: BorderRadius.circular(10.0), // ), - GFIconBadge( - child: GFAvatar( - backgroundColor: GFColors.SUCCESS, - ), - counterChild: const GFBadge( - text: '12', + const GFIconBadge( + child: GFAvatar( + backgroundColor: GFColors.SUCCESS, + ), + counterChild: GFBadge( + text: '12', + ), ), - ), // GFIconButton( // onPressed: () {}, @@ -1740,9 +1738,9 @@ class _MyHomePageState extends State //// borderSide: BorderSide(color: Colors.pink, width: 1.0, style: BorderStyle.solid), //// borderShape: RoundedRectangleBorder(side: BorderSide(color: Colors.pink, width: 2.0, style: BorderStyle.solid), borderRadius: BorderRadius.zero), // ), - ], + ], + ), ), - ), // bottomNavigationBar: GFTabBar( // length: 6, // isScrollable: true, @@ -1796,6 +1794,5 @@ class _MyHomePageState extends State //// fontFamily: 'OpenSansBold', //// ), // ), - ); - } + ); } diff --git a/example/pubspec.lock b/example/pubspec.lock index 1982704d..079bd9a7 100644 --- a/example/pubspec.lock +++ b/example/pubspec.lock @@ -86,13 +86,13 @@ packages: description: flutter source: sdk version: "0.0.0" - getflutter: + getwidget: dependency: "direct main" description: path: ".." relative: true source: path - version: "1.0.11" + version: "1.1.1" image: dependency: transitive description: diff --git a/example/pubspec.yaml b/example/pubspec.yaml index 26f31c78..1bda3570 100644 --- a/example/pubspec.yaml +++ b/example/pubspec.yaml @@ -9,7 +9,7 @@ environment: dependencies: flutter: sdk: flutter - getflutter: + getwidget: path: ../ cupertino_icons: ^0.1.2 flutter_svg: ^0.17.1 diff --git a/lib/components/accordian/gf_accordian.dart b/lib/components/accordian/gf_accordian.dart index 0f3562ce..82e0acfa 100644 --- a/lib/components/accordian/gf_accordian.dart +++ b/lib/components/accordian/gf_accordian.dart @@ -1,5 +1,5 @@ import 'package:flutter/material.dart'; -import 'package:getflutter/getwidget.dart'; +import 'package:getwidget/getwidget.dart'; class GFAccordion extends StatefulWidget { const GFAccordion( diff --git a/lib/components/alert/gf_alert.dart b/lib/components/alert/gf_alert.dart index b8cf7ab2..c22306b3 100644 --- a/lib/components/alert/gf_alert.dart +++ b/lib/components/alert/gf_alert.dart @@ -1,6 +1,6 @@ import 'package:flutter/material.dart'; import 'package:flutter/widgets.dart'; -import 'package:getflutter/getwidget.dart'; +import 'package:getwidget/getwidget.dart'; class GFAlert extends StatefulWidget { /// Alert has to be wrap inside the body like [GFFloatingWidget]. See [GFFloatingWidget] diff --git a/lib/components/appbar/gf_appbar.dart b/lib/components/appbar/gf_appbar.dart index d4c7d7ca..d8c6e335 100644 --- a/lib/components/appbar/gf_appbar.dart +++ b/lib/components/appbar/gf_appbar.dart @@ -3,7 +3,7 @@ import 'package:flutter/rendering.dart'; import 'package:flutter/services.dart'; import 'package:flutter/widgets.dart'; import 'package:flutter/material.dart'; -import 'package:getflutter/getwidget.dart'; +import 'package:getwidget/getwidget.dart'; /// An app bar consists of a toolbar and potentially other widgets, such as a /// [GFTabBar][TabBar] and a [FlexibleSpaceBar]. diff --git a/lib/components/avatar/gf_avatar.dart b/lib/components/avatar/gf_avatar.dart index 2e1ef8ae..320c263c 100644 --- a/lib/components/avatar/gf_avatar.dart +++ b/lib/components/avatar/gf_avatar.dart @@ -1,6 +1,6 @@ import 'package:flutter/widgets.dart'; import 'package:flutter/material.dart'; -import 'package:getflutter/getwidget.dart'; +import 'package:getwidget/getwidget.dart'; class GFAvatar extends StatelessWidget { /// Create Avatar of all types i,e, square, circle, standard with different sizes. diff --git a/lib/components/badge/gf_badge.dart b/lib/components/badge/gf_badge.dart index 6a9a3521..f55cc0a4 100644 --- a/lib/components/badge/gf_badge.dart +++ b/lib/components/badge/gf_badge.dart @@ -1,5 +1,5 @@ import 'package:flutter/material.dart'; -import 'package:getflutter/getwidget.dart'; +import 'package:getwidget/getwidget.dart'; class GFBadge extends StatefulWidget { /// Create badges of all types, check out [GFButtonBadge] for button badges and [GFIconBadge] for icon type badges diff --git a/lib/components/badge/gf_button_badge.dart b/lib/components/badge/gf_button_badge.dart index 9fae9248..d198a622 100644 --- a/lib/components/badge/gf_button_badge.dart +++ b/lib/components/badge/gf_button_badge.dart @@ -2,7 +2,7 @@ import 'package:flutter/foundation.dart'; import 'package:flutter/rendering.dart'; import 'package:flutter/widgets.dart'; import 'package:flutter/material.dart'; -import 'package:getflutter/getwidget.dart'; +import 'package:getwidget/getwidget.dart'; class GFButtonBadge extends StatefulWidget { /// Create badges badges of all types. check out [GFIconButton] for icon badges, and [GFBadge] for badges diff --git a/lib/components/badge/gf_icon_badge.dart b/lib/components/badge/gf_icon_badge.dart index 78defc01..c0ec01d7 100644 --- a/lib/components/badge/gf_icon_badge.dart +++ b/lib/components/badge/gf_icon_badge.dart @@ -1,5 +1,5 @@ import 'package:flutter/material.dart'; -import 'package:getflutter/getwidget.dart'; +import 'package:getwidget/getwidget.dart'; class GFIconBadge extends StatefulWidget { /// Create badges of all types, check out [GFBadge] for button badges and [GFIconBadge] for icon badges. diff --git a/lib/components/button/gf_button.dart b/lib/components/button/gf_button.dart index a24749af..7a986ef6 100644 --- a/lib/components/button/gf_button.dart +++ b/lib/components/button/gf_button.dart @@ -4,7 +4,7 @@ //import 'package:flutter/rendering.dart'; //import 'package:flutter/widgets.dart'; //import 'package:flutter/material.dart'; -//import 'package:getflutter/getwidget.dart'; +//import 'package:getwidget/getwidget.dart'; // //class GFButton extends StatefulWidget { // /// Create buttons of all types. check out [GFIconButton] for icon buttons, and [GFBadge] for badges @@ -747,7 +747,7 @@ import 'package:flutter/gestures.dart'; import 'package:flutter/rendering.dart'; import 'package:flutter/widgets.dart'; import 'package:flutter/material.dart'; -import 'package:getflutter/getwidget.dart'; +import 'package:getwidget/getwidget.dart'; class GFButton extends StatefulWidget { /// Create buttons of all types. check out [GFIconButton] for icon buttons, and [GFBadge] for badges diff --git a/lib/components/button/gf_button_bar.dart b/lib/components/button/gf_button_bar.dart index 88f36b0d..eb370b50 100644 --- a/lib/components/button/gf_button_bar.dart +++ b/lib/components/button/gf_button_bar.dart @@ -1,6 +1,6 @@ import 'package:flutter/material.dart'; import 'package:flutter/rendering.dart'; -import 'package:getflutter/getwidget.dart'; +import 'package:getwidget/getwidget.dart'; class GFButtonBar extends StatelessWidget { /// Create buttons bar for all types of buttons. diff --git a/lib/components/button/gf_icon_button.dart b/lib/components/button/gf_icon_button.dart index aa626999..356aabac 100644 --- a/lib/components/button/gf_icon_button.dart +++ b/lib/components/button/gf_icon_button.dart @@ -2,7 +2,7 @@ import 'dart:math' as math; import 'package:flutter/foundation.dart'; import 'package:flutter/widgets.dart'; import 'package:flutter/material.dart'; -import 'package:getflutter/getwidget.dart'; +import 'package:getwidget/getwidget.dart'; class GFIconButton extends StatefulWidget { /// Create icon buttons of all types. check out [GFButton] for buttons diff --git a/lib/components/button/gf_social_button.dart b/lib/components/button/gf_social_button.dart index c66bd0a8..fe077f9d 100644 --- a/lib/components/button/gf_social_button.dart +++ b/lib/components/button/gf_social_button.dart @@ -2,7 +2,7 @@ import 'package:flutter/foundation.dart'; import 'package:flutter/rendering.dart'; import 'package:flutter/widgets.dart'; import 'package:flutter/material.dart'; -import 'package:getflutter/getwidget.dart'; +import 'package:getwidget/getwidget.dart'; class GFSocialButton extends GFButton { /// Create buttons of all types. check out [GFIconButton] for icon buttons, and [GFBadge] for badges diff --git a/lib/components/card/gf_card.dart b/lib/components/card/gf_card.dart index 85a0c8ea..7618807b 100644 --- a/lib/components/card/gf_card.dart +++ b/lib/components/card/gf_card.dart @@ -1,6 +1,6 @@ import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; -import 'package:getflutter/getwidget.dart'; +import 'package:getwidget/getwidget.dart'; /// A material design card. A card has slightly rounded corners and a shadow. /// diff --git a/lib/components/checkbox/gf_checkbox.dart b/lib/components/checkbox/gf_checkbox.dart index da50f239..ada0aa6b 100644 --- a/lib/components/checkbox/gf_checkbox.dart +++ b/lib/components/checkbox/gf_checkbox.dart @@ -1,5 +1,5 @@ import 'package:flutter/material.dart'; -import 'package:getflutter/getwidget.dart'; +import 'package:getwidget/getwidget.dart'; class GFCheckbox extends StatefulWidget { const GFCheckbox({ diff --git a/lib/components/checkboxListTile/gf_checkbox_list_tile.dart b/lib/components/checkboxListTile/gf_checkbox_list_tile.dart index 1377e188..dc401b48 100644 --- a/lib/components/checkboxListTile/gf_checkbox_list_tile.dart +++ b/lib/components/checkboxListTile/gf_checkbox_list_tile.dart @@ -1,5 +1,5 @@ import 'package:flutter/material.dart'; -import 'package:getflutter/getwidget.dart'; +import 'package:getwidget/getwidget.dart'; class GFCheckboxListTile extends StatefulWidget { const GFCheckboxListTile({ diff --git a/lib/components/drawer/gf_drawer_header.dart b/lib/components/drawer/gf_drawer_header.dart index f69045f7..f512c43d 100644 --- a/lib/components/drawer/gf_drawer_header.dart +++ b/lib/components/drawer/gf_drawer_header.dart @@ -1,7 +1,7 @@ import 'package:flutter/widgets.dart'; import 'package:flutter/foundation.dart'; import 'package:flutter/material.dart'; -import 'package:getflutter/getwidget.dart'; +import 'package:getwidget/getwidget.dart'; class GFDrawerHeaderPictures extends StatelessWidget { const GFDrawerHeaderPictures({ diff --git a/lib/components/floating_widget/gf_floating_widget.dart b/lib/components/floating_widget/gf_floating_widget.dart index 7036f213..c72368e4 100644 --- a/lib/components/floating_widget/gf_floating_widget.dart +++ b/lib/components/floating_widget/gf_floating_widget.dart @@ -1,5 +1,5 @@ import 'package:flutter/material.dart'; -import 'package:getflutter/getwidget.dart'; +import 'package:getwidget/getwidget.dart'; class GFFloatingWidget extends StatefulWidget { /// Creates a Floating body can be used to display the quick messages, warning and erros. diff --git a/lib/components/list_tile/gf_list_tile.dart b/lib/components/list_tile/gf_list_tile.dart index 901c666b..d3bcd523 100644 --- a/lib/components/list_tile/gf_list_tile.dart +++ b/lib/components/list_tile/gf_list_tile.dart @@ -1,6 +1,6 @@ import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; -import 'package:getflutter/getwidget.dart'; +import 'package:getwidget/getwidget.dart'; class GFListTile extends StatelessWidget { /// Creates ListTile with leading, title, trailing, image widget for almost every type of ListTile design. diff --git a/lib/components/loader/gf_loader.dart b/lib/components/loader/gf_loader.dart index 03778234..769e6426 100644 --- a/lib/components/loader/gf_loader.dart +++ b/lib/components/loader/gf_loader.dart @@ -1,6 +1,6 @@ import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; -import 'package:getflutter/getwidget.dart'; +import 'package:getwidget/getwidget.dart'; class GFLoader extends StatefulWidget { const GFLoader( diff --git a/lib/components/progress_bar/gf_progress_bar.dart b/lib/components/progress_bar/gf_progress_bar.dart index 9d40941e..cdd8c8e0 100644 --- a/lib/components/progress_bar/gf_progress_bar.dart +++ b/lib/components/progress_bar/gf_progress_bar.dart @@ -1,5 +1,5 @@ import 'package:flutter/material.dart'; -import 'package:getflutter/types/gf_progress_type.dart'; +import 'package:getwidget/getwidget.dart'; class GFProgressBar extends StatefulWidget { GFProgressBar({ diff --git a/lib/components/radiobutton/gf_radio_button.dart b/lib/components/radiobutton/gf_radio_button.dart index 6ffa2010..350215d1 100644 --- a/lib/components/radiobutton/gf_radio_button.dart +++ b/lib/components/radiobutton/gf_radio_button.dart @@ -1,5 +1,5 @@ import 'package:flutter/material.dart'; -import 'package:getflutter/getwidget.dart'; +import 'package:getwidget/getwidget.dart'; class GFRadioButton extends StatefulWidget { const GFRadioButton( diff --git a/lib/components/rating/gf_rating.dart b/lib/components/rating/gf_rating.dart index b3b49477..2af1517b 100644 --- a/lib/components/rating/gf_rating.dart +++ b/lib/components/rating/gf_rating.dart @@ -1,5 +1,5 @@ import 'package:flutter/material.dart'; -import 'package:getflutter/getwidget.dart'; +import 'package:getwidget/getwidget.dart'; typedef RatingChangeCallback = void Function(double rating); diff --git a/lib/components/search_bar/gf_search_bar.dart b/lib/components/search_bar/gf_search_bar.dart index 5a480abd..78b84281 100644 --- a/lib/components/search_bar/gf_search_bar.dart +++ b/lib/components/search_bar/gf_search_bar.dart @@ -1,5 +1,5 @@ import 'package:flutter/material.dart'; -import 'package:getflutter/getwidget.dart'; +import 'package:getwidget/getwidget.dart'; typedef QueryListItemBuilder = Widget Function(T item); typedef OnItemSelected = void Function(T item); diff --git a/lib/components/shimmer/gf_shimmer.dart b/lib/components/shimmer/gf_shimmer.dart index cc699850..623134d8 100644 --- a/lib/components/shimmer/gf_shimmer.dart +++ b/lib/components/shimmer/gf_shimmer.dart @@ -1,6 +1,6 @@ import 'package:flutter/material.dart'; import 'package:flutter/rendering.dart'; -import 'package:getflutter/getwidget.dart'; +import 'package:getwidget/getwidget.dart'; class GFShimmer extends StatefulWidget { const GFShimmer({ diff --git a/lib/components/tabs/gf_segment_tabs.dart b/lib/components/tabs/gf_segment_tabs.dart index d78180a2..1f57d51b 100644 --- a/lib/components/tabs/gf_segment_tabs.dart +++ b/lib/components/tabs/gf_segment_tabs.dart @@ -2,7 +2,7 @@ import 'package:flutter/material.dart'; import 'package:flutter/foundation.dart'; import 'package:flutter/rendering.dart'; import 'package:flutter/widgets.dart'; -import 'package:getflutter/getwidget.dart'; +import 'package:getwidget/getwidget.dart'; /// Creates pills like structured tab bar. See [GFTabBar] /// [GFSegmentTabs] are best used as an alternative for [GFTabBar]. diff --git a/lib/components/tabs/gf_tabbar.dart b/lib/components/tabs/gf_tabbar.dart index 10b470a7..24b22655 100644 --- a/lib/components/tabs/gf_tabbar.dart +++ b/lib/components/tabs/gf_tabbar.dart @@ -2,7 +2,7 @@ import 'package:flutter/gestures.dart'; import 'package:flutter/rendering.dart'; import 'package:flutter/material.dart'; import 'package:flutter/widgets.dart'; -import 'package:getflutter/getwidget.dart'; +import 'package:getwidget/getwidget.dart'; import 'package:flutter/foundation.dart'; /// A material design widget that displays a horizontal row of tabs. diff --git a/lib/components/tabs/gf_tabbar_view.dart b/lib/components/tabs/gf_tabbar_view.dart index 4850541b..b09ae692 100644 --- a/lib/components/tabs/gf_tabbar_view.dart +++ b/lib/components/tabs/gf_tabbar_view.dart @@ -3,7 +3,7 @@ import 'package:flutter/material.dart'; import 'package:flutter/rendering.dart'; import 'package:flutter/widgets.dart'; import 'package:flutter/gestures.dart' show DragStartBehavior; -import 'package:getflutter/getwidget.dart'; +import 'package:getwidget/getwidget.dart'; /// A page view that displays the widget which corresponds to the currently /// selected tab. diff --git a/lib/components/tabs/gf_tabs.dart b/lib/components/tabs/gf_tabs.dart index fd5f59fd..033f8e73 100644 --- a/lib/components/tabs/gf_tabs.dart +++ b/lib/components/tabs/gf_tabs.dart @@ -2,7 +2,7 @@ import 'package:flutter/material.dart'; import 'package:flutter/foundation.dart'; import 'package:flutter/rendering.dart'; import 'package:flutter/widgets.dart'; -import 'package:getflutter/getwidget.dart'; +import 'package:getwidget/getwidget.dart'; class GFTabs extends StatefulWidget { /// Creates a default tab for the given child widget. diff --git a/lib/components/toast/gf_toast.dart b/lib/components/toast/gf_toast.dart index 0a5b4ee7..99309d9d 100644 --- a/lib/components/toast/gf_toast.dart +++ b/lib/components/toast/gf_toast.dart @@ -1,7 +1,7 @@ import 'dart:async'; import 'package:flutter/material.dart'; import 'package:flutter/widgets.dart'; -import 'package:getflutter/getwidget.dart'; +import 'package:getwidget/getwidget.dart'; class GFToast extends StatefulWidget { ///Creates [GFToast] that can be used to display quick warning or error messages. diff --git a/lib/components/toggle/gf_toggle.dart b/lib/components/toggle/gf_toggle.dart index 1cbf7728..1fee30c1 100644 --- a/lib/components/toggle/gf_toggle.dart +++ b/lib/components/toggle/gf_toggle.dart @@ -1,5 +1,5 @@ import 'package:flutter/material.dart'; -import 'package:getflutter/getwidget.dart'; +import 'package:getwidget/getwidget.dart'; /// A toggle button allows the user to change a setting between two states. /// diff --git a/lib/components/typography/gf_typography.dart b/lib/components/typography/gf_typography.dart index ce30c261..9c005587 100644 --- a/lib/components/typography/gf_typography.dart +++ b/lib/components/typography/gf_typography.dart @@ -1,5 +1,5 @@ import 'package:flutter/material.dart'; -import 'package:getflutter/getwidget.dart'; +import 'package:getwidget/getwidget.dart'; class GFTypography extends StatelessWidget { /// Creates simple title with underline. Style of title can be changed using [GFTypographyType] diff --git a/lib/getflutter.dart b/lib/getflutter.dart deleted file mode 100644 index fd226f30..00000000 --- a/lib/getflutter.dart +++ /dev/null @@ -1,3 +0,0 @@ -library getflutter; - -export 'getwidget.dart'; diff --git a/lib/getwidget.dart b/lib/getwidget.dart index 019ba629..ed827ee1 100644 --- a/lib/getwidget.dart +++ b/lib/getwidget.dart @@ -1,41 +1,41 @@ -library getflutter; +library getwidget; //exports components -export 'package:getflutter/components/alert/gf_alert.dart'; -export 'package:getflutter/components/accordian/gf_accordian.dart'; -export 'package:getflutter/components/appbar/gf_appbar.dart'; -export 'package:getflutter/components/avatar/gf_avatar.dart'; -export 'package:getflutter/components/badge/gf_badge.dart'; -export 'package:getflutter/components/badge/gf_button_badge.dart'; -export 'package:getflutter/components/badge/gf_icon_badge.dart'; -export 'package:getflutter/components/button/gf_button.dart'; -export 'package:getflutter/components/button/gf_icon_button.dart'; -export 'package:getflutter/components/button/gf_social_button.dart'; -export 'package:getflutter/components/button/gf_button_bar.dart'; -export 'package:getflutter/components/card/gf_card.dart'; -export 'package:getflutter/components/carousel/gf_carousel.dart'; -export 'package:getflutter/components/carousel/gf_items_carousel.dart'; -export 'package:getflutter/components/drawer/gf_drawer.dart'; -export 'package:getflutter/components/drawer/gf_drawer_header.dart'; -export 'package:getflutter/components/image/gf_image_overlay.dart'; -export 'package:getflutter/components/list_tile/gf_list_tile.dart'; -export 'package:getflutter/components/search_bar/gf_search_bar.dart'; -export 'package:getflutter/components/tabs/gf_tabbar.dart'; -export 'package:getflutter/components/tabs/gf_tabbar_view.dart'; -export 'package:getflutter/components/tabs/gf_tabs.dart'; -export 'package:getflutter/components/tabs/gf_segment_tabs.dart'; -export 'package:getflutter/components/floating_widget/gf_floating_widget.dart'; -export 'package:getflutter/components/toast/gf_toast.dart'; -export 'package:getflutter/components/toggle/gf_toggle.dart'; -export 'package:getflutter/components/typography/gf_typography.dart'; -export 'package:getflutter/components/rating/gf_rating.dart'; -export 'package:getflutter/components/slidable/gf_slidable.dart'; -export 'package:getflutter/components/shimmer/gf_shimmer.dart'; -export 'package:getflutter/components/loader/gf_loader.dart'; -export 'package:getflutter/components/progress_bar/gf_progress_bar.dart'; -export 'package:getflutter/components/checkbox/gf_checkbox.dart'; -export 'package:getflutter/components/checkboxListTile/gf_checkbox_list_tile.dart'; -export 'package:getflutter/components/radiobutton/gf_radio_button.dart'; +export 'package:getwidget/components/alert/gf_alert.dart'; +export 'package:getwidget/components/accordian/gf_accordian.dart'; +export 'package:getwidget/components/appbar/gf_appbar.dart'; +export 'package:getwidget/components/avatar/gf_avatar.dart'; +export 'package:getwidget/components/badge/gf_badge.dart'; +export 'package:getwidget/components/badge/gf_button_badge.dart'; +export 'package:getwidget/components/badge/gf_icon_badge.dart'; +export 'package:getwidget/components/button/gf_button.dart'; +export 'package:getwidget/components/button/gf_icon_button.dart'; +export 'package:getwidget/components/button/gf_social_button.dart'; +export 'package:getwidget/components/button/gf_button_bar.dart'; +export 'package:getwidget/components/card/gf_card.dart'; +export 'package:getwidget/components/carousel/gf_carousel.dart'; +export 'package:getwidget/components/carousel/gf_items_carousel.dart'; +export 'package:getwidget/components/drawer/gf_drawer.dart'; +export 'package:getwidget/components/drawer/gf_drawer_header.dart'; +export 'package:getwidget/components/image/gf_image_overlay.dart'; +export 'package:getwidget/components/list_tile/gf_list_tile.dart'; +export 'package:getwidget/components/search_bar/gf_search_bar.dart'; +export 'package:getwidget/components/tabs/gf_tabbar.dart'; +export 'package:getwidget/components/tabs/gf_tabbar_view.dart'; +export 'package:getwidget/components/tabs/gf_tabs.dart'; +export 'package:getwidget/components/tabs/gf_segment_tabs.dart'; +export 'package:getwidget/components/floating_widget/gf_floating_widget.dart'; +export 'package:getwidget/components/toast/gf_toast.dart'; +export 'package:getwidget/components/toggle/gf_toggle.dart'; +export 'package:getwidget/components/typography/gf_typography.dart'; +export 'package:getwidget/components/rating/gf_rating.dart'; +export 'package:getwidget/components/slidable/gf_slidable.dart'; +export 'package:getwidget/components/shimmer/gf_shimmer.dart'; +export 'package:getwidget/components/loader/gf_loader.dart'; +export 'package:getwidget/components/progress_bar/gf_progress_bar.dart'; +export 'package:getwidget/components/checkbox/gf_checkbox.dart'; +export 'package:getwidget/components/checkboxListTile/gf_checkbox_list_tile.dart'; +export 'package:getwidget/components/radiobutton/gf_radio_button.dart'; // exports shape, color, position, size, types, direction export 'colors/gf_color.dart'; diff --git a/pubspec.yaml b/pubspec.yaml index ed3c7392..8c778268 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,10 +1,9 @@ -name: getflutter +name: getwidget description: GetWidget is open source libraries that come with pre-build 1000+ UI components. It makes development faster & more enjoyable. You can customize the component as per your need. -version: 1.0.11 +version: 1.1.1 homepage: https://github.com/ionicfirebaseapp/getwidget environment: - # sdk: ">=2.1.0 <3.0.0" sdk: ">=2.2.2 <3.0.0" dependencies: From 9c37e2944c376ee4c6308461d3974f7be623f2ca Mon Sep 17 00:00:00 2001 From: Sandip Kakadiya Date: Fri, 26 Jun 2020 19:15:23 +0530 Subject: [PATCH 11/11] readme update --- README.md | 2 +- example/README.md | 36 ++++++++++++++++++------------------ 2 files changed, 19 insertions(+), 19 deletions(-) diff --git a/README.md b/README.md index 4b55e50a..868d7f35 100644 --- a/README.md +++ b/README.md @@ -62,7 +62,7 @@ we have launched the library with the following components : * Write and improve some **documentation**. Documentation is very critical to us. We would appreciate help in adding multiple languages to our docs. * If you are a developer, feel free to check out the source and submit pull requests. * Dig into [**CONTRIBUTING.MD**](CONTRIBUTING.md), which covers submitting bugs, requesting new features, preparing your code for a pull request, etc. - * Please don't forget to **like**, **follow**, and **star our repo**! Join our growing [community](http://forum.getflutter.dev) to keep up to date with the latest GetWidget development. + * Please don't forget to **like**, **follow**, and **star our repo**! Join our growing [community](http://forum.getwidget.dev) to keep up to date with the latest GetWidget development. diff --git a/example/README.md b/example/README.md index 772792fe..868d7f35 100644 --- a/example/README.md +++ b/example/README.md @@ -1,4 +1,4 @@ -[![Financial Contributors on Open Collective](https://opencollective.com/getflutter/all/badge.svg?label=financial+contributors)](https://opencollective.com/getflutter) [![pub package](https://img.shields.io/pub/v/getflutter.svg)](https://pub.dartlang.org/packages/getflutter) [![Build Status](https://travis-ci.org/ionicfirebaseapp/getflutter.svg?branch=master)](https://travis-ci.com/ionicfirebaseapp/getflutter) [![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) [![Gitter](https://badges.gitter.im/getflutterdev/getflutter.svg)](https://gitter.im/getflutterdev/getflutter) [![Twitter Follow](https://img.shields.io/twitter/follow/getflutterdev.svg?style=social)](https://twitter.com/getwidgetdev) +[![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)

@@ -7,7 +7,7 @@

-[**GetWidget**](https://docs.getwidget.dev) is a 100% free Flutter open-source UI library built with Flutter SDK to make Flutter development easier and more joyful than ever. GetWidget has 1000+ pre-build widgets that you can reuse to develop both Flutter mobile app and web app. Our motto is to provide the best Flutter UI library to the Flutter community to speed up their development process and build awesome apps with pre-build Flutter Library Components. +[**GetWidget**](https://www.getwidget.dev) is a 100% free Flutter open-source UI library built with Flutter SDK to make Flutter development easier and more joyful than ever. GetWidget has 1000+ pre-build widgets that you can reuse to develop both Flutter mobile app and web app. Our motto is to provide the best Flutter UI library to the Flutter community to speed up their development process and build awesome apps with pre-build Flutter Library Components. ## Table of contents @@ -63,7 +63,7 @@ we have launched the library with the following components : * If you are a developer, feel free to check out the source and submit pull requests. * Dig into [**CONTRIBUTING.MD**](CONTRIBUTING.md), which covers submitting bugs, requesting new features, preparing your code for a pull request, etc. * Please don't forget to **like**, **follow**, and **star our repo**! Join our growing [community](http://forum.getwidget.dev) to keep up to date with the latest GetWidget development. - * Not sure what to work on? [**We've got lots ideas.**](https://roadmap.getwidget.dev) + ## Documentation @@ -90,27 +90,27 @@ Instagram: ### Code Contributors This project exists thanks to all the people who contribute. [[Contribute](CONTRIBUTING.md)]. - + ### Financial Contributors -Become a financial contributor and help us sustain our community. [[Contribute](https://opencollective.com/getflutter/contribute)] +Become a financial contributor and help us sustain our community. [[Contribute](https://opencollective.com/getwidget/contribute)] #### Individuals - + #### Organizations -Support this project with your organization. Your logo will show up here with a link to your website. [[Contribute](https://opencollective.com/getflutter/contribute)] - - - - - - - - - - - +Support this project with your organization. Your logo will show up here with a link to your website. [[Contribute](https://opencollective.com/getwidget/contribute)] + + + + + + + + + + + \ No newline at end of file