> ## Documentation Index
> Fetch the complete documentation index at: https://docs.gleap.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Flutter SDK: Activation methods

> Configure how users activate feedback reporting with the Gleap Flutter SDK. Follow the integration code examples.

Gleap offers different triggers (activation methods) to show the Gleap widget. You can configure the activation methods within our visual widget configurator.

The current available activation methods are:

* Shake <i>(triggered when shaking the device)</i>
* Screenshot <i>(triggered when a screenshot is taken)</i>

Need a more customized activation method? No worries! You can always [open the Gleap widget by code](/documentation/flutter/widget-control) as well.

<img src="https://mintcdn.com/gleap-1d346ffa/MCCg3Pia7IrMFFzd/images/ActivationMethods.png?fit=max&auto=format&n=MCCg3Pia7IrMFFzd&q=85&s=9a75667c1a8cfe694099e87f5f7d29bb" alt="Activation methods in our visual widget configurator" width="3020" height="1618" data-path="images/ActivationMethods.png" />

### Set activation methods by code

Some situations require you to set the activation methods by code. This can be done with the following method.

```dart theme={null}
Gleap.setActivationMethods(
  activationMethods: [ActivationMethod.SHAKE, ActivationMethod.SCREENSHOT],
);
```

<Info>
  Please note that this method is available since Flutter SDK version 6.4.3
</Info>
