feat(profile): Material default avatar + square photo crop
Drop the DiceBear generated avatar (and dicebear_core/dicebear_styles/ flutter_svg): the default is again a Material coloured-initial disc from the pubkey. Picking a photo now goes through a square crop step (crop_your_image — pure Flutter, all platforms incl. desktop, Apache-2.0, only pulls the image package we already had) before the 24 KB thumbnail.
This commit is contained in:
parent
17612b8147
commit
f6967e8cbb
8 changed files with 200 additions and 175 deletions
|
|
@ -78,9 +78,7 @@ dependencies:
|
|||
# while the app is foregrounded. Mobile/Linux/macOS only; a no-op on web and
|
||||
# Windows. Foreground-only by design — background/push is a later concern.
|
||||
flutter_local_notifications: ^18.0.1
|
||||
dicebear_core: ^10.3.0
|
||||
dicebear_styles: ^10.2.0
|
||||
flutter_svg: ^2.3.0
|
||||
crop_your_image: ^2.0.0
|
||||
|
||||
dev_dependencies:
|
||||
flutter_test:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue