chore: add placeholder to image in course editting page (#4024)
This commit is contained in:
parent
edc29dbf61
commit
eb3f5a446f
1 changed files with 8 additions and 1 deletions
|
|
@ -156,10 +156,17 @@ class EditCourseController extends State<EditCourse> {
|
|||
)
|
||||
: ImageByUrl(
|
||||
imageUrl:
|
||||
_room?.avatar.toString(),
|
||||
_room?.avatar?.toString(),
|
||||
width: 200.0,
|
||||
borderRadius:
|
||||
BorderRadius.circular(0.0),
|
||||
replacement: Container(
|
||||
width: 200.0,
|
||||
height: 200.0,
|
||||
color: Theme.of(context)
|
||||
.colorScheme
|
||||
.surfaceContainerHighest,
|
||||
),
|
||||
),
|
||||
),
|
||||
Positioned(
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue