Created
October 29, 2019 19:28
-
-
Save aneury1/733948692306af5ff657a208d2b6ad7e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
getRow(final context,{text}){ | |
return | |
Container | |
( | |
decoration: BoxDecoration(border: Border.all(color: Colors.black45)), | |
padding: EdgeInsets.symmetric(horizontal: 8.0), | |
height: 70.0, | |
/// color: Colors.white10, | |
child: | |
Row | |
( | |
children: <Widget> | |
[ | |
IconButton(icon:Icon(Icons.photo,),iconSize: 25.0,color:Theme.of(context).primaryColor, onPressed: (){},), | |
Expanded(child:TextField(textCapitalization: TextCapitalization.sentences,onChanged: (value){print('this->$value');},decoration: InputDecoration.collapsed( hintText: (text==null?"type text":text)),)), | |
IconButton(icon:Icon(Icons.send,),iconSize: 25.0,color:Theme.of(context).primaryColor, onPressed: (){},), | |
], | |
), | |
); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment