Search
 
SCRIPT & CODE EXAMPLE
 

DART

seach flutter

Padding(
  padding: EdgeInsets.only(top: 16,left: 16,right: 16),
  child: TextField(
    decoration: InputDecoration(
      hintText: "Search...",
      hintStyle: TextStyle(color: Colors.grey.shade600),
      prefixIcon: Icon(Icons.search,color: Colors.grey.shade600, size: 20,),
      filled: true,
      fillColor: Colors.grey.shade100,
      contentPadding: EdgeInsets.all(8),
      enabledBorder: OutlineInputBorder(
          borderRadius: BorderRadius.circular(20),
          borderSide: BorderSide(
              color: Colors.grey.shade100
          )
      ),
    ),
  ),
),
Comment

seach flutter

return Scaffold(
      appBar: AppBar(
        elevation: 0,
        automaticallyImplyLeading: false,
        backgroundColor: Colors.white,
        flexibleSpace: SafeArea(
          child: Container(
            padding: EdgeInsets.only(right: 16),
            child: Row(
              children: <Widget>[
                IconButton(
                  onPressed: (){
                    Navigator.pop(context);
                  },
                  icon: Icon(Icons.arrow_back,color: Colors.black,),
                ),
                SizedBox(width: 2,),
                CircleAvatar(
                  backgroundImage: NetworkImage("<https://randomuser.me/api/portraits/men/5.jpg>"),
                  maxRadius: 20,
                ),
                SizedBox(width: 12,),
                Expanded(
                  child: Column(
                    crossAxisAlignment: CrossAxisAlignment.start,
                    mainAxisAlignment: MainAxisAlignment.center,
                    children: <Widget>[
                      Text("Kriss Benwat",style: TextStyle( fontSize: 16 ,fontWeight: FontWeight.w600),),
                      SizedBox(height: 6,),
                      Text("Online",style: TextStyle(color: Colors.grey.shade600, fontSize: 13),),
                    ],
                  ),
                ),
                Icon(Icons.settings,color: Colors.black54,),
              ],
            ),
          ),
        ),
      ),
      body: Container()
    );
Comment

PREVIOUS NEXT
Code Example
Dart :: Flutter: How to point to localhost:8000 with the Dart http package in Flutter? 
Dart :: flutter container padding 
Dart :: flutter fix problem keyboard resize screen 
Dart :: dictionary in dart 
Dart :: cricle in flutter 
Dart :: teledart flutter 
Dart :: how to show snackbar in initState() in flutter 
Dart :: inkwell not splashing in stack 
Dart :: double to int in dart 
Dart :: flutter raised button shadow 
Swift :: center text swiftui 
Swift :: save date to userdefaults swift 
Swift :: Check if device is iPhone or not swift ios 
Swift :: swift ui image on button 
Swift :: remove checkmark when selecting the cell again swift 5 
Swift :: how to make extension for optional in swift 
Swift :: pop the view controller xcode 
Swift :: swift javascript injection 
Swift :: swiftui play mp3 
Swift :: for each swiftui 
Swift :: how to bold text swiftui 
Swift :: swift sleep milliseconds 
Swift :: define enum swift 
Swift :: loop backwards swift 
Swift :: check enumatted arrray last item swift 
Swift :: swift convert string to int 
Swift :: record permission swift 4 
Swift :: swift string 
Swift :: sort list ios swift 
Swift :: value to value in sum 
ADD CONTENT
Topic
Content
Source link
Name
5+9 =