report page
This commit is contained in:
@@ -5,3 +5,4 @@ import '../../../common/theme/theme.dart';
|
||||
import '../spaces/space.dart';
|
||||
|
||||
part 'elevated_button.dart';
|
||||
part 'icon_button.dart';
|
||||
|
||||
@@ -0,0 +1,22 @@
|
||||
part of 'button.dart';
|
||||
|
||||
class AppIconButton extends StatelessWidget {
|
||||
final IconData icons;
|
||||
final Function()? onTap;
|
||||
const AppIconButton({super.key, required this.icons, required this.onTap});
|
||||
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
return InkWell(
|
||||
onTap: onTap,
|
||||
child: Container(
|
||||
padding: EdgeInsets.symmetric(horizontal: 12.0, vertical: 8.0),
|
||||
decoration: BoxDecoration(
|
||||
borderRadius: BorderRadius.circular(6.0),
|
||||
border: Border.all(color: AppColor.border),
|
||||
),
|
||||
child: Icon(icons, color: AppColor.primary, size: 28),
|
||||
),
|
||||
);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user