How to add rounded border radius to image in flutter ?
Readerstacks » Flutter
by Readerstacks
2y ago
In this article we will learn to add rounded border radius to image in flutter. In flutter rounded corner border can be added using borderRadius but to add the rounded border to image is not same because by adding the border radius to container it won’t apply to child image. In this article i will show you multiple methods to add rounded corner to image. We will use background image to add border radius, ClipRRect, ClipOval and CircleAvatar. In this example i will create a simple image with border radius, width and color of border as well. Flutter use BoxDecoration class to render the border a ..read more
Visit website
How to add rounded border radius to image in flutter ?
Readerstacks » Flutter
by Readerstacks
2y ago
In this article we will learn to add rounded border radius to image in flutter. In flutter rounded corner border can be added using borderRadius but to add the rounded border to image is not same because by adding the border radius to container it won’t apply to child image. In this article i will show you multiple methods to add rounded corner to image. We will use background image to add border radius, ClipRRect, ClipOval and CircleAvatar. In this example i will create a simple image with border radius, width and color of border as well. Flutter use BoxDecoration class to render the border a ..read more
Visit website
How to add one side border to container widget flutter?
Readerstacks » Flutter
by Readerstacks
2y ago
In this tutorial we will learn to add add one side border to container widget flutter. Border is used to create border around the widget or container and using the border we can style it in different way like adding the width of border, color of border and one side border. Flutter use BoxDecoration class and BorderSide class is user to render the border in container widget it accepts multiple options like border, border radius, color, background image, gradient, shape and etc. so to add the border first we need to add decoration option to container and then in decoration value we need to assig ..read more
Visit website
Create rounded corner using border radius in flutter ?
Readerstacks » Flutter
by Readerstacks
2y ago
Rounded corner gives a decent look to any widget and rounded corner can be create using the border radius property of container. we can add border radius or shape to any container, image, button, text, input and etc. so in this article we will learn to create rounded corner using border radius in flutter. Flutter use BoxDecoration class to render the border and borderRadius in container widget it accepts multiple options like border, border radius, color, background image, gradient, shape and etc. so to add the borderRadius first we need to add decoration option to container and then in decora ..read more
Visit website
How to add border to container or any widget flutter?
Readerstacks » Flutter
by Readerstacks
2y ago
In this tutorial we will learn to add border to container or any widget flutter. Border is used to create border around the widget or container and using the border we can style it in different way like adding the width of border, color of border and one side border. Flutter use BoxDecoration class to render the border in container widget it accepts multiple options like border, border radius, color, background image, gradient, shape and etc. so to add the border first we need to add decoration option to container and then in decoration value we need to assign BoxDecoration class to implement ..read more
Visit website
How to Use Hash Hexadecimal Color Code in flutter ?
Readerstacks » Flutter
by Readerstacks
2y ago
Flutter provides color class to use only integer value and RGB value but to use hash hexadecimal color code in flutter we need to add extra efforts so that we can use hash based hexadecimal string in flutter. Hexadecimal colors are those colors which starts with # char. Flutter Color class creates color using the integer and we can create hash based color for black as follow const Color(0xff000000); //#000000 const Color(0xff7f1c1c); //#7f1c1c Creating by this above method can be difficult every time. So in this article we will also learn to use simple way to use Hash Hexadecimal Color Code ..read more
Visit website
How to Create Checkbox in Flutter?
Readerstacks » Flutter
by Readerstacks
2y ago
In this tutorial we will learn to create checkbox in flutter application. Checkbox is used to provide multiple options to users and they can select multiple value for same input. Usage of checkbox input can be for remember me, check terms and condition, multiple answers questions choices and etc. Flutter providers most of the widgets and input like checkbox, text field, password, textarea and in this article we will create the simple checkbox with check and uncheck values. You can simple create checkbox as follow Checkbox( value: rememberMe, onChanged:(bool newValue){ set ..read more
Visit website
How to Remove Debug Text Banner in Flutter Application?
Readerstacks » Flutter
by Readerstacks
2y ago
In this tutorial we will learn to remove debug text banner in flutter application. When we first time setup the project and install it in device it shows debug text banner at right top side of application so if we want to remove it we simply need to add debugShowCheckedModeBanner to Material app or Cupertino app. To hide or remove the debug banner add debugShowCheckedModeBanner with value false to Material App or Cupertino app. You can simple add it as follow MaterialApp( debugShowCheckedModeBanner: false ) CupertinoApp( debugShowCheckedModeBanner: false ) Note: You only need to add it ..read more
Visit website
How to create bottom tab bar in flutter ?
Readerstacks » Flutter
by Readerstacks
2y ago
In this tutorial i will show you to create bottom tab in flutter. Now days bottom tabbing is much popular then creating drawer because tabbing is much easy to user and you can easily switch between the tabs. I will show you in this article to change the color of tab , icon and customize the icon of the tab. We will use sample content in each tab. To create the bottom tab bar we will use BottomNavigationBar. BottomNavigationBar used to show the icons and label in the bottom and we can select a tab at a time. Step 1 : Create flutter project Very first step is to create the fluter application us ..read more
Visit website
How to create a scroll view in flutter ?
Readerstacks » Flutter
by Readerstacks
2y ago
Flutter provides multiple way to scroll the view and one of the most efficient way is ListView.builder. Using the ListView class we can configure multiple options. Using these widgets we can create horizontal as well vertical scroll. ListView GridView CustomScrollView DraggableScrollableSheet NestedScrollView PageView SingleChildScrollView Here are the few scroll widgets list which are most used in flutter. In this article we will learn to show the scroll using Listview and a brief example of other Scroll widgets. ListView – Listview shows items in linear way and it can handle large list da ..read more
Visit website

Follow Readerstacks » Flutter on FeedSpot

Continue with Google
Continue with Apple
OR