Giter VIP home page Giter VIP logo

refreshed's Introduction

pub package popularity likes pub points building style: effective dart

Refreshed GetX

This is a refreshed version of GetX, aimed at enhancing the robustness, reliability, and bug-free experience of using GetX for your Flutter projects. We understand that as a newcomer to Flutter and Dart ecosystem, you're eager to learn and create meaningful applications. This refreshed version of GetX is tailored to support your journey from a novice to a proficient developer.

Why Choose Refreshed GetX?

  • Compatibility with Latest Packages: The Refreshed GetX version is fully compatible with the latest versions of Flutter and Dart packages, ensuring seamless integration with your existing projects and compatibility with future updates.

  • Improved Stability: With bug fixes and stability improvements, the refreshed GetX offers a more stable development environment, reducing the chances of encountering unexpected issues.

  • Enhanced Performance: Performance optimization ensures that your application runs smoothly and efficiently, providing a better user experience for your users.

  • Support for Latest Technologies: By supporting the latest Flutter and Dart packages, refreshed GetX enables you to leverage the newest features and functionalities available in the ecosystem.

  • Community-Driven Development: We've listened to feedback from the community and incorporated many suggestions and improvements to make GetX even better.


Changes Made in Package

This README outlines the changes made to the package from its original GetX package to the refreshed version.

Decoupling of get_connect to connectify

One significant change is the decoupling of get_connect to connectify. This alteration aims to streamline the connectivity-related functionalities within the package.

Removal of Animation Classes, Widget, Num, Duration and the responsive Extensions

The animation classes, widget extensions, as well as num and duration extensions, have been removed from this package. Instead, we have integrated the Quickly package, which offers a plethora of utility and extension methods, allowing for faster and more efficient development.

Shift in Focus

Our primary focus has shifted towards enhancing dependency injection, state management, and routing functionalities within the package. These areas are crucial for building robust and scalable applications, and we are committed to improving them further.


Get Started

To get started with the refreshed version of GetX, simply include it as a dependency in your Flutter project and follow the updated documentation to explore its features and capabilities.

For more information about GetX, please visit the original GetX package.

We understand that starting out in Flutter can be challenging, and we're here to support you on your journey. Your feedback and contributions are valuable to us as we strive to make GetX more accessible and useful for developers of all skill levels. Together, let's create amazing Flutter applications with GetX! Happy coding!

Note: As a newcomer to Flutter and Dart ecosystem, your input is invaluable in shaping the future of GetX. Your experiences and insights help us tailor the library to better suit the needs of developers at all skill levels. Don't hesitate to reach out with your questions, suggestions, or ideas for improvement. We're here to help you become a proficient developer with GetX!

refreshed's People

Contributors

aniketkhote avatar dependabot[bot] avatar baghdady92 avatar

Stargazers

WY avatar  avatar  avatar  avatar Eric Maro avatar Himsa Yudhistira avatar Kehinde Alabi avatar  avatar  avatar  avatar Martín Vukovic avatar  avatar Kuba Wichliński avatar ITPEY avatar  avatar  avatar Pankaj Nikam avatar  avatar Nithin Stephen Raphael avatar Luis Ventura avatar  avatar  avatar Shawn avatar Carlos Moises Arevalo avatar TrienSS avatar Tim avatar BenderBlog "SuperBart" Rodriguez avatar  avatar 李金山 avatar Petyo Tsonev avatar coolight avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar Renato Leal avatar  avatar Awais Abbas avatar Eugene T avatar AnonymHK avatar Stefan Kuhlemann avatar Huynh Phan (Phil) avatar Yousuf Omer avatar Diao avatar Nanda Kista Permana avatar sizovsv avatar Kellvem Barbosa avatar loqman avatar Lian Yang avatar  avatar  avatar Sergey Omelchenko avatar Aster avatar Jefri Singh avatar  avatar Aoe avatar

Watchers

Sergey Omelchenko avatar  avatar  avatar sizovsv avatar

refreshed's Issues

Real differences with GetX

Hi, I love this approach and I Hope you can go ahead with this package since original GetX has a very big lack in support and this Is a big problem in modern development environment.
Now, I Hope you can explain in a Little more details what are the differences between this version and the original One:

  • It Is based on GetX 5 or 4.x?
  • how many original issues were resolved?

I Hope also to find some times to support you.
Best regards and thanks a lot for this try!

Calling for Collaboration: Reviving GetX for the Flutter Community

Dear Community,

I want to start by saying that I am not an expert in Flutter or GetX. However, like many of you, I have grown to love GetX for its simplicity and efficiency in state management.

Recently, I've noticed that updates from the GetX maintainers have become scarce. As someone whose projects heavily rely on GetX, this lack of updates and bug fixes has become concerning. Without active maintenance, GetX risks becoming outdated, which could negatively impact our projects.

To address this issue and mitigate the negativity surrounding the package, I've taken some steps. I decoupled GetConnect into Connectify and removed animations and widget extensions. Additionally, I introduced the "quickly" package to handle certain functionalities.

One major challenge I've encountered is the lack of comprehensive API documentation for GetX, which makes it difficult to understand its inner workings fully. Despite this, I'm committed to figuring it out and making improvements where possible.

However, due to my professional commitments, I have limited time to dedicate to this endeavor. Therefore, I'm reaching out to those who share my passion for GetX. I believe that together, we can make GetX better, more efficient, and faster.

I'm open to suggestions, contributions, and collaborations from anyone willing to help. Let's work together to ensure that GetX remains a valuable tool for the Flutter community.

Thank you for your support and dedication.

Futurize with statemixin does not run properly in the onEmpty state

Describe the bug
I used statemixin and futurize but to trigger onEmpty it doesn't work properly. For Widgets that appear in a successful position, onLoading and onError are running properly but onEmpty is not running properly even with the help of change(GetStatus.empty)... Under what conditions is onEmpty triggered? Let's say I have a List of Model, does onEmpty refer to the length of lists = 0 (.isEmpty)?

Futurize (default) method from rx_notifier.dart

Future<void> futurize( Future<T> Function() body, { T? initialData, String? errorMessage, bool useEmpty = true, }) async { final Future<T> Function() compute = body; _value ??= initialData; await compute().then( (T newValue) { if ((newValue == null || newValue._isEmpty()) && useEmpty) { status = GetStatus<T>.loading(); } else { status = GetStatus<T>.success(newValue); } refresh(); }, onError: (Object err) { status = GetStatus<T>.error(errorMessage ?? err.toString()); refresh(); }, ); }

Change to

Future<void> futurize( Future<T> Function() body, { T? initialData, String? errorMessage, }) async { final Future<T> Function() compute = body; _value ??= initialData; await compute().then( (T newValue) { if (newValue == null) { status = GetStatus<T>.loading(); } else { if( newValue!._isEmpty()){ status = GetStatus<T>.empty(); } else { status = GetStatus<T>.success(newValue); } } refresh(); }, onError: (Object err) { status = GetStatus<T>.error(errorMessage ?? err.toString()); refresh(); }, ); }

To Reproduce
I just followed the futurize tutorial on the youtube channel and realized that onEmpty will not be triggered under any circumstances.
https://www.youtube.com/watch?v=5XQkeWy_5Ko

I referenced from the getx issue jonataslaw/getx#2966

Expected behavior
onEmpty will be triggered when the data is retrieved and the data is empty

Screenshots
If applicable, add screenshots to help explain your problem.

Flutter Version:
3.22.0

Refreshed Version:
2.7.0

Describe on which device you found the bug:
IQOO Neo8 Pro, Realme XT, and OPPO F11

Separating the get_connect Module from GetX

Hi, Buddy,

I wonder if it's possible to decouple get_connect just like get_storage.
This would make the entire library more lightweight, and give developers more options.

I am trying to use this package v-2.4.1, but there is an error

The error is as follows:

Because every version of flutter_test from sdk depends on web 0.3.0 and refreshed

=2.3.1 depends on web >=0.4.0 <0.6.0, flutter_test from sdk is incompatible with
refreshed >=2.3.1.
So, because flutter_application_7 depends on both refreshed ^2.4.1 and
flutter_test from sdk, version solving failed.

You can try the following suggestion to make the pubspec resolve:

  • Consider downgrading your constraint on refreshed: flutter pub add refreshed:^1.5.4

The version I am using is as follows:

Flutter 3.16.9 • channel stable • https://github.com/flutter/flutter.git
Framework • revision 41456452f2 (8 weeks ago) • 2024-01-25 10:06:23 -0800
Engine • revision f40e976bed
Tools • Dart 3.2.6 • DevTools 2.28.5


Should I update to the latest version before using this package?

production ready?

Hi, great work by the way and thankyou! I noticed the readme file has changed to remove the 'do not use in production'. Does this mean it is ready for use in production apps?

Lack of documentation

Is your feature request related to a problem? Please describe.
There is no real documentation one can follow to see what are the suggested/best approaches to things - routing, DI, widgets, etc.

Describe the solution you'd like
Simple documentstion briefly explaining individual parts.

Describe alternatives you've considered
API reference cannot be considered as documentation.

Problem in web Navigation in release mode

Hello
There is strange problem I notice in release mode in web

The navigation is not working as in debug

in debug you can navigate through your pages and refresh the page in middle the app continue or restack the layers from inital route which is normal

In release mode
The navigation is working fine
But if you refresh any page in the middle layers you will get page not found error
And its not transfer you back to begining as is debug mode

refreshed-2.6.1/lib/get_navigation/src/routes/get_transition_mixin.dart(415,39): error G75B77105: Member not found

ATTENTION: DO NOT USE THIS FIELD TO ASK SUPPORT QUESTIONS. USE THE PLATFORM CHANNELS FOR THIS. THIS SPACE IS DEDICATED ONLY FOR BUGS DESCRIPTION.
Fill in the template. Issues that do not respect the model will be closed.

Describe the bug
Hi,
refreshed-2.6.1 seem not support for flutter-3.22.0
There are some errors output when flutter run:

refreshed-2.6.1/lib/get_navigation/src/routes/get_transition_mixin.dart(415,39): error G75B77105: Member not found: 'CupertinoRouteTransitionMixin.isPopGestureInProgress'

Reproduction code
NOTE: THIS IS MANDATORY, IF YOUR ISSUE DOES NOT CONTAIN IT, IT WILL BE CLOSED PRELIMINARY

flutter run -d win

To Reproduce
Steps to reproduce the behavior:

  1. flutter run -d win
  2. See error

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Flutter Version:
flutter/3.22

Refreshed Version:
2.6.1

Describe on which device you found the bug:
windows

Minimal reproduce code
flutter run -d win

The getter 'popGestureInProgress' isn't defined for the class 'GetPageRoute<T>'.

Describe the bug
Flutter Projekt can't be compiled with Refreshed 2.6.3 (2.6.2 does work).

../../.pub-cache/hosted/pub.dev/refreshed-2.6.3/lib/get_navigation/src/routes/get_transition_mixin.dart:414:41: Error: The getter 'popGestureInProgress' isn't defined for the class 'GetPageRoute<T>'.
 - 'GetPageRoute' is from 'package:refreshed/get_navigation/src/routes/default_route.dart' ('../../.pub-cache/hosted/pub.dev/refreshed-2.6.3/lib/get_navigation/src/routes/default_route.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'popGestureInProgress'.
    final bool linearTransition = route.popGestureInProgress;
                                        ^^^^^^^^^^^^^^^^^^^^
Target kernel_snapshot failed: Exception

Reproduction code
dependencies:
refreshed: 2.6.3

The code problem seems so be within the refreshed-package.

To Reproduce
Steps to reproduce the behavior:

  1. Compile main.dart in DEBUG

flutter clean did not help

Expected behavior
A running application as with 2.6.2

Version:
Flutter: 3.19.6
Android: 34.0.0
Android Studio: 2023.3

Refreshed Version:
2.6.3

Describe on which device you found the bug:
Same problem on all devices (physical, virtual)

Enhance Your Contribution: Participate in GetX Documentation and Testing

Improve software documentation and testing.
Enhancing the GetX documentation and testing processes.
Your involvement can make a significant difference in addressing common frustrations among users and improving the overall experience with GetX. making GetX a more user-friendly and efficient tool for all.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.