littlefish_feature_user_switching 7.0.1 copy "littlefish_feature_user_switching: ^7.0.1" to clipboard
littlefish_feature_user_switching: ^7.0.1 copied to clipboard

PlatformAndroid
unlisted

User Switching feature allows for users to login to an existing business without the need to sign out and sign back in. Seamlessly switching between users in a business

130/ 160
pub points
57
downloads

We analyzed this package 15 hours ago, and awarded it 130 pub points (of a possible 160):

Partially passed report section
Follow Dart file conventions
30 / 30trigger folding of the section

Partially passed check 10/10 points: Provide a valid pubspec.yaml

Repository URL doesn't exist.

At the time of the analysis https://github.com/littlefishapp/littlefish_merchant_app_mono_repo was unreachable. Make sure that the website is reachable via HEAD requests.

Passed check 5/5 points: Provide a valid README.md

Passed check 5/5 points: Provide a valid CHANGELOG.md

Passed check 10/10 points: Use an OSI-approved license

Detected license: MIT.

Failed report section
Provide documentation
10 / 20trigger folding of the section

Passed check 10/10 points: 20% or more of the public API has dartdoc comments

90 out of 204 API elements (44.1 %) have documentation comments.

Some symbols that are missing documentation: brand_button_theme, brand_button_theme.BrandButtonTheme.BrandButtonTheme.new, brand_button_theme.BrandButtonTheme.child, clock_in_page, clock_in_page.ClockInPage.ClockInPage.new.

Failed check 0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

Passed report section
Platform support
20 / 20trigger folding of the section

Passed check 20/20 points: Supports 1 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ Android

These platforms are not supported:

Package does not support platform `iOS`.

Because:

  • package:littlefish_feature_user_switching/littlefish_feature_user_switching.dart that imports:
  • package:littlefish_feature_user_switching/ui/widgets/user_switching_lock_button.dart that imports:
  • package:littlefish_feature_user_switching/ui/pages/user_switching_page.dart that imports:
  • package:littlefish_auth/littlefish_auth_manager.dart that imports:
  • package:littlefish_core_utils/http/littlefish_http_client.dart that imports:
  • package:littlefish_core_utils/http/app_info_provider.dart that imports:
  • package:package_info_plus/package_info_plus.dart that imports:
  • package:package_info_plus/src/package_info_plus_windows.dart that imports:
  • package:package_info_plus/src/file_version_info.dart that imports:
  • package:win32/win32.dart that declares support for platforms: Windows.
Package does not support platform `Windows`.

Because:

  • package:littlefish_feature_user_switching/littlefish_feature_user_switching.dart that imports:
  • package:littlefish_feature_user_switching/ui/components/dialogs/switch_user_confirmation_dialog.dart that imports:
  • package:littlefish_feature_shared_ui_v1/littlefish_feature_shared_ui.dart that imports:
  • package:littlefish_feature_shared_ui_v1/src/address/lf_address_search_field.dart that imports:
  • package:geocoding/geocoding.dart that declares support for platforms: Android, iOS.
Package does not support platform `Linux`.

Because:

  • package:littlefish_feature_user_switching/littlefish_feature_user_switching.dart that imports:
  • package:littlefish_feature_user_switching/ui/components/dialogs/switch_user_confirmation_dialog.dart that imports:
  • package:littlefish_feature_shared_ui_v1/littlefish_feature_shared_ui.dart that imports:
  • package:littlefish_feature_shared_ui_v1/src/address/lf_address_search_field.dart that imports:
  • package:geocoding/geocoding.dart that declares support for platforms: Android, iOS.
Package does not support platform `macOS`.

Because:

  • package:littlefish_feature_user_switching/littlefish_feature_user_switching.dart that imports:
  • package:littlefish_feature_user_switching/ui/components/dialogs/switch_user_confirmation_dialog.dart that imports:
  • package:littlefish_feature_shared_ui_v1/littlefish_feature_shared_ui.dart that imports:
  • package:littlefish_feature_shared_ui_v1/src/address/lf_address_search_field.dart that imports:
  • package:geocoding/geocoding.dart that declares support for platforms: Android, iOS.
Package does not support platform `Web`.

Because:

  • package:littlefish_feature_user_switching/littlefish_feature_user_switching.dart that imports:
  • package:littlefish_feature_user_switching/ui/components/dialogs/switch_user_confirmation_dialog.dart that imports:
  • package:littlefish_feature_shared_ui_v1/littlefish_feature_shared_ui.dart that imports:
  • package:littlefish_feature_shared_ui_v1/src/address/lf_address_search_field.dart that imports:
  • package:geocoding/geocoding.dart that declares support for platforms: Android, iOS.

