ApiButton<T extends VirtualNetworkState> constructor

const ApiButton<T extends VirtualNetworkState>({
  1. required Function apiCall,
  2. String label = "Label",
  3. Function? finishCallback,
  4. Color color = Colors.blue,
  5. bool disabled = false,
})

Implementation

const ApiButton({
  required this.apiCall,
  this.label = "Label",
  this.finishCallback,
  this.color = Colors.blue,
  this.disabled = false,
});