Search
 
SCRIPT & CODE EXAMPLE
 

DART

flutter listtile shape

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 :: clipboard flutter 
Dart :: onboarding screen flutter 
Dart :: OneSignalXCFramework (< 4.0, = 3.8.1, = 3.4.3) 
Dart :: camera focus permission in android 
Dart :: AnimatedCrossFade 
Dart :: carousel in flutter curved images onpressed 
Dart :: dart remove from list 
Dart :: global navigator key flutter 
Dart :: strapi starters 
Dart :: parse int to string in flutter 
Dart :: change notifier flutter example 
Dart :: how to store special characters in dart string 
Dart :: flutter map 
Dart :: flutter decreate saturation 
Dart :: how to check string id is valid id in string file android studio 
Dart :: text widget not recognize the currency symbol flutter 
Dart :: dart test matcher expecting a field value 
Dart :: var dump print object flutter dart 
Dart :: * In pubspec.yaml the flutter.plugin.{androidPackage,iosPrefix,pluginClass} keys are deprecated. Instead use the flutter.plugin.platforms key introduced in Flutter 1.10.0 
Dart :: Convertir la liste en carte dans Dart/Flutter 
Dart :: cascade notation 
Swift :: center a text in swiftui 
Swift :: how to replace certain characters in string swift 
Swift :: swiftui padding one line 
Swift :: create alert in swift 
Swift :: swift substring 
Swift :: prevent iphone to sleep swift 
Swift :: swiftui rectangle color 
Swift :: how to loop swift 
Swift :: how to set the spacing of a collection view swift 
ADD CONTENT
Topic
Content
Source link
Name
6+3 =