Search
 
SCRIPT & CODE EXAMPLE
 

DART

flutter listtile shape border

ListTile(
              shape: RoundedRectangleBorder(borderRadius: BorderRadius.circular(20.0)),
              selected: true,
              selectedTileColor: Colors.grey[300],
              leading: FlutterLogo(),
              title: Text('ListTile'),
            ),
Comment

listtile shape flutter

Container(
      margin: const EdgeInsets.symmetric(vertical: 7.0, horizontal: 2.0),
      decoration: BoxDecoration(
        borderRadius: BorderRadius.circular(12.0),
        color: white,
        border: Border.all(
          color: blackTrans,
        ),
        boxShadow: [
          BoxShadow(
            color: Colors.purple[100]!,
            offset: const Offset(
              5.0,
              5.0,
            ),
            blurRadius: 10.0,
            spreadRadius: 2.0,
          ), //BoxShadow
          const BoxShadow(
            color: Colors.white,
            offset: Offset(0.0, 0.0),
            blurRadius: 0.0,
            spreadRadius: 0.0,
          ), //BoxShadow
        ],
      ),
      child: ListTile(
        onTap: () {
          print('${articles[index].titreArticle}');
        },
        title: Text('${articles[index].titreArticle}'),
        subtitle: Text(
          '${articles[index].description}',
          overflow: TextOverflow.ellipsis,
        ),
        isThreeLine: true,
        leading: CircleAvatar(
          radius: 22.sp,
          foregroundImage: NetworkImage('${articles[index].photo}'),
        ),
        trailing: Text('${articles[index].price} FCFA'),
      ),
    );
Comment

PREVIOUS NEXT
Code Example
Dart :: screen size flutter 
Dart :: flutter appbar remove debug 
Dart :: dart regex for email 
Dart :: flutter column center horizontal text 
Dart :: flutter get millis time 
Dart :: ElevatedButton flutter style 
Dart :: flutter clear navigation stack 
Dart :: flutter textinput number 
Dart :: flutter switch color 
Dart :: card border radius in flutter 
Dart :: flutter trigger show off keyboard 
Dart :: how to check whether index is exist or not in dart 
Dart :: flutter tooltip circle border 
Dart :: flutter portrait only 
Dart :: flutter scroll to bottom 
Dart :: flutter checkbox color 
Dart :: flutter datetime.now only time 
Dart :: no scroll physics flutter 
Dart :: dart list to json 
Dart :: verified publisher account on pub.dev using google blogger 
Dart :: flutter dictionary example 
Dart :: dart enum 
Dart :: flutter horizontal line 
Dart :: flutter add value to list<map<string, int 
Dart :: dart extension function 
Dart :: flutter How to dispose subscription 
Dart :: modify item in list dart 
Dart :: flutter appbar remove padding 
Dart :: flutter single line list 
Dart :: how to sort and order a list by date in flutter 
ADD CONTENT
Topic
Content
Source link
Name
3+9 =