spinner method

Spinner spinner({
  1. required String inProgressMessage,
  2. String doneMessage = 'Done!',
  3. String failedMessage = 'Failed!',
})

Implementation

Spinner spinner({
  required String inProgressMessage,
  String doneMessage = 'Done!',
  String failedMessage = 'Failed!',
}) =>
    Spinner(
      inProgressMessage: inProgressMessage,
      doneMessage: doneMessage,
      failedMessage: failedMessage,
    );