Vous êtes sur la page 1sur 2

body:SafeArea(

container
child : texte ou image
color
height
width
margin exter Edgeinset
padding inter Edgeinset )

pour avoir plusieurs child on uutilise colomn

body:SafeArea(
child:Column(
children:[
container
child : texte ou image
color
height
width
)
container
child : texte ou image
color
height
width

mainAxisSize pour modifier ma colonne


vertical direct up wla down
mainaxesalignement centre start end space evently ....

mainaxesalignemen li yji b tol


crossaxesalignemen li yji bl3Rd

sizebox ndiroh bin les colonnes


endo heigth w width
n9dro tan ndiro fiha devider li howa une ligne yji dakhl un child w fih tan height
and width

CERCLEAVATAR
endo radius
background color image ..
text.. on peut changer le style du text avec style:textstyle fih color fontweight
googlefont ndiroh f new folder li howa fonts apr pubyam fonts nbdlo family et f
asset nkhlo ghir lwla w nbdlo le mot li juste apr /
apr ntchkoh f fontfamily :'cairo' hda li f le prgrm

astuce ndiro colonne logiquement plusieurs children apr dakhlha ndiro container li
fih un seul child w dkhlo ndiro row li fiha plusieurs children

card au lieu de container juste ma fihach padding mais kyn une solution li hiya
padding widget(exp aklilki f la lampe tae row tl9a row with padding)
et les angles tawaeha yjo mdwrin
et lhaja chaba f card widget hiya t9der tutilisi Listtile() ak tl9a capture ksh ji

expanded tmchi mea les colonne et les row triglilk limage ela hsabhom bch mjich
kharja ela tlf
endha un propriete flex par exp jai deux images lwla ndirlha flex 2 w deuxieme flex
1 lwla tdi espc double par rapport l deuxiem

flatbutton yji fiha padding automatiquement


raised button yji biha background
lzm nzidoulo onPressed:() {wsh ysra ki n3bzo elih}
; pour la fin de la fonction
setState() ji dakhl on pressed comme si hdk le button jeune tae run

Vous aimerez peut-être aussi