These issues are present but do not affect the score, because they may not originate in your package:

Package does not support platform `Android`.

Because:

  • package:littlefish_feature_user_switching/littlefish_feature_user_switching.dart that imports:
  • package:littlefish_feature_user_switching/ui/widgets/user_switching_lock_button.dart that imports:
  • package:littlefish_feature_user_switching/ui/pages/user_switching_page.dart that imports:
  • package:littlefish_auth/littlefish_auth_manager.dart that imports:
  • package:littlefish_core_utils/http/littlefish_http_client.dart that imports:
  • package:littlefish_core_utils/http/app_info_provider.dart that imports:
  • package:package_info_plus/package_info_plus.dart that imports:
  • package:package_info_plus/src/package_info_plus_windows.dart that imports:
  • package:package_info_plus/src/file_version_info.dart that imports:
  • package:win32/win32.dart that declares support for platforms: Windows.
Partially passed report section
Pass static analysis
40 / 50trigger folding of the section

Partially passed check 40/50 points: code has no errors, warnings, lints, or formatting issues

Found 4 issues. Showing the first 2:

INFO: 'withOpacity' is deprecated and shouldn't be used. Use .withValues() to avoid precision loss.

lib/ui/components/dialogs/switch_user_confirmation_dialog.dart:65:35

   ╷
65 │                 color: errorColor.withOpacity(0.12),
   │                                   ^^^^^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/ui/components/dialogs/switch_user_confirmation_dialog.dart

INFO: 'withOpacity' is deprecated and shouldn't be used. Use .withValues() to avoid precision loss.

lib/ui/pages/clock_out_intermittent_page.dart:86:35

   ╷
86 │                 color: errorColor.withOpacity(0.12),
   │                                   ^^^^^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/ui/pages/clock_out_intermittent_page.dart

Failed report section
Support up-to-date dependencies
30 / 40trigger folding of the section

Failed check 0/10 points: All of the package dependencies are supported in the latest version

