Search
 
SCRIPT & CODE EXAMPLE
 

DART

textfield border radius flutter

TextFormField(
  decoration: InputDecoration(
    border: OutlineInputBorder(
      borderRadius: BorderRadius.circular(8),
    ),
  ),
),
Comment

flutter textfield rounded

TextField(
                decoration: InputDecoration(
                  border: OutlineInputBorder(
                    borderRadius: BorderRadius.circular(30.0),
                  )
                ),
              )
Comment

textfield border radius flutter

TextField(
     decoration: InputDecoration(
        border: OutlineInputBorder(
           borderRadius: BorderRadius.circular(30),
           borderSide: BorderSide(color: Colors.grey, width: 1.5),
        ),    
    ),
)
Comment

textfield border radius flutter

TextField(
   cursorHeight: 20,
   autofocus: false,
   controller: TextEditingController(text: "Initial Text here"),
   decoration: InputDecoration(
      labelText: 'Enter your username',
      hintText: "Enter your Name",
      prefixIcon: Icon(Icons.star),
      suffixIcon: Icon(Icons.keyboard_arrow_down),
      contentPadding: const EdgeInsets.symmetric(vertical: 10,horizontal: 10),
      border: OutlineInputBorder(
          borderRadius: BorderRadius.circular(30),
          borderSide: BorderSide(color: Colors.grey, width: 2),
      ),
      enabledBorder: OutlineInputBorder(
        borderRadius: BorderRadius.circular(30),
        borderSide: BorderSide(color: Colors.grey, width: 1.5),
     ),
     focusedBorder: OutlineInputBorder(
        gapPadding: 0.0,
        borderRadius: BorderRadius.circular(30),
        borderSide: BorderSide(color: Colors.red, width: 1.5),
     ),
   ),
)
Comment

make text filed round flutter

new TextField(
  decoration: new InputDecoration(
      border: new OutlineInputBorder(
        borderRadius: const BorderRadius.all(
          const Radius.circular(10.0),
        ),
      ),
      filled: true,
      hintStyle: new TextStyle(color: Colors.grey[800]),
      hintText: "Type in your text",
      fillColor: Colors.white70),
)
Comment

PREVIOUS NEXT
Code Example
Dart :: flutter textformfield decimal 
Dart :: Keyboard Pushes Text Fields off screen flutter 
Dart :: flutter insecure http is not allowed by platform 
Dart :: dart convert string to datetime 
Dart :: Flutter: Setting the height of the AppBar 
Dart :: dart timestamp 
Dart :: dart yaxlitlash 
Dart :: regex numbers only dart 
Dart :: How to add a circular dot as an indicator in Flutter Tabs? 
Dart :: flutter cliprrect 
Dart :: dart parse boolean from string 
Dart :: hive regiter adapter enum 
Dart :: cross icon flutter 
Dart :: dart loop through map 
Dart :: Attribute application@icon value=(@mipmap/launcher_icon) from AndroidManifest.xml:17:9-45 
Dart :: flutter image asset 
Dart :: operators in dart 
Dart :: image from assets in flutter 
Dart :: how to subtract dates in flutter 
Dart :: get one document firestore flutter dart 
Dart :: flutter alertdialog padding 
Dart :: ElevatedButton background flutter 
Dart :: bottomsheet shape flutter 
Dart :: dart setters 
Dart :: using the late keyword in flutter 
Dart :: base64encode flutter 
Dart :: dart round 
Dart :: perform async task when build is done flutter 
Dart :: how to use flaticon as icon in flutter 
Dart :: pub http 
ADD CONTENT
Topic
Content
Source link
Name
6+4 =