feat: Button to remove avatar
This commit is contained in:
parent
9f91bf349c
commit
2840e62909
5 changed files with 71 additions and 11 deletions
|
|
@ -63,8 +63,11 @@ class SettingsView extends StatelessWidget {
|
|||
],
|
||||
backgroundColor: Theme.of(context).appBarTheme.color,
|
||||
flexibleSpace: FlexibleSpaceBar(
|
||||
background: ContentBanner(controller.profile?.avatarUrl,
|
||||
onEdit: controller.setAvatarAction),
|
||||
background: ContentBanner(
|
||||
controller.profile?.avatarUrl,
|
||||
onEdit: controller.setAvatarAction,
|
||||
defaultIcon: Icons.account_circle_outlined,
|
||||
),
|
||||
),
|
||||
),
|
||||
],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue