NetworkButton constructor

const NetworkButton({
  1. Key? key,
  2. String? title,
  3. BaseButtonSize size = BaseButtonSize.regular,
  4. ReownAppKitModalStatus serviceStatus = ReownAppKitModalStatus.idle,
  5. ReownAppKitModalNetworkInfo? chainInfo,
  6. VoidCallback? onTap,
  7. bool iconOnly = false,
  8. bool iconOnRight = false,
  9. String? iconUrl,
})

Implementation

const NetworkButton({
  super.key,
  this.title,
  this.size = BaseButtonSize.regular,
  this.serviceStatus = ReownAppKitModalStatus.idle,
  this.chainInfo,
  this.onTap,
  this.iconOnly = false,
  this.iconOnRight = false,
  this.iconUrl,
});