Posts by Matheus • 131 points
14 posts
-
1
votes1
answer355
viewsA: Separating Flutter components
First, the widgets that will compose your AlertDialog must be in the attribute content Your FlatButton must be out of that Row that you put, there must be each loose within the attribute actions I…
-
0
votes2
answers1866
viewsA: Flutter - How to change the size of a Textfield correctly?
You can add the maxLines attribute, it makes the text not jump to the bottom line when it exceeds the Textfield limit. Container( height: 45, padding: EdgeInsets.symmetric(horizontal: 10), child:…
-
0
votes1
answer246
viewsA: How to take an entire Edittext value
You can use it this way: int result = Integer.valueOf(seu_edit_text); Thus converts the value of Edittext to integer numeric, but it is good to define in Edittext to accept only numbers, if it will…
-
2
votes2
answers1700
viewsA: How to prevent the user from returning to the login screen after logging into the flutter?
You can clear the navigation stack after successfully logging in. Use your Navigator this way for the new screen: Navigator.of(context).pushAndRemoveUntil(MaterialPageRoute(builder:…
-
0
votes3
answers3057
viewsA: Current location - Flutter
I used this way using the package Location Serves to pick up the current location of the GPS, checks if it is given the GPS permission for the application, if it does not ask to authorize and then…
-
1
votes1
answer615
viewsA: CRUD in flutter
Regarding the age update your error is time to set the entered value to _editedClient.age, try changing the age Textfield for this: TextField( controller: _idadeController, decoration:…
-
1
votes1
answer1139
viewsA: How to use profile image in flutter?
Opa Thiago goodnight, as promised here is an example of how I used Boxdecoration to leave the images with rounded edges: Here is an example of a rectangle with rounded edges: Decoration…
-
0
votes1
answer67
viewsA: Use seters methods within a void function
Analyzing your code, the values of the attribute aplicativo will only be available within the public void. I would do the following to use the returned JSON values out of the function: //Início…
-
1
votes2
answers1192
viewsA: How to open the link by clicking on a Gridview image and placing the name below it?
You should add the package: url_launcher: 5.2.0 And it would be more like this, in place of the link that I mounted on Launch, you put the link that you get via webservice or the link of some array…
-
1
votes2
answers998
views -
2
votes2
answers4378
viewsA: Positioning in flutter columns
It also has the Stack method that you can position each element where you want Here are some examples: Source: Medium.com Stack( children: <Widget>[ BottomWidget(), MiddleWidget(),…
-
0
votes1
answer19
viewsA: How to take value from a Radiobuton to save in a Class
Your note string already has the value of the setNota method, what would be the problem? To redeem what you have in the note variable you can try using it like this: // Exemplo: String notaNova =…
-
0
votes1
answer737
views -
0
votes1
answer737
views