child of type Widget is used to show icon. Use GFIconButton widget for compatibility.
GFIconButton
final Widget child;