The Flyy Widget provides a ready-to-use entry point leading to the Flyy SDK's Primary Screens. Namely, the Offers Screen, Rewards Screen, and Wallet Screen. This widget allows various customizations to match your project's theme and style.
To add the Flyy Widget, just add the following widget to your layout:
We recommend placing the Flyy Widget on your app's home screen for greater visibility and thus better engagement.
The widget can be customized to match the style and theme of your application. Refer to the table below to learn about all the properties that can be changed.
FlyyFlutterPlugin.flyyWidget( containerBackgroundColor: const Color(0xffBCECE0), ),
|Container's background color|
|Button's background color|
|Button corner radius|
|Border width for the buttons|
|Border color for the buttons|
|Icon background color|
|Corner radius for the container around the icon|
|Font family of the button titles. Font family must have been added to |
|Text color of the button titles|
|Font size of the button titles|
|Title of the Offers button|
|Title of the Rewards button|
|Title of the Wallet button|
|Path to asset image for Offers button icon|
|Path to asset image for Rewards button icon drawable|
|Path to asset image for Wallet button icon drawable|
Updated over 1 year ago