Text( 'Password', style: TextStyle( color: Colors.white, ), ), Container( decoration: BoxDecoration( border: Border.all(color: Colors.black26), ), child: TextFormField( decoration: InputDecoration( labelText: 'Enter Password Here', labelStyle: TextStyle( color: Colors.white, fontSize: 14, ), prefixIcon: Icon(Icons.lock), contentPadding: EdgeInsets.all(5), ), ), ),
Preview:
downloadDownload PNG
downloadDownload JPEG
downloadDownload SVG
Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!
Click to optimize width for Twitter