littlefish_feature_user_switching

A Flutter package that enables seamless user switching within a business, allowing users to log in to an existing business without signing out and back in. Built for the Littlefish Merchant App ecosystem.

Features

  • Switch between users in a business without logging out
  • Integrates with Redux state management
  • Customizable UI components for user switching

Getting Started

Add this package to your pubspec.yaml:

dependencies:
  littlefish_feature_user_switching:
    path: merchant_features/user_switching/littlefish_feature_user_switching

Then run:

flutter pub get

Usage

Import the package:

import 'package:littlefish_feature_user_switching/littlefish_feature_user_switching.dart';

See the example in the lib/ui/pages/user_switching_page.dart for integration details.

Dependencies

  • flutter
  • redux
  • redux_thunk
  • flutter_redux
  • loading_animation_widget
  • littlefish_core
  • littlefish_auth

License

See LICENSE.

Changelog

See CHANGELOG.md.