flutter_gb_stack_base 2.0.1 copy "flutter_gb_stack_base: ^2.0.1" to clipboard
flutter_gb_stack_base: ^2.0.1 copied to clipboard

A utility package that helps develop application in a Geekbears way. This is also the base of some other packages like authentication and account

2.0.1 #

  • Fix minor issue on json client
  • Deprecate dependencies on json_client and auth_client libs, now they are maintained here

2.0.0 #

  • Upgrade to flutter ">=3.13.0" and sdk: ">=3.0.0 <4.0.0"

1.2.1 #

  • Support customRefreshTokenRequestWrapper on AuthClient

1.2.0 #

  • Refactor on http client:
    • customRefreshTokenRequestBodyFieldsMapper
    • customRefreshTokenRequestBodyMapper

1.1.0 #

  • Upgrade freezed & built_value, get it and other packages

1.0.5 #

  • Support customRefreshTokenCallback on httpClient

1.0.3 #

  • Handle SocketException as InternetConnectionIssueFailure

1.0.2 #

  • Fix minor export issue

1.0.1 #

  • Publishing configurations
  • Minor updates to support async refresh logic

0.8.4 #

  • Update dependencies

0.8.3 #

  • Added 'ActorDependantBlocEventListener'

0.8.2 #

  • Fix Cannot add new events after calling close

0.8.1 #

  • Resolve wrong use of bloc "emitter" after is completed

0.8.0 #

  • Allow null "email" and "firstName" for anonymous ones

0.7.10 #

  • Update auth_http_client dependency

0.7.9 #

  • Added LoadedDataBuilder.wrapper property

0.7.8 #

  • Fix bloc "emit" being called after being dispatch on repoService bloc
  • Improve queryMerge function

0.7.7 #

  • Small change in queryMerge util

0.7.6 #

  • Small improve in actor dependant bloc

0.7.5 #

  • Updated dependencies

0.7.4 #

  • Added queryMerge util

0.7.3 #

  • Small improve in BlocEventListener

0.7.2 #

  • Added BlocEventListener.onlyOnActiveRoute property

0.7.1 #

  • Make RepoServiceBaseImpl.wrapAndHandleHttpBaseRequest to support async callback

0.7.0 #

  • Updated dependencies for flutter 3.3.x

0.6.18 #

  • Added customLogOutput to blocs

0.6.16 #

  • Prevent Bad state: Cannot add new events after calling close On repo service bloc

0.6.15 #

  • Allow async parser on repo service base

0.6.14 #

  • Make LoadedData class const

0.6.13 #

  • Added FailuresGroup.uniqueMessage

0.6.12 #

  • Added FailuresGroup utility
  • Added request property to ServerFailures & Exceptions

0.6.10 #

  • Added RepoServiceEventHandlerFn

0.6.9 #

  • Small improves in User model
  • Make LoadedDataBuilder animation optional
  • Fixes in LoadedDataBuilder

0.6.7 #

  • Improves logging
  • Make some fields of LoadedDataBuilder optional

0.6.6 #

  • Add userName getter to User entity

0.6.3 #

  • Improve server exception handling
  • Allow to override textContentType default header in [RepoServiceBaseImpl]
  • Improves in SeverException class
  • Improves in SeverFailures class

0.6.2 #

  • Disable ListenableBloc event logs by default But support flag and [logFilter] properties

0.6.1 #

  • Support FutureOr in: UriMapperFunction RequestMapperFunction for RepoServiceConfiguration this will allow the user to use async code in their implementation

0.6.0 #

  • Update auth_http_client auth_http_client dependency
  • Make possible to recycle defaultHttpClient

0.4.2 #

  • Fixed exception in actor_dependant_bloc Future already completed

0.4.1 #

  • Make ActorDependantBloc extends from ActorDependantBloc

0.4.0 #

  • Breaking change BlocEventListener & RepoServiceBlocListener now pass the context with the event

0.3.6 #

  • Updated auth_http_client dependency

0.3.5 #

  • Added AppEnvironment.sValues
  • Minor changes

0.3.4 #

  • Fix dispatchOnDependant method on ActorDependantBloc class

0.3.3 #

  • Added support for key on RepoServiceBloc executor event

0.3.0 #

  • Provide bloc 'add' function in ActorDependantDefinition
  • This introduces breaking changes,
    • since now you need to specify DependantBlocEvent Type for each generic constructor in ActorDependantDefinition
    • GroupActions have been renamed to GroupEvents

0.2.10 #

  • Small fixes in ActorDependantBloc when removing subscriptions

0.2.9 #

  • Replace .forEach to for in

0.2.8 #

  • Improved RepoServiceBlocListener
    • Added support for to handle multiple GroupActions

0.2.7 #

  • Improved ActorDependantBloc class
  • Added static utility methods to class ActorDependencyDefinition
  • Fixed issued related to previous classes
  • Added LoadedDataBuilderhelper widget
  • Fix no params passed on ActorDependantBloc.dispatchOnRepoServiceDependant function

0.2.6 #

  • Added ActorDependantBloc
  • Other test utility improvements

0.2.5 #

  • Added some docs
  • Improvements to test bloc utils

0.2.4 #

  • Fix tests and other improves

0.2.3 #

  • Fix public loggerfunction

0.2.2 #

  • Improve repoServiceBlocActionGroupTestUtil util
    • It now provides access to executor result

0.2.1 #

  • Added utilities for testing when using RepoServiceBase & RepoServiceBloc specific usecases utilities:
    • repoServiceTestHttpUtil
    • repoServiceTestGenericUtil
    • repoServiceBlocActionGroupTestUtil

0.2.0 #

  • RepoServiceBloc

    • Is a Helper class intended to be extended by you and help get rid of a lot of boilerplate that otherwise you would be required to implement yourself
  • RepoServiceBlocBuilder

    • Helper Widget lets you build your UI based on state changes of a [RepoServiceBloc]
  • RepoServiceGroupBlocBuilder

    • Helper Widget lets you build your UI based on state changes of a [RepoServiceBloc
  • BlocEventListener

    • This Helper Widget helps you subscribe to the stream of [Event]s of a [ListenableBloc] which is also provided in this package It automatically subscribes and disposes of when this widget is no longer present in the tree
  • RepoServiceBlocListener

    • This Helper Widget helps you subscribing to the stream of [RepoServiceBlocEvent]s of a [RepoServiceBloc] which is also provided in this package
  • Breaking changes This update also removes the export of material package with was an error, so you may end up needing to update your project to manually import that dependency

0.1.2 #

  • Added RepoServiceBase utility class
    • It will help reducing boilerplate when implementing Services or Repositories in our projects

0.1.1 #

  • Update dependencies
    • auth_http_client

0.1.0 #

  • Initial release.
2
likes
120
pub points
55%
popularity

Publisher

verified publishergeekbears.com

A utility package that helps develop application in a Geekbears way. This is also the base of some other packages like authentication and account

Homepage
Repository (GitLab)
View/report issues

Documentation

API reference

License

BSD-2-Clause (license)

Dependencies

built_collection, built_value, collection, corsac_jwt, dartz, flutter, flutter_bloc, flutter_gb_built_utils, flutter_test, freezed_annotation, get_it, http, logger, mockito, shared_preferences

More

Packages that depend on flutter_gb_stack_base