veta_profile_kit 0.1.1
veta_profile_kit: ^0.1.1 copied to clipboard
Veta profile kit for Flutter — account profile, settings, preferences, and sign-out flow.
veta_profile_kit #
Profile kit for Flutter: a full account screen with profile summary,
preferences, edit profile, refresh, and sign-out actions wired through a
provider-agnostic ProfileStrategy.
Install #
dependencies:
veta_profile_kit: ^0.1.0
Setup #
import 'package:veta_foundations/veta_foundations.dart';
import 'package:veta_profile_kit/veta_profile_kit.dart';
void main() {
configureVetaKits(profile: mockProfileStrategy());
runApp(const MyApp());
}
Firebase setup #
Use veta_profile_kit_firebase when the profile screen should read identity
from FirebaseAuth and persist settings in Firestore:
configureVetaKits(
profile: firebaseProfileStrategy(),
);
Public exports #
ProfileStrategy, profile models, and runtime helpersmockProfileStrategyVetaProfilePage