SlackLoginButton constructor

SlackLoginButton(
  1. String _clientId,
  2. String _clientSecret,
  3. List<String> _scope,
  4. TokenCallback _onFinished, {
  5. String? redirectUrl,
  6. String? state,
  7. String? team,
  8. VoidCallback? onCancelled,
})

Implementation

SlackLoginButton(
  this._clientId,
  this._clientSecret,
  this._scope,
  this._onFinished, {
  String? redirectUrl,
  String? state,
  String? team,
  VoidCallback? onCancelled,
})  : _redirectUrl = redirectUrl,
      _state = state,
      _team = team,
      _onCancelled = onCancelled;