Search
 
SCRIPT & CODE EXAMPLE
 

DART

flutter listtile

ListTile(
      title: Text('ListTile'),
      isThreeLine: true,
      subtitle: Text('Secondary text
Tertiary text'),
      leading: Icon(Icons.label),
      trailing: Text('Metadata'),
    ),
Comment

flutter list tile

ListTile(
  leading: const Icon(Icons.flight_land),
  title: const Text("Trix's airplane"),
  subtitle: const Text('The airplane is only in Act II.'),
  onTap: () => print("ListTile")
)
Comment

flutter ListTile

// using card
Card(
          elevation: 5,
          child: ListTile(
            leading: Icon(Icons.icecream),
            title: Text('I like icecream'),
            subtitle: Text('Icream is good for health'),
            trailing: Icon(Icons.food_bank),
          ),
        ),
        
// using ListView.builder
ListView.builder(
      itemCount: dummyList.length,
      itemBuilder: (context, index) => Card(
        elevation: 6,
        margin: EdgeInsets.all(10),
        child: ListTile(
          leading: CircleAvatar(
            child: Text(dummyList[index]["id"].toString()),
            backgroundColor: Colors.purple,
          ),
          title: Text(dummyList[index]["title"]),
          subtitle: Text(dummyList[index]["subtitle"]),
          trailing: Icon(Icons.add_a_photo),
        ),
      ),
    )
Comment

flutter ListTile

Card(
          elevation: 5,
          child: ListTile(
            leading: Icon(Icons.icecream),
            title: Text('I like icecream'),
            subtitle: Text('Icream is good for health'),
            trailing: Icon(Icons.food_bank),
          ),
        ),
Comment

listtile flutter

          ListTile(
                    tileColor: Colors.white,
                    leading: Image(
                      image: NetworkImage(
                          'https://jardin-secrets.com/image.php?/12435/photo-dracaena-fragrans_krzysztof-ziarnek.jpg'),
                    ),
                    title: Text("Dragonnier"),
                    subtitle: Text("Dracaena"),
                    isThreeLine: true,
                    trailing: Icon(Icons.more_vert)
                ),
Comment

PREVIOUS NEXT
Code Example
Dart :: flutter mirror-inverted widget 
Dart :: flutter disable horizontal 
Dart :: dart data class generator 
Dart :: make text filed round flutter 
Dart :: flutter radio buttons in alert dialoug 
Dart :: dash border style flutter 
Dart :: open popupbutton onclick in flutter 
Dart :: splite number in dart 
Dart :: how to validate textformfield on text change flutter 
Dart :: sizedbox flutter 
Dart :: Shadow box around a button Flutter 
Dart :: dart exception 
Dart :: show dialog close flutter 
Dart :: flutter datetime 
Dart :: double to animation in flutter 
Dart :: dart print item # of a list 
Dart :: dart create singleton with parameters 
Dart :: base64encode flutter 
Dart :: flutter toast 
Dart :: aws ec2 upload file 
Dart :: What is Dart? 
Dart :: Named parameters dart 
Dart :: FlutterError (Navigator operation requested with a context that does not include a Navigator. The context used to push or pop routes from the Navigator must be that of a widget that is a descendant of a Navigator widget.) 
Dart :: getting date from 12am dart 
Dart :: lifecycle methods flutter 
Dart :: flutter color 
Dart :: dart list remove item by text 
Dart :: dart map where 
Dart :: use a class variable in other class in flutter 
Dart :: dart formatter stuck 
ADD CONTENT
Topic
Content
Source link
Name
6+8 =