Home > Software design >  Flutter | I want add widget in left side how?
Flutter | I want add widget in left side how?

Time:11-11

enter image description here

im making a app using flutter how do I add a another Text widget in left side (Im new to Flutter)

CodePudding user response:

Try below answer hope its helpful to you. you can used ListTile and Row Widget refer ListTile Using ListTile

Using Row

Row(
  mainAxisAlignment: MainAxisAlignment.spaceAround,
  children: [
    CircleAvatar(),
    Text(
      'Make a word using letter  \'a\' ',
    ),
  ],
),   

Your result screen using Row-> using row

CodePudding user response:

Use Row Widget.

  Row(  
    mainAxisAlignment: MainAxisAlignment.spaceAround,
  children: [
    Text('Hello Flutter'),

    const Icon(
      Icons.schedule,
      size: 18,
      color: Colors.white54,
    ),
    const SizedBox(
      width: 4,
    ),
    const Text(
      ' min',
      style: TextStyle(
        fontSize: 11,
        color:  Color(0xfff1f1f1),
        fontWeight: FontWeight.w700,
      ),
    ),
  ],
);
  • Related