ApiButton2<T extends VirtualNetworkState> constructor

const ApiButton2<T extends VirtualNetworkState>({
  1. Key? key,
  2. required Function apiCall,
  3. String label = "Label",
  4. Function? finishCallback,
  5. Color color = Colors.blue,
  6. Color? textcolor,
  7. Widget? icon,
  8. bool disabled = false,
  9. double labelFontSize = 18,
  10. double? width,
})

Implementation

const ApiButton2({
  Key? key,
  required this.apiCall,
  this.label = "Label",
  this.finishCallback,
  this.color = Colors.blue,
  this.textcolor,
  this.icon,
  this.disabled = false,
  this.labelFontSize = 18,
  this.width,
}) : super(key: key);