flutter_profile/example/lib/utils/example_profile_service.dart
2022-09-21 14:08:36 +02:00

26 lines
495 B
Dart

import 'package:flutter/material.dart';
import 'package:profile/profile.dart';
class ExampleProfileService extends ProfileService {
ExampleProfileService();
@override
void pageBottomAction() {
debugPrint('Bottom page action');
}
@override
void editProfile(
User user,
String key,
String value,
) {
debugPrint('Editing key: $key with $value');
}
@override
Future<void> uploadImage(BuildContext context) async {
debugPrint('Updating avatar');
}
}