27 lines
592 B
Dart
27 lines
592 B
Dart
import 'package:flutter/material.dart';
|
|
|
|
class HandRaiseButton extends StatelessWidget {
|
|
final void Function() onTap;
|
|
const HandRaiseButton({super.key, required this.onTap});
|
|
|
|
@override
|
|
Widget build(BuildContext context) {
|
|
return InkWell(
|
|
onTap: onTap,
|
|
child: Container(
|
|
height: 60,
|
|
width: 60,
|
|
decoration: BoxDecoration(
|
|
color: Colors.black12,
|
|
shape: BoxShape.circle,
|
|
),
|
|
child: Icon(
|
|
Icons.back_hand_rounded,
|
|
color: Color(0xFFFDC400),
|
|
size: 24,
|
|
),
|
|
),
|
|
);
|
|
}
|
|
}
|