Question: I've a JSON data file data.txt bellow :

```
{"Name": "Brian","scores": 8, "color": "red"}
{"Name": "Lina","scores": 2, "color": "blue"}
{"Name": "Brian","scores": 10, "color": "black"}
{"Name": "Brian","scores": 9, "color": "black"}

```

The json data as above JSON multiline in a file, I've code parse json decoded Object.

```
import json

studentsList = []

with open('data.txt') as f:
    for jsonObj in f:
        studentDict = json.loads(jsonObj)
        studentsList.append(studentDict)

for student in studentsList:
    if (student["Scores"]) >= 8:
        print(student["Name"],student["Color"])

```

Results:

```
Brian red
Brian black
Brian black

```

Question: Now I need to filter out information the result when variable "scores" >= 8 and other variables in the object counting up + 1 ?

Desire a result:

```
"Brian": 3 ,"black": 2 , "red": 1

```

Any ideas that can help me use on python3 .

Answer: 
By definition, the `Expanded` widget will fill up all the remaining screen space. If you instead want to use a set size, you can use a `Container` or `SizedBox` with their width and height parameters.

To get a better understanding of constraints in general, I suggest you check out [this flutter documentation page all about constraints](https://flutter.dev/docs/development/ui/layout/constraints).
To set a minimum and maximum size (width and height) for a widget you can use `ConstrainedBox` widget, learn more about it [here](https://api.flutter.dev/flutter/widgets/ConstrainedBox-class.html)