slash widget in flutter code example Example: text line through flutter Text('\$8.99', style: TextStyle(decoration: TextDecoration.lineThrough))