You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
54 lines
1.5 KiB
54 lines
1.5 KiB
import 'package:dating_touchme_app/generated/assets.dart';
|
|
import 'package:flutter/material.dart';
|
|
import 'package:flutter_screenutil/flutter_screenutil.dart';
|
|
|
|
class LiveRoomActiveSpeaker extends StatelessWidget {
|
|
const LiveRoomActiveSpeaker({super.key});
|
|
|
|
@override
|
|
Widget build(BuildContext context) {
|
|
return Row(
|
|
mainAxisAlignment: MainAxisAlignment.start,
|
|
children: [
|
|
Stack(
|
|
clipBehavior: Clip.none,
|
|
children: [
|
|
Container(
|
|
width: 34.w,
|
|
height: 34.w,
|
|
margin: EdgeInsets.only(left: 13.w),
|
|
child: ClipRRect(
|
|
borderRadius: BorderRadius.all(Radius.circular(34.w)),
|
|
child: Image.asset(
|
|
Assets.imagesUserAvatar,
|
|
width: 34.w,
|
|
height: 34.w,
|
|
),
|
|
),
|
|
),
|
|
Positioned(
|
|
bottom: -3.w,
|
|
left: 20.w,
|
|
child: Container(
|
|
width: 20.w,
|
|
height: 20.w,
|
|
decoration: BoxDecoration(
|
|
borderRadius: BorderRadius.all(Radius.circular(4.w)),
|
|
color: const Color.fromRGBO(0, 0, 0, .65),
|
|
),
|
|
child: Center(
|
|
child: Image.asset(
|
|
Assets.imagesMicClose,
|
|
width: 10.w,
|
|
height: 11.w,
|
|
),
|
|
),
|
|
),
|
|
),
|
|
],
|
|
),
|
|
],
|
|
);
|
|
}
|
|
}
|
|
|