@@ -18,6 +18,11 @@ abstract final class ZulipIcons {
1818 // or otherwise edit the SVG files there.
1919 // The files' names (before ".svg") should be valid Dart identifiers.
2020 //
21+ // * If the icon is directional (meaning it should point
22+ // the other way in RTL layouts), add its name in
23+ // `assets/icons/directional_icons.json`. For guidance, see:
24+ // https://m3.material.io/foundations/layout/understanding-layout/bidirectionality-rtl#ad90d075-6db4-457b-a15b-51fb6653c825
25+ //
2126 // * Then run the command `tools/icons/build-icon-font`.
2227 // That will update this file and the generated icon font,
2328 // `assets/icons/ZulipIcons.ttf`.
@@ -28,10 +33,10 @@ abstract final class ZulipIcons {
2833 static const IconData arrow_down = IconData (0xf101 , fontFamily: "Zulip Icons" );
2934
3035 /// The Zulip custom icon "arrow_left_right".
31- static const IconData arrow_left_right = IconData (0xf102 , fontFamily: "Zulip Icons" );
36+ static const IconData arrow_left_right = IconData (0xf102 , fontFamily: "Zulip Icons" , matchTextDirection : true );
3237
3338 /// The Zulip custom icon "arrow_right".
34- static const IconData arrow_right = IconData (0xf103 , fontFamily: "Zulip Icons" );
39+ static const IconData arrow_right = IconData (0xf103 , fontFamily: "Zulip Icons" , matchTextDirection : true );
3540
3641 /// The Zulip custom icon "at_sign".
3742 static const IconData at_sign = IconData (0xf104 , fontFamily: "Zulip Icons" );
@@ -64,7 +69,7 @@ abstract final class ZulipIcons {
6469 static const IconData chevron_down = IconData (0xf10d , fontFamily: "Zulip Icons" );
6570
6671 /// The Zulip custom icon "chevron_right".
67- static const IconData chevron_right = IconData (0xf10e , fontFamily: "Zulip Icons" );
72+ static const IconData chevron_right = IconData (0xf10e , fontFamily: "Zulip Icons" , matchTextDirection : true );
6873
6974 /// The Zulip custom icon "circle_x".
7075 static const IconData circle_x = IconData (0xf10f , fontFamily: "Zulip Icons" );
@@ -160,7 +165,7 @@ abstract final class ZulipIcons {
160165 static const IconData see_who_reacted = IconData (0xf12d , fontFamily: "Zulip Icons" );
161166
162167 /// The Zulip custom icon "send".
163- static const IconData send = IconData (0xf12e , fontFamily: "Zulip Icons" );
168+ static const IconData send = IconData (0xf12e , fontFamily: "Zulip Icons" , matchTextDirection : true );
164169
165170 /// The Zulip custom icon "settings".
166171 static const IconData settings = IconData (0xf12f , fontFamily: "Zulip Icons" );
0 commit comments