The Floating Action Button, or FAB, is one of the most distinctive design features of Material Design, and with this extension you can easily add one to your app.
|Extension Developer||Pavitra and Sander|
|Clone Starter .aia||Open in Thunkable|
|Get the .aix||Manual Download|
|Donate to Developers||N/A|
If you have any questions about the FAB Extension then head on over to the Thunkable Community where you’ll find lots of amazing people who are happy to help you out.
You can either follow all the steps as shown in the animation below or you can add the starter project directly to your thunkable by clicking here.
These event handlers are used when the FAB is pressed and when the user presses and holds down the FAB.
The Create procedure has to be run in order to make a FAB visible on the screen. If you change any properties before creating the FAB you will cause an error, so the best practice is to create at start-up and then change the visibility if you need it hidden.
Color Gets the colour of the FAB or sets it, using standard colors.
Icon The getter returns the path of the FAB image and the setter allows you to specify a new image to use. Have a look at the example app to see this is action.
Is Created The block returns a boolean (true/false) depending on whether or not a FAB has been created successfully.
Margins You can specify the distance from the bottom and right edges of the screen using these blocks.
Mini Size This is another boolean (true/false) value that specifies where or not you want to use a standard size or mini size FAB.
Visible Toggle the visibility of a FAB with these components
FAB1 This components is especially useful for when you are working with multiple FABs
Unlink a normal button, the FAB need to have an Icon specified. If you try to create a FAB and the icon property is still set to none you will see the following error.
This is the code for the starter project. If you like you can open this starter template directly in Thunkable by clicking here.
Want to Help?
There are lots of great extensions being created and updateed everyday. Keeping this site up to date is a huge task. If you want to help out find out more in the Thunkable Community
Post written by: