import 'package:flutter/material.dart';
import 'package:flutter_screenutil/flutter_screenutil.dart';

class RoomBottomButtons extends StatelessWidget {
  const RoomBottomButtons({super.key});

  @override
  Widget build(BuildContext context) {
    return Row(
      children: [
        Expanded(
          child: Container(
            height: 88.h,
            decoration: BoxDecoration(
              color: const Color.fromRGBO(66, 165, 245, 1.0),
              borderRadius: BorderRadius.circular(20.r),
            ),
            child: Center(
              child: Text(
                '送电',
                style: TextStyle(
                  color: Colors.white,
                  fontSize: 32.sp,
                  fontWeight: FontWeight.bold,
                ),
              ),
            ),
          ),
        ),
        SizedBox(width: 12.w),
        Expanded(
          child: Container(
            height: 88.h,
            decoration: BoxDecoration(
              color: Colors.white,
              borderRadius: BorderRadius.circular(20.r),
              border: Border.all(
                color: const Color.fromRGBO(66, 165, 245, 1.0),
                width: 2.w,
              ),
            ),
            child: Center(
              child: Text(
                '断电',
                style: TextStyle(
                  color: const Color.fromRGBO(66, 165, 245, 1.0),
                  fontSize: 32.sp,
                  fontWeight: FontWeight.bold,
                ),
              ),
            ),
          ),
        ),
        SizedBox(width: 12.w),
        Expanded(
          child: Container(
            height: 88.h,
            decoration: BoxDecoration(
              color: const Color.fromRGBO(200, 208, 220, 1.0),
              borderRadius: BorderRadius.circular(20.r),
            ),
            child: Center(
              child: Text(
                '设备控制',
                style: TextStyle(
                  color: const Color.fromRGBO(100, 116, 139, 1.0),
                  fontSize: 32.sp,
                  fontWeight: FontWeight.bold,
                ),
              ),
            ),
          ),
        ),
      ],
    );
  }
}
