mobile_commons 1.2.7 copy "mobile_commons: ^1.2.7" to clipboard
mobile_commons: ^1.2.7 copied to clipboard

unlistedoutdated

A package created to provide flutter widgets, services, helpers and structures to be used in mobile projects built by Zydon.

1.2.7 #

  • Changes SecureCacheService to have an internal singleton of FlutterSecureStorage, removing the project dependency of the flutter_secure_storage package.

1.2.6 #

  • Adds CacheServiceAbstraction, an interface for every cache service implemented by the project
  • Adds CacheService, an unencrypted cache implementation using hive and isar_flutter_libs
  • Adds SecureCacheService, an encrypted cache implementation using flutter_secure_storage

1.2.5 #

  • Exposes dio interceptor classes by creating typedefs to represent them. By doing this, the project don't have to depend on dio just to create interceptors.

1.2.4 #

  • Adds DateTimeHelper for parssing and converting dates
    • stringToDateTime for converting String with some given pattern to a DateTime. Return null if can't convert.
    • dateTimeToString for converting DateTime to a String with a given pattern. Return null if can't convert.
    • formatString for converting String with some given pattern to a String with some other pattern. Return null if can't convert.
    • getDateTimeFromIp for getting the current DateTime from Google's NTP server. Returns DateTime.now() if can't reach NTP servers.
  • Adds some common date time patterns to make it easier to use the DateTimeHelper.

1.2.3 #

  • Makes client returns only generics types, the null is now treated internally, and dynamic types are forbidden.
  • Adds Json and JsonList types for client returns;

1.2.2 #

  • Makes response parser an optional feature. To use it, pass the Parser class to the client. Otherwise, the client will respond with the raw json.
  • Organizes client options by creating its own class, named ClientOptions.

1.2.1 #

  • Fixes Controller's [isFetchingCondition] being required

1.2.0 #

  • Adds SnackbarMessage helper to show snackbars without context

1.1.1 #

  • Fix linter warnings to improve package score

1.1.0 #

  • Components

    • Adds InfinityList component to deal with paged requests
    • Adds Result component to deal with states in the screen
  • Helpers

    • Adds Debouncer for delayed actions
    • Adds Mutex for queued actions
    • Adds Logger for logging informations with some colors and styles
  • Network

    • Adds Client as an abstraction of a HTTP Client
    • Adds DioClient implementation of the Client
    • Adds LoggerInterceptor for debuging requests
  • Infrastructure

    • Adds Controller as a state manager
  • Adds an example project with all of those features. The example also serves as a project architecture.

1.0.1 #

  • Organize linter

1.0.0 #

  • Initial version.
1
likes
0
points
209
downloads

Documentation

Documentation

Publisher

verified publisherzydon.com.br

Weekly Downloads

A package created to provide flutter widgets, services, helpers and structures to be used in mobile projects built by Zydon.

Homepage
Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

dio, dson_adapter, flutter, flutter_secure_storage, hive, icons_plus, intl, isar_flutter_libs, ntp, path_provider

More

Packages that depend on mobile_commons