HomeCard<T, O> constructor
const
HomeCard<T, O> ({
- required T item,
- required String name,
- required IconData iconData,
- required dynamic onTap(
- T item
- dynamic onMenuSelect(
- T item,
- O operation
- Color? color,
- String? tooltip,
- double fontSize = 16,
- FontWeight? fontWeight,
- double iconSize = 42,
- BoxShadow boxShadow = const BoxShadow(color: Colors.black26, offset: Offset(1, 0.5), blurRadius: 6),
- Key? key,
Implementation
const HomeCard({
required this.item,
required this.name,
required this.iconData,
required this.onTap,
this.menuItems,
this.onMenuSelect,
this.color,
this.tooltip,
this.fontSize = 16,
this.fontWeight,
this.iconSize = 42,
this.boxShadow = const BoxShadow(
color: Colors.black26,
offset: Offset(1, 0.5),
blurRadius: 6,
),
super.key,
});