FollyCell.iconButton constructor
FollyCell.iconButton(
- IconData iconData, {
- dynamic onPressed()?,
- EdgeInsets padding = EdgeInsets.zero,
- AlignmentGeometry align = Alignment.center,
- Color color = Colors.transparent,
- Key? key,
Implementation
FollyCell.iconButton(
IconData iconData, {
Function()? onPressed,
this.padding = EdgeInsets.zero,
this.align = Alignment.center,
this.color = Colors.transparent,
super.key,
}) : child = FittedBox(
child: IconButton(
icon: Icon(iconData),
onPressed: onPressed,
),
);