Skip to main content

How to use Floating Action Button Component In Kodular ?

 

How to use Floating Action Button Component In Kodular ?

So, today we are back again with our new fresh Tutorial on "How to use Floating Action Button Component In Kodular ?". Hope you will surely enjoy this tutorial, here we start our tutorial without wasting any more time....

How to use Floating Action Button Component In Kodular ?

1.What is floating action button?

Floating action button is a button in android development which is always floating on the screen of device.This button is used in android development usually for carrying out any action by user's command and hence this is called Floating action button or FAB in short.We are also given a component to use floating action button in Kodular with the help of a component also named as Floating action Button.We are also provided many options in this component so that, we are able to use this button as many action button.

2.Why we should use Floating action Button?

We should use Floating action Button because.....
1. It is always a attention Catching for user.
2. Makes app easy to use for user.
3. Improves UI and UX of our application.
4. Perfect for options like fullscreen,download etc.

3.How to add Floating action Button to our Kodular project?

Step 1:Open Kodular Creator's Website and open the project in which you want to add floating action button.

Step 2:Look for floating action button component under User Interface and drag and drop it to your project.

OR

Search for floating action button in the search box of the palette and you will find floating action button component.So, just drag and drop it to your project.

4. Properties of Floating action button:

1. Background Color:
It is used to set background color of Floating action button.

2. Elevation:
Sets the elevation of floating action button from Screen.

3. Icon:
Sets the icon for Floating action button.

4.Material Icon:
Sets the material icon to be placed on your FAB.

5.Margin Bottom:
This sets the distance of floating action button from bottom of screen.

6.Margin Right:
This sets the distance of floating action button from right side of screen.

7.Size:
Sets the size of floating action button.

You can check for advanced properties of FAB here

5. Main Blocks of floating action button:

1.Start Rotation Animation:

Block 1

To call FAB to start FAB rotation animation.

2.Show FAB:

Block 2
Makes FAB Visible to user.

4.Hide FAB:

Block 3
Makes FAB invisible to user.

5.When FAB long click:

Block 4
To perform a action when FAB is long clicked.

6.When FAB click:

Block 5
To perform a action when FAB is long clicked.

5. FAB rotate on click:

Block 6
To check or set FAB rotate on click true or false.

6. Rotation Duration:

Block 7
Sets the Duration or speed of rotation of FAB.

7.Rotation End Degrees:

Block 8
Sets the angle for end of rotation of FAB.

8.Rotation Start Degree:

Block 9
Sets the angle for start of rotation of FAB.

So, these were the main blocks for FAB. We will also be learning to use it's more properties in our next tutorials.Till then.....

                                            
Happy Koding.......

Comments

Popular posts from this blog

How to use Utilities component in Kodular Creator?

  How to use Utilities component in Kodular Creator? Welcome back guys to Learn webs online. As you may have seen in above image, in today's tutorial we will be going to learn to use the utilities components in Kodular Creator. These components will surely be useful for your future projects. In today tutorial we will learn to use these four utilities components. These are the main utilities components in kodular creator. There are also another utilities components which we will learn to use in further tutorials. So, let's start our tutorial without waiting any more..... 1. Wallpaper component Introduction: This component can be found at the last position in the utilities components under utilities option in sidebar. As you can understand by it's name this is used to access the wallpaper settings of user's device. This is very useful component while developing a app in which we allow user to change or modify wallpaper within the application. This app may be a browser app

How to use dynamic component in Kodular Creator ?

How to use dynamic components in Kodular Creator? Welcome back my dear friends, today we are back again with a complete new tutorial. Today we are going to learn How to use Dynamic components in Kodular Creator? As of all our tutorials I assure you you will find this tutorial very useful while developing any of you application which the no. of components are not fixed. So, we use dynamic components to add as much as number of components as we want. So, here we start our tutorial with some of FAQ's that will help you to learn what is concept of dynamic components if you didn't understood "What does dynamic components mean?"  FAQ's about Dynamic components 1. What are dynamic components? Dynamic components are the components which allows us to show as much as number of components in our application as we want. So, that we need not to update app to add any component in our application. This is useful when we are developing any application like Shopping application in

How to use KIO4 gradient in Kodular?

  Welcome to learn web, today we are back with a completely new tutorial on Kodular Basic-to -Advanced app making.Today topic for our tutorial is that how to use Gradient effect in Kodular app making for any layout. How to use gradient colors in kodular app? For this you need to use a extension named "KIO4" gradient.So,before starting you need to get this extension before we start our tutorial.To get this click on link below: My Drive Link This is the google drive link for the KIO4 extension. I think you might have got the extension.So, we start our tutorial on how to use gradient effect Kodular apps. Step 1:Open your Project in which you want to use gradient Effect.Then click on the extensions button in the bottom of left sidebar and click on import extension.Now select the KIO4 gradient file and click on Import after some time your extension will be processed and imported to your project. Illustration: Once you have Imported the KIO4 extension you can see the extension as s