Posts by Fernando Foster • 121 points
10 posts
-
-2
votes1
answer270
viewsQ: Wait for an asynchronous function to finish to continue
I can expect an asynchronous terminal function to continue the code? I have an asynchronous function with a Try/catch and want to catch the bug to treat. Login(BuildContext context) async { try {…
-
1
votes2
answers687
viewsQ: How to pick up text from a multi-line textfield in a list with one item per line
I wonder if you have any way to take a text from a textfield and turn it into a list. Text with an item on each line. To B C D List = [learns A', learns B', learns C', learns'] I tried to use one…
flutterasked Fernando Foster 121 -
0
votes1
answer142
viewsQ: Change an entire Scaffold body
Hello! I’m trying to finalize an app, but I stopped in a problem. I have a screen with a Scaffold and a action in appBar with widget that returns the date. I would like to know how to update a text…
-
-1
votes1
answer88
viewsQ: Filter and do not pick up repeated firestore data on flutter
I have in the Firestore the following given. user1 = {'horário':'manhã'} user2 = {'horário':'manhã'} user3 = {'horário':'tarde'} user4 = {'horário':'manhã'} user5 = {'horário':'tarde'} I create…
-
-1
votes1
answer73
viewsQ: Using value returned in function to create a listview flutter
I have a function that accesses the Firestore and returns a list, when I click on a button this function is called and should create a lisrviwerbuilder(). But I don’t know why he doesn’t create.…
flutterasked Fernando Foster 121 -
1
votes0
answers29
viewsQ: access database data from a specific colula
I have a database with a list_students table, str(name) field and str(serie) field, someone can explain me why I can’t access the names that contain only the series I passed? conn =…
-
1
votes0
answers108
viewsQ: Captuar properties of a dynamically added Kivy boot
I have a problem, I have an app created in Python and Kivy that has a screen that as soon as it is accessed creates some buttons dynamically. I would like to know how to capture the text of the…
-
7
votes2
answers634
viewsQ: How to use different . Kv files in a Kivy application?
I am trying to create a game using Kivy in Python language and I would like to know how I can use different files .kv to be used in the application as levels for the game. Example: main.py game.kv…
-
1
votes1
answer535
viewsQ: Access functions within classes in kivy + python
This is the file . py class Tela(): pass class teste(): def chama(self): pass def save_d(self): pass class Prg(App): def build(self): return Tela() Prg().run() This is the file . Kv <Tela>:…
-
1
votes0
answers32
viewsQ: Textinput - doubt - doubt?
I wonder how to capture the text of textinput. self.ids.grid.cols = 4 for i in range(12): self.ids.grid.add_widget(TextInput(id = str(i+1), text = 'Teste')) For example, I would like to be able to…
python-kivyasked Fernando Foster 121