Tag Archives: filter chips

Wrap Widget & Chip Widgets in Flutter

By | January 30, 2020

Wrap widget is such a useful widget in many circumstances. Watch Video Tutorial First Let’s create a Chip Widget. [java] Widget chip(String label, Color color) { return Chip( labelPadding: EdgeInsets.all(5.0), avatar: CircleAvatar( backgroundColor: Colors.grey.shade600, child: Text(label[0].toUpperCase()), ), label: Text( label, style: TextStyle( color: Colors.white, ), ), backgroundColor: color, elevation: 6.0, shadowColor: Colors.grey[60], padding: EdgeInsets.all(6.0), ); } [/java] Theā€¦ Read More »