pfp implement
Co-authored-by: Armand <4831c0@users.noreply.github.com>
This commit is contained in:
parent
f4a37fbb8f
commit
61a8532c6d
13
firka/lib/helpers/profile_picture.dart
Normal file
13
firka/lib/helpers/profile_picture.dart
Normal file
@ -0,0 +1,13 @@
|
||||
import 'dart:typed_data';
|
||||
import 'package:path/path.dart' as p;
|
||||
import 'package:path_provider/path_provider.dart';
|
||||
|
||||
void printSzex() {
|
||||
print('szex');
|
||||
}
|
||||
|
||||
Future<void> saveProfilePicture(Uint8List bytes) async {
|
||||
var dataDir = await getApplicationDocumentsDirectory();
|
||||
var pfpPath = p.join(dataDir.path, "profile.png");
|
||||
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user