Package Constraint Compatible Latest Notes
flutter_redux ^0.10.0 0.10.0 0.10.0
littlefish_auth ^7.0.1 7.0.1 7.0.1
littlefish_core ^9.0.0 9.0.0 9.0.0
littlefish_core_theming ^0.0.4+13 0.0.4+13 0.0.4+13
littlefish_core_utils ^5.0.2 5.0.2 5.0.2
littlefish_feature_shared_ui_v1 ^2.0.3 2.0.3 2.0.3
littlefish_feature_user_pins ^5.0.1 5.0.1 5.0.1 Discontinued
loading_animation_widget ^1.3.0 1.3.0 1.3.0
redux ^5.0.0 5.0.0 5.0.0
redux_thunk ^0.4.0 0.4.0 0.4.0
Transitive dependencies
Package Constraint Compatible Latest Notes
android_id - 0.4.1 0.5.2+1
args - 2.7.0 2.7.0
asn1lib - 1.6.5 1.6.5
async - 2.13.1 2.13.1
brotli - 0.6.0 0.6.0
characters - 1.4.1 1.4.1
clock - 1.1.3 1.1.3
code_assets - 2.0.0 2.0.0
collection - 1.19.1 1.19.1
convert - 3.1.2 3.1.2
cross_file - 0.3.5+5 0.3.5+5
crypto - 3.0.7 3.0.7
device_info_plus - 11.5.0 13.2.0
device_info_plus_platform_interface - 7.0.3 8.1.0
dio - 5.11.1 5.11.1
dio_brotli_transformer - 2.0.0 2.0.0
dio_cache_interceptor - 4.0.7 4.0.7
dio_web_adapter - 2.2.2 2.2.2
encrypt - 5.0.3 5.0.3
ffi - 2.2.0 2.2.0
file - 7.0.1 7.0.1
file_selector_linux - 0.9.4+1 0.9.4+1
file_selector_macos - 0.9.5+1 0.9.5+1
file_selector_platform_interface - 2.7.0 2.7.0
file_selector_windows - 0.9.3+6 0.9.3+6
fixnum - 1.1.1 1.1.1
flutter_google_places_sdk - 0.4.3 0.4.3
flutter_google_places_sdk_android - 0.2.2 0.3.0
flutter_google_places_sdk_http - 0.2.2 0.3.0
flutter_google_places_sdk_ios - 0.2.2 0.2.2
flutter_google_places_sdk_linux - 0.2.2 0.3.0
flutter_google_places_sdk_macos - 0.2.2 0.3.0
flutter_google_places_sdk_platform_interface - 0.3.4 0.4.0
flutter_google_places_sdk_web - 0.2.2 0.3.0
flutter_google_places_sdk_windows - 0.2.2 0.3.0
flutter_material_design_icons - 3.1.0+7447 3.1.0+7447
flutter_plugin_android_lifecycle - 2.0.35 2.0.35
flutter_secure_storage - 9.2.4 11.1.1
flutter_secure_storage_linux - 1.2.3 3.0.3
flutter_secure_storage_macos - 3.1.3 4.0.0 Discontinued
flutter_secure_storage_platform_interface - 1.1.2 2.1.0
flutter_secure_storage_web - 1.2.1 2.1.1
flutter_secure_storage_windows - 3.1.2 4.2.2
freezed_annotation - 3.1.0 3.1.0
geocoding - 4.0.0 5.0.0
geocoding_android - 4.0.1 5.1.0
geocoding_ios - 3.1.0 3.1.0
geocoding_platform_interface - 3.2.0 5.0.0
get_it - 8.3.0 9.2.1
google_maps - 8.3.0 8.3.0
hooks - 2.2.0 2.2.0
http - 1.6.0 1.6.0
http_cache_core - 1.1.4 1.1.4
http_parser - 4.1.2 4.1.2
image_picker - 1.2.3 1.2.3
image_picker_android - 0.8.13+23 0.8.13+23
image_picker_for_web - 3.1.1 3.1.1
image_picker_ios - 0.8.13+7 0.8.13+7
image_picker_linux - 0.2.2 0.2.2
image_picker_macos - 0.2.2+1 0.2.2+1
image_picker_platform_interface - 2.11.1 2.11.1
image_picker_windows - 0.2.2 0.2.2
intl - 0.20.3 0.20.3
jni - 1.0.3 1.0.3
jni_flutter - 1.0.3 1.0.3
jni_util - 1.0.0 1.0.0
js - 0.6.7 0.7.2 Discontinued
json_annotation - 4.12.0 4.12.0
jwt_decoder - 2.0.1 2.0.1
latlong2 - 0.9.1 0.10.1
littlefish_flutter_secure_storage - 1.0.19 1.0.19
littlefish_icons - 2.0.2 2.0.2 Discontinued
logger - 2.8.0 2.8.0
logging - 1.3.0 1.3.0
material_color_utilities - 0.13.0 0.13.1
meta - 1.19.0 1.19.0
mime - 2.1.0 2.1.0
objective_c - 9.6.1 9.6.1
package_config - 3.0.0 3.0.0
package_info_plus - 8.3.1 10.2.1
package_info_plus_platform_interface - 3.2.1 4.1.0
path - 1.9.1 1.9.1
path_provider - 2.1.6 2.1.6
path_provider_android - 2.3.1 2.3.1
path_provider_foundation - 2.6.0 2.6.0
path_provider_linux - 2.2.2 2.2.2
path_provider_platform_interface - 2.1.3 2.1.3
path_provider_windows - 2.3.0 2.3.0
platform - 3.2.0 3.2.0
plugin_platform_interface - 2.1.8 2.1.8
pointycastle - 3.9.1 4.0.0
pub_semver - 2.2.1 2.2.1
record_use - 1.1.1 1.1.1
source_span - 1.10.2 1.10.2
string_scanner - 1.4.1 1.4.1
term_glyph - 1.2.2 1.2.2
typed_data - 1.4.0 1.4.0
uuid - 4.6.0 4.6.0
vector_math - 2.4.2 2.4.2
web - 1.1.1 1.1.1
win32 - 5.15.0 6.4.0
win32_registry - 2.1.0 3.0.3
xdg_directories - 1.1.0 1.1.0
yaml - 3.1.4 3.1.4

To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.

The package has one or more discontinued direct dependencies.

Discontinued packages are no longer maintained, and can end up being a liability.

Consider migrating away from these dependencies:

  • littlefish_feature_user_pins.

Passed check 10/10 points: Package supports latest stable Dart and Flutter SDKs

Passed check 20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.23.19, Flutter 3.47.0, Dart 3.13.0.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
0
likes
130
points
57
downloads

Documentation

API reference

Publisher

verified publisherlittlefishapp.com

Weekly Downloads

User Switching feature allows for users to login to an existing business without the need to sign out and sign back in. Seamlessly switching between users in a business

Homepage
Repository (GitHub)

License

MIT (license)

Dependencies

flutter, flutter_redux, littlefish_auth, littlefish_core, littlefish_core_theming, littlefish_core_utils, littlefish_feature_shared_ui_v1, littlefish_feature_user_pins, loading_animation_widget, redux, redux_thunk

More

Packages that depend on littlefish_feature_user_switching