mirror of
https://github.com/Iconica-Development/flutter_profile.git
synced 2025-05-19 09:13:44 +02:00
37 lines
774 B
Dart
37 lines
774 B
Dart
// SPDX-FileCopyrightText: 2022 Iconica
|
|
//
|
|
// SPDX-License-Identifier: BSD-3-Clause
|
|
|
|
import 'dart:async';
|
|
import 'package:flutter/material.dart';
|
|
import 'package:flutter_profile/flutter_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
|
|
FutureOr<void> uploadImage(BuildContext context,
|
|
{required Function(bool isUploading) onUploadStateChanged}) {
|
|
debugPrint('Updating avatar');
|
|
}
|
|
|
|
@override
|
|
FutureOr<void> changePassword(String password) {
|
|
debugPrint(password);
|
|
}
|
|
}
|