ButtonX.back constructor

ButtonX.back(
  1. dynamic onPressed()?, {
  2. Key? key,
})

Implementation

ButtonX.back(
  this.onPressed, {
  super.key,
})  : type = ButtonType.icon,
      text = '',
      icon = Icons.arrow_back,
      iconSize = 24.sp,
      innerPadding = null,
      borderRadius = 15.r,
      borderWidth = null,
      backgroundColor = null,
      foregroundColor = null,
      minSize = null,
      child = null,
      textColor = null,
      textSize = null,
      textWeight = null,
      textStyle = null,
      dot = null,
      badge = null,
      onLongPress = null,
      onHover = null,
      onFocusChange = null,
      style = null,
      focusNode = null,
      autofocus = false,
      clipBehavior = Clip.none;