import 'dart:async'; import 'package:flutter/material.dart'; import 'package:profile/profile.dart'; /// ProfileService can be extended and set for the profilePage. The following method can be overriden. /// /// BottompageAction is called when the [InkWell] at the bottom of the page is tapped. /// /// EditProfile is called when a user changes and submits a standard textfields. /// /// UploadImage is called when te user presses the avatar. abstract class ProfileService { const ProfileService(); FutureOr pageBottomAction(); FutureOr editProfile(User user, String key, String value); FutureOr uploadImage(BuildContext context); }