mirror of
https://github.com/Iconica-Development/flutter_profile.git
synced 2025-05-19 01:03:45 +02:00
30 lines
596 B
Dart
30 lines
596 B
Dart
import 'package:flutter/material.dart';
|
|
import 'package:profile/profile.dart';
|
|
|
|
class ExampleProfileService extends ProfileService {
|
|
ExampleProfileService();
|
|
|
|
@override
|
|
void deleteProfile() {
|
|
super.deleteProfile();
|
|
|
|
debugPrint('Deleting profile');
|
|
}
|
|
|
|
@override
|
|
void editProfile<T extends ProfileData>(
|
|
User<ProfileData> user,
|
|
String key,
|
|
String value,
|
|
) {
|
|
super.editProfile(user, key, value);
|
|
|
|
debugPrint('Editing key: $key with $value');
|
|
}
|
|
|
|
@override
|
|
Future<void> uploadImage(BuildContext context) async {
|
|
debugPrint('Updating avatar');
|
|
}
|
|
}
|