onSettings method

TikiSdk onSettings(
  1. dynamic onSettings(
    1. BuildContext
    )
)

Sets the callback function for user selecting the "settings" option in ending widget.

The onSettings() event is triggered when the user selects "settings" in the ending screen. If a callback function is not registered, the SDK defaults to calling the TikiSdk.settings() method.

Implementation

TikiSdk onSettings(Function(BuildContext) onSettings) {
  _onSettings = onSettings;
  return this;
}