Skip to content

Commit 8e7e435

Browse files
authored
Add heart shapes to CupertinoIcons (flutter#29630)
1 parent 235577d commit 8e7e435

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

packages/flutter/lib/src/cupertino/icons.dart

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -848,4 +848,18 @@ class CupertinoIcons {
848848
///
849849
/// * [lab_flask], similar, but not filled in.
850850
static const IconData lab_flask_solid = IconData(0xf431, fontFamily: iconFont, fontPackage: iconFontPackage);
851+
852+
/// An outlined heart shape. Can be used to indicate like or favorite states.
853+
///
854+
/// See also:
855+
///
856+
/// * [heart_solid], same shape, but filled in.
857+
static const IconData heart = IconData(0xf442, fontFamily: iconFont, fontPackage: iconFontPackage);
858+
859+
/// A filled heart shape. Can be used to indicate like or favorite states.
860+
///
861+
/// See also:
862+
///
863+
/// * [heart], same shape, but not filled in.
864+
static const IconData heart_solid = IconData(0xf443, fontFamily: iconFont, fontPackage: iconFontPackage);
851865
}

0 commit comments

Comments
 (0)