Afrikaans
Akan
Albanian
Amharic
Arabic
Armenian
Azerbaijani
Basque
Belarusian
Bemba
Bengali
Bihari
Bosnian
Breton
Bulgarian
Cambodian
Catalan
Cebuano
Cherokee
Chichewa
Chinese (Simplified)
Chinese (Traditional)
Corsican
Croatian
Czech
Danish
Dutch
English
Esperanto
Estonian
Ewe
Faroese
Filipino
Finnish
Frisian
Ga
Galician
Georgian
German
Greek
Guarani
Gujarati
Haitian Creole
Hausa
Hawaiian
Hebrew
Hindi
Hmong
Hungarian
Icelandic
Igbo
Indonesian
Interlingua
Irish
Italian
Japanese
Javanese
Kannada
Kazakh
Kinyarwanda
Kirundi
Kongo
Korean
Krio (Sierra Leone)
Kurdish
Kurdish (Soranรฎ)
Kyrgyz
Laothian
Latin
Latvian
Lingala
Lithuanian
Lozi
Luganda
Luo
Luxembourgish
Macedonian
Malagasy
Malay
Malayalam
Maltese
Maori
Marathi
Mauritian Creole
Moldavian
Mongolian
Myanmar (Burmese)
Montenegrin
Nepali
Nigerian Pidgin
Northern Sotho
Norwegian
Norwegian (Nynorsk)
Occitan
Oriya
Oromo
Pashto
Persian
Polish
Portuguese (Brazil)
Portuguese (Portugal)
Punjabi
Quechua
Romanian
Romansh
Runyakitara
Russian
Samoan
Scots Gaelic
Serbian
Serbo-Croatian
Sesotho
Setswana
Seychellois Creole
Shona
Sindhi
Sinhalese
Slovak
Slovenian
Somali
Spanish
Spanish (Latin American)
Sundanese
Swahili
Swedish
Tajik
Tamil
Tatar
Telugu
Thai
Tigrinya
Tonga
Tshiluba
Tumbuka
Turkish
Turkmen
Twi
Uighur
Ukrainian
Urdu
Uzbek
Vietnamese
Welsh
Wolof
Xhosa
Yiddish
Yoruba
Zulu
The text style can of course also be changed, not on the container but on the text itself. On the text if
you use control space,
you see you've got a bunch of arguments to configure how that text is rendered,
for example also what should happen if it exceeds the box it's inside. Here however, I'm interested
in the style which is of type text style,
so indeed you should create a text style object and now you can configure a lot of stuff about the text.
You can set its shadow, you can set a height and so on, here I want to set the font weight and I'll
set that to FontWeight.bold, font weight
here is a class with a lot of static properties like bold. So we don't instantiate font weight,
instead we access .bold like this because it's a static property.
Keep in mind, static properties are basically like enums, just that it's not a number with a label but
a more complex value with a label. That value
however, that complex value is then used by the text style in conjunction with the text widget,
so you just set this and you get a bold text.
You can also change the size, so we can set the font size here maybe to 20.
If you do that, it's bigger.
Please also note that the surrounding card and the container are automatically adjusted to the increased size.
So by default, that container grows with the content which is of course good.
So now we have this,
let's maybe also fine tune the color and for that here on the text,
we can go to style and set the color and let's set this maybe to purple which is one of the built-in
colors on that colors class.
Again, this is a static property on the colors class, just like font weight, colors acts as a grouping mechanism
and for the container where I also want to change the border color now, well we do that here when we set
up that border, so I'll change this to purple as well
and now we have that purple box.
So this is looking good, now as a little extra size, try doing similar style adjustments for your row.
I want to make sure that all the items are positioned on the left by default and not centered,
you learned about this earlier in this module and change the text styles there as well.
The title should also be bold, a little bit bigger not as big as the amount but a little bit bigger
regarding the font size and the date, whilst it still looks ugly,
should have a grayish color, so not black but grey and it should definitely be smaller than
the title here.
These are the adjustments I will make, in the next lecture,
definitely try it on your own first.
Can't find what you're looking for?
Get subtitles in any language from opensubtitles.com, and translate them here.