32 lines
865 B
Dart
32 lines
865 B
Dart
import 'package:flutter/material.dart';
|
|
import 'package:flutter_screenutil/flutter_screenutil.dart';
|
|
import 'package:ftc_mobile_app/utilities/custom_app_colors.dart';
|
|
|
|
class EditIcon extends StatelessWidget {
|
|
final VoidCallback onTap;
|
|
|
|
const EditIcon({super.key, required this.onTap});
|
|
|
|
@override
|
|
Widget build(BuildContext context) {
|
|
return InkWell(
|
|
onTap: onTap,
|
|
child: Container(
|
|
width: 24.r,
|
|
height: 24.r,
|
|
// padding: REdgeInsets.all(8),
|
|
decoration: BoxDecoration(
|
|
color: CustomAppColors.kYellowColor.withOpacity(0.5),
|
|
borderRadius: BorderRadius.circular(50.r),
|
|
),
|
|
child: Center(
|
|
child: Icon(
|
|
Icons.edit,
|
|
color: CustomAppColors.kDarkYellowColor,
|
|
size: 16.r,
|
|
),
|
|
)),
|
|
);
|
|
}
|
|
}
|