flutter_toolbox 2.10.2

flutter_toolbox #

Common flutter widgets and helper methods.

Getting Started #

This project is a starting point for a Flutter plug-in package, a specialized package that includes platform-specific implementation code for Android and/or iOS.

For help getting started with Flutter, view our online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference.

2.10.2 #

  • fix a bug in http.

2.10.1 #

  • Improve error methods for http.

2.10.0 #

  • added pushAndRemoveUntil to navigator.
  • added the class name as the route name so it can be looked up later.

2.9.6 #

  • improve loadingBuilder logging.

2.9.5 #

  • improve http logging.

2.9.4 #

  • improve http logging.

2.9.3 #

  • improve http logging.

2.9.2 #

  • update chopper2.

2.9.1 #

  • Fix errors regarding chopper2.

2.9.0 #

  • Depend on my chopper2.

2.8.0 #

  • Depend on my fork of chopper.

2.7.5 #

  • Make future required in loading builder.

2.7.4 #

  • Print the error in PaginateListView.

2.7.3 #

  • Improve error handling.

2.7.2 #

  • Added showServerErrorMessage to safeRest.

2.7.1 #

  • Updated gradle and kotlin plugin.

2.7.0 #

  • Added PaginateSliverList.

2.6.0 #

  • Fix ios build issues.

2.5.1 #

  • Added pushReplacement to navigation.dart.

2.5.0 #

  • Added materialRoute to navigation.dart.

2.4.0 #

  • Update deps.

2.3.1 #

  • Added localization to time and date picker field.

2.3.0 #

  • added navigation utils and push method inside it.

2.2.1 #

  • check if onError is null in safeRequest.

2.2.0 #

  • added await to onSuccess to behave predictably.
  • added on error. to safeRequest.

2.1.0 #

  • make onSuccess optional in safeRequest.

2.0.0 #

  • handle the error in chopper 3.0.0.

1.7.0 #

  • updated chopper to 3.0.0.

1.6.4+1 #

  • Added defaults to TabRoundedLineIndicator.

1.6.4 #

  • Added TabRoundedLineIndicator.

1.6.3+2 #

  • revert changes in 1.6.3 and 1.6.3+1 wait for improvement in another time.

1.6.3+1 #

  • try making loading builder logging more useful.

1.6.3 #

  • make loading builder logging more useful.

1.6.2 #

  • fix a bug in PaginateListView.

1.6.1 #

  • added mutable to PaginateListView.

1.6.0+1 #

  • added pageLoadController to PaginateListView.
  • fixed comment in LoadingBuilder.

1.6.0 #

  • removed drawer as it's better to be in the app.

1.5.0 #

  • added paginate_list_view to flutter_toolbox
  • change src from flutter_utils to flutter_toolbox

1.4.0 #

  • added PaginateListView

1.3.3 #

  • rename net_image to NetImage.

1.3.2 #

  • updated cached_network_image.
  • added flutter_cache_manager to make pub happy.

1.3.1 #

  • Wrap the progressPar of the netImage into center

1.3.0 #

  • Added NetImage

1.2.0 #

  • change d() to take object not just a string to totally replace print().

1.1.0 #

  • No changes just update to indicate breaking change.

1.0.3 #

  • Remove common_button and common_text_field.

1.0.2 #

  • Export all important files.

1.0.1 #

  • Fix gradle build problems and update kotlin and gradle versions.

1.0.0 #

  • initial release.

example/README.md

flutter_toolbox_example #

Demonstrates how to use the flutter_toolbox plugin.

Getting Started #

This project is a starting point for a Flutter application.

A few resources to get you started if this is your first Flutter project:

For help getting started with Flutter, view our online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference.

Use this package as a library

1. Depend on it

Add this to your package's pubspec.yaml file:


dependencies:
  flutter_toolbox: ^2.10.2

2. Install it

You can install packages from the command line:

with Flutter:


$ flutter pub get

Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.

3. Import it

Now in your Dart code, you can use:


import 'package:flutter_toolbox/flutter_toolbox.dart';
  
Popularity:
Describes how popular the package is relative to other packages. [more]
61
Health:
Code health derived from static analysis. [more]
100
Maintenance:
Reflects how tidy and up-to-date the package is. [more]
62
Overall:
Weighted score of the above. [more]
73
Learn more about scoring.

We analyzed this package on Sep 17, 2019, and provided a score, details, and suggestions below. Analysis was completed with status completed using:

  • Dart: 2.5.0
  • pana: 0.12.21
  • Flutter: 1.9.1+hotfix.2

Platforms

Detected platforms: Flutter

References Flutter, and has no conflicting libraries.

Health suggestions

Format lib/generated/i18n.dart.

Run flutter format to format lib/generated/i18n.dart.

Format lib/src/ui/toast.dart.

Run flutter format to format lib/src/ui/toast.dart.

Maintenance issues and suggestions

Support latest dependencies. (-20 points)

The version constraint in pubspec.yaml does not support the latest published versions for 2 dependencies (intl, json_annotation).

The package description is too short. (-18 points)

Add more detail to the description field of pubspec.yaml. Use 60 to 180 characters to describe the package, what it does, and its target use case.

Dependencies

Package Constraint Resolved Available
Direct dependencies
Dart SDK >=2.2.2 <3.0.0
async ^2.1.0 2.3.0
cached_network_image ^1.1.1 1.1.1
chopper2 ^3.0.3 3.0.4
flushbar ^1.8.2 1.9.0
flutter 0.0.0
flutter_cache_manager ^1.1.1 1.1.1
flutter_localizations 0.0.0
fluttertoast ^3.1.0 3.1.3
http ^0.12.0+2 0.12.0+2
image_picker ^0.6.1+3 0.6.1+4
intl ^0.15.8 0.15.8 0.16.0
intl_translation ^0.17.5 0.17.7
json_annotation ^2.0.0 2.4.0 3.0.0
path ^1.6.2 1.6.4
shared_preferences ^0.5.3+4 0.5.3+4
stack_trace ^1.9.3 1.9.3
Transitive dependencies
analyzer 0.38.2
args 1.5.2
charcode 1.1.2
collection 1.14.11 1.14.12
convert 2.1.1
crypto 2.1.3
csslib 0.16.1
dart_style 1.2.10
front_end 0.1.24
glob 1.1.7
html 0.14.0+2
http_parser 3.1.3
kernel 0.3.24
logging 0.11.3+2
meta 1.1.7
package_config 1.1.0
path_provider 1.3.0
pedantic 1.8.0+1
petitparser 2.4.0
platform 2.2.1
pub_semver 1.4.2
sky_engine 0.0.99
source_span 1.5.5
sqflite 1.1.6+4
string_scanner 1.0.5
synchronized 2.1.0+1
term_glyph 1.1.0
typed_data 1.1.6
uuid 2.0.2
vector_math 2.0.8
watcher 0.9.7+12
yaml 2.1.16
Dev dependencies
build_runner ^1.1.3
flutter_test
json_serializable