Monday, August 17, 2020

Container || Row||Column

 Container Widget









Happy Coding :)
.................................................................................................................................................................................................................................
Row  
TextDirection Propery
textDirection: TextDirection.rtl,

Code Here
Row(
  crossAxisAlignment: CrossAxisAlignment.center,
  textDirection: TextDirection.rtl,
  children: [
    Text(
      'Flutter',
      style: TextStyle(
        color: Colors.yellow,
        fontSize: 30.0
      ),
    ),
    Text(
      'Flutter',
      style: TextStyle(
          color: Colors.blue,
          fontSize: 20.0
      ),
    ),
  ],
);
Happy Coding :)
.................................................................................................................................................................................................................................
VerticalDirection Propery

  verticalDirection: VerticalDirection.up,
  verticalDirection: VerticalDirection.down,

Code Here
Row(
  crossAxisAlignment: CrossAxisAlignment.start,
  verticalDirection: VerticalDirection.down,
  children: [
    Text(
      'Flutter',
      style: TextStyle(
        color: Colors.yellow,
        fontSize: 30.0
      ),
    ),
    Text(
      'Flutter',
      style: TextStyle(
          color: Colors.blue,
          fontSize: 20.0
      ),
    ),
  ],
);

.................................................................................................................................................................................................................................



.................................................................................................................................................................................................................................


.................................................................................................................................................................................................................................


.................................................................................................................................................................................................................................


.................................................................................................................................................................................................................................





No comments:

Post a Comment