diff --git a/.gitignore b/.gitignore
index f61f620a1..818643006 100644
--- a/.gitignore
+++ b/.gitignore
@@ -31,6 +31,7 @@ doc/
.pub-cache/
.pub/
build/
+coverage/
# Android related
**/android/**/gradle-wrapper.jar
diff --git a/coverage/lcov.info b/coverage/lcov.info
deleted file mode 100644
index d7fab6e85..000000000
--- a/coverage/lcov.info
+++ /dev/null
@@ -1,3668 +0,0 @@
-SF:lib/src/helpers/compare_mixin.dart
-DA:10,3
-DA:11,12
-DA:18,34
-DA:24,34
-DA:25,68
-DA:28,57
-DA:29,34
-DA:30,34
-DA:33,48
-DA:34,14
-DA:37,67
-DA:38,13
-DA:41,81
-DA:45,27
-DA:55,34
-DA:56,34
-DA:62,3
-DA:64,3
-DA:65,2
-DA:66,10
-DA:67,4
-DA:68,8
-DA:74,3
-DA:75,0
-DA:78,3
-DA:79,4
-DA:80,4
-DA:83,4
-DA:87,9
-DA:88,12
-DA:90,6
-DA:94,3
-DA:95,12
-DA:96,6
-DA:98,12
-DA:104,2
-DA:105,6
-DA:107,3
-DA:109,5
-DA:110,1
-DA:112,1
-DA:116,2
-DA:118,2
-DA:129,3
-DA:132,55
-DA:135,49
-DA:136,147
-DA:137,138
-DA:141,6
-DA:142,30
-DA:145,0
-DA:147,0
-DA:150,0
-DA:152,0
-DA:153,0
-DA:154,0
-DA:156,0
-DA:157,0
-DA:158,0
-DA:160,0
-DA:161,0
-DA:162,0
-DA:164,0
-DA:165,0
-DA:166,0
-DA:167,0
-DA:171,0
-DA:178,3
-DA:180,12
-LF:69
-LH:51
-end_of_record
-SF:lib/src/attributes/border/border_dto.dart
-DA:21,8
-DA:30,4
-DA:31,4
-DA:32,4
-DA:33,8
-DA:34,8
-DA:35,8
-DA:36,8
-DA:40,1
-DA:41,1
-DA:42,2
-DA:43,2
-DA:44,2
-DA:45,2
-DA:49,0
-DA:56,2
-DA:57,2
-DA:60,15
-DA:62,3
-DA:64,11
-DA:66,1
-DA:67,2
-DA:70,0
-DA:77,2
-DA:80,1
-DA:81,1
-DA:82,1
-DA:83,1
-DA:84,1
-DA:85,1
-DA:86,1
-DA:87,1
-DA:91,0
-DA:92,0
-DA:93,0
-DA:94,0
-DA:95,0
-DA:96,0
-DA:103,5
-DA:105,5
-DA:106,1
-DA:107,2
-DA:108,2
-DA:109,2
-DA:110,2
-DA:114,5
-DA:115,10
-DA:116,10
-DA:117,10
-DA:118,10
-DA:122,2
-DA:123,14
-DA:133,9
-DA:140,5
-DA:141,5
-DA:142,10
-DA:143,5
-DA:144,5
-DA:145,5
-DA:149,1
-DA:155,1
-DA:156,0
-DA:157,1
-DA:158,1
-DA:159,0
-DA:163,1
-DA:167,1
-DA:168,3
-DA:169,2
-DA:170,1
-DA:171,1
-DA:175,7
-DA:179,7
-DA:180,15
-DA:181,7
-DA:182,9
-DA:183,11
-DA:187,3
-DA:188,15
-LF:79
-LH:69
-end_of_record
-SF:lib/src/core/attribute.dart
-DA:8,370
-DA:14,6
-DA:19,59
-DA:71,365
-DA:80,269
-DA:85,22
-DA:102,564
-LF:7
-LH:7
-end_of_record
-SF:lib/src/factory/mix_provider_data.dart
-DA:25,45
-DA:31,45
-DA:32,45
-DA:34,45
-DA:36,45
-DA:38,45
-DA:42,8
-DA:43,8
-DA:48,21
-DA:49,14
-DA:52,7
-DA:53,7
-DA:54,7
-DA:61,22
-DA:66,7
-DA:67,7
-DA:70,22
-DA:71,44
-DA:72,22
-DA:74,19
-DA:77,3
-DA:78,6
-DA:81,10
-DA:82,50
-DA:85,0
-DA:86,0
-DA:87,0
-DA:89,0
-DA:90,0
-DA:91,0
-DA:95,7
-DA:96,7
-DA:97,7
-DA:98,21
-DA:103,0
-DA:104,0
-DA:107,45
-DA:112,135
-DA:114,90
-DA:115,90
-DA:118,45
-DA:119,135
-DA:122,1
-DA:123,1
-DA:125,2
-DA:126,2
-DA:127,0
-DA:129,1
-DA:133,1
-DA:134,0
-DA:135,0
-DA:137,0
-DA:141,2
-DA:142,1
-DA:147,1
-DA:148,0
-DA:151,1
-DA:154,1
-DA:159,3
-DA:162,19
-DA:163,19
-DA:165,19
-DA:166,0
-LF:63
-LH:49
-end_of_record
-SF:lib/src/attributes/color/color_dto.dart
-DA:19,43
-DA:21,6
-DA:22,6
-DA:24,29
-DA:26,29
-DA:28,35
-DA:31,9
-DA:33,14
-DA:36,12
-DA:37,24
-LF:10
-LH:10
-end_of_record
-SF:lib/src/attributes/border/border_radius_dto.dart
-DA:32,9
-DA:43,3
-DA:44,3
-DA:45,3
-DA:46,3
-DA:47,3
-DA:48,3
-DA:49,3
-DA:53,0
-DA:54,0
-DA:55,0
-DA:56,0
-DA:57,0
-DA:58,0
-DA:62,0
-DA:69,2
-DA:70,2
-DA:73,6
-DA:74,6
-DA:75,6
-DA:76,6
-DA:77,6
-DA:79,3
-DA:83,2
-DA:84,3
-DA:85,3
-DA:86,3
-DA:87,3
-DA:88,4
-DA:89,4
-DA:90,4
-DA:91,4
-DA:95,6
-DA:97,6
-DA:100,10
-DA:103,6
-DA:104,1
-DA:105,2
-DA:106,2
-DA:107,2
-DA:108,2
-DA:110,6
-DA:111,12
-DA:112,12
-DA:113,12
-DA:114,12
-DA:118,3
-DA:119,3
-DA:120,3
-DA:121,3
-DA:122,3
-DA:123,3
-DA:124,3
-DA:125,3
-DA:126,3
-DA:127,3
-LF:56
-LH:49
-end_of_record
-SF:lib/src/theme/tokens/radius_token.dart
-DA:16,80
-DA:18,3
-DA:19,3
-DA:21,3
-DA:23,9
-DA:25,3
-DA:26,0
-DA:30,3
-DA:41,0
-DA:49,6
-DA:51,1
-DA:55,4
-DA:58,0
-DA:59,0
-DA:68,1
-DA:70,0
-DA:74,0
-DA:77,3
-DA:79,3
-DA:81,3
-DA:83,3
-LF:21
-LH:15
-end_of_record
-SF:lib/src/theme/tokens/color_token.dart
-DA:13,82
-DA:16,5
-DA:17,5
-DA:24,5
-DA:26,15
-DA:28,5
-DA:29,0
-DA:32,5
-DA:33,2
-DA:47,2
-DA:59,10
-DA:61,0
-DA:65,0
-DA:68,0
-DA:69,0
-LF:15
-LH:10
-end_of_record
-SF:lib/src/attributes/constraints/constraints_dto.dart
-DA:8,9
-DA:28,9
-DA:36,2
-DA:37,2
-DA:38,2
-DA:39,2
-DA:40,2
-DA:41,2
-DA:48,0
-DA:49,0
-DA:53,3
-DA:55,3
-DA:56,3
-DA:57,3
-DA:58,3
-DA:59,3
-DA:64,3
-DA:68,3
-DA:69,5
-DA:70,6
-DA:71,5
-DA:72,4
-DA:76,4
-DA:77,20
-LF:24
-LH:22
-end_of_record
-SF:lib/src/attributes/decoration/decoration_dto.dart
-DA:27,17
-DA:29,0
-DA:32,0
-DA:33,0
-DA:35,0
-DA:36,0
-DA:39,0
-DA:40,0
-DA:63,17
-DA:73,2
-DA:74,2
-DA:75,4
-DA:76,4
-DA:77,4
-DA:78,4
-DA:79,6
-DA:80,2
-DA:87,0
-DA:88,0
-DA:92,10
-DA:94,10
-DA:95,19
-DA:96,13
-DA:97,14
-DA:98,10
-DA:99,11
-DA:100,10
-DA:105,7
-DA:109,6
-DA:110,17
-DA:111,13
-DA:113,16
-DA:114,12
-DA:115,12
-DA:119,5
-DA:121,35
-DA:131,4
-DA:138,1
-DA:139,1
-DA:140,2
-DA:141,1
-DA:142,2
-DA:143,3
-DA:147,0
-DA:148,0
-DA:151,1
-DA:153,1
-DA:154,1
-DA:155,2
-DA:156,5
-DA:157,1
-DA:161,1
-DA:165,1
-DA:166,2
-DA:167,2
-DA:168,1
-DA:169,2
-DA:173,2
-DA:174,10
-LF:59
-LH:48
-end_of_record
-SF:lib/src/core/extensions/iterable_ext.dart
-DA:7,3
-DA:9,3
-DA:10,6
-DA:11,3
-DA:19,3
-DA:20,3
-DA:21,3
-DA:28,1
-DA:31,1
-DA:33,1
-DA:34,1
-DA:35,1
-DA:37,2
-DA:38,2
-DA:39,1
-DA:40,1
-DA:41,1
-DA:42,1
-DA:46,0
-DA:47,0
-DA:50,0
-LF:21
-LH:18
-end_of_record
-SF:lib/src/attributes/gradient/gradient_dto.dart
-DA:29,6
-DA:33,3
-DA:34,3
-DA:35,3
-DA:37,2
-DA:38,2
-DA:40,1
-DA:41,1
-DA:44,0
-DA:50,2
-DA:51,2
-DA:62,0
-DA:63,0
-DA:85,6
-DA:95,4
-DA:96,4
-DA:97,4
-DA:98,4
-DA:99,4
-DA:100,4
-DA:101,12
-DA:102,4
-DA:109,0
-DA:110,0
-DA:114,3
-DA:116,3
-DA:117,3
-DA:118,3
-DA:119,16
-DA:120,9
-DA:121,3
-DA:122,3
-DA:127,1
-DA:131,1
-DA:132,1
-DA:133,1
-DA:134,2
-DA:135,2
-DA:136,3
-DA:137,3
-DA:141,4
-DA:142,28
-DA:188,4
-DA:200,3
-DA:201,3
-DA:202,3
-DA:203,3
-DA:204,3
-DA:205,3
-DA:206,3
-DA:207,3
-DA:208,9
-DA:209,3
-DA:216,0
-DA:217,0
-DA:221,2
-DA:223,2
-DA:224,2
-DA:225,2
-DA:226,11
-DA:227,8
-DA:228,2
-DA:229,2
-DA:230,2
-DA:231,2
-DA:236,1
-DA:240,1
-DA:241,1
-DA:242,1
-DA:243,2
-DA:244,2
-DA:245,2
-DA:246,2
-DA:247,3
-DA:248,3
-DA:252,3
-DA:254,27
-DA:277,3
-DA:288,2
-DA:289,2
-DA:290,2
-DA:291,2
-DA:292,2
-DA:293,2
-DA:294,2
-DA:295,6
-DA:296,2
-DA:303,0
-DA:304,0
-DA:308,2
-DA:310,2
-DA:311,2
-DA:312,2
-DA:313,2
-DA:314,11
-DA:315,8
-DA:316,2
-DA:317,2
-DA:322,1
-DA:326,1
-DA:327,1
-DA:328,1
-DA:329,1
-DA:330,2
-DA:331,2
-DA:332,3
-DA:333,3
-DA:337,2
-DA:339,16
-LF:109
-LH:100
-end_of_record
-SF:lib/src/attributes/shadow/shadow_dto.dart
-DA:14,7
-DA:33,4
-DA:36,2
-DA:37,2
-DA:38,2
-DA:39,4
-DA:40,2
-DA:47,1
-DA:48,1
-DA:52,2
-DA:56,2
-DA:57,4
-DA:58,2
-DA:59,2
-DA:64,1
-DA:68,1
-DA:69,1
-DA:70,1
-DA:71,1
-DA:75,0
-DA:76,0
-DA:90,6
-DA:98,4
-DA:99,4
-DA:100,8
-DA:101,4
-DA:102,4
-DA:103,4
-DA:108,1
-DA:109,1
-DA:113,4
-DA:117,4
-DA:118,8
-DA:119,4
-DA:120,4
-DA:121,4
-DA:126,1
-DA:130,1
-DA:131,3
-DA:132,1
-DA:133,1
-DA:134,1
-DA:138,3
-DA:139,15
-LF:44
-LH:42
-end_of_record
-SF:lib/src/attributes/nested_style/nested_style_attribute.dart
-DA:12,2
-DA:14,2
-DA:18,8
-DA:21,0
-DA:24,2
-DA:25,4
-LF:6
-LH:5
-end_of_record
-SF:lib/src/factory/style_mix.dart
-DA:37,0
-DA:38,0
-DA:39,0
-DA:40,0
-DA:41,0
-DA:46,220
-DA:50,51
-DA:66,27
-DA:88,27
-DA:91,27
-DA:93,27
-DA:105,51
-DA:106,51
-DA:107,51
-DA:109,78
-DA:110,27
-DA:111,27
-DA:112,6
-DA:113,4
-DA:114,3
-DA:115,8
-DA:116,8
-DA:118,2
-DA:122,51
-DA:123,51
-DA:124,51
-DA:137,3
-DA:138,3
-DA:140,5
-DA:143,0
-DA:144,0
-DA:150,18
-DA:153,5
-DA:156,2
-DA:161,3
-DA:191,1
-DA:192,2
-DA:202,0
-DA:203,0
-DA:208,7
-DA:212,7
-DA:213,0
-DA:214,0
-DA:224,8
-DA:227,21
-DA:228,21
-DA:230,7
-DA:259,3
-DA:261,3
-DA:266,3
-DA:267,3
-DA:272,9
-DA:273,3
-DA:274,3
-DA:276,3
-DA:280,3
-DA:281,3
-DA:282,3
-DA:286,3
-DA:292,15
-DA:295,3
-DA:298,3
-DA:324,1
-DA:329,1
-DA:333,3
-DA:334,2
-DA:335,1
-DA:338,2
-DA:342,4
-DA:344,1
-DA:370,1
-DA:371,1
-DA:373,2
-DA:374,1
-DA:375,2
-DA:379,1
-DA:382,6
-DA:383,18
-DA:396,1
-DA:399,0
-DA:401,0
-DA:402,0
-DA:404,0
-LF:83
-LH:68
-end_of_record
-SF:lib/src/attributes/scalars/scalar_util.dart
-DA:12,38
-DA:14,28
-DA:15,28
-DA:19,434
-DA:27,29
-DA:30,10
-DA:35,17
-DA:37,0
-DA:39,12
-DA:49,6
-DA:52,3
-DA:55,6
-DA:58,3
-DA:61,6
-DA:64,12
-DA:67,6
-DA:70,3
-DA:73,3
-DA:76,3
-DA:87,1
-DA:88,1
-DA:93,3
-DA:94,3
-DA:108,8
-DA:110,8
-DA:111,16
-DA:125,1
-DA:140,0
-DA:142,0
-DA:144,0
-DA:145,0
-DA:160,1
-DA:162,0
-DA:163,0
-DA:165,1
-DA:166,2
-DA:186,2
-DA:187,3
-DA:188,6
-DA:193,2
-DA:194,3
-DA:195,3
-DA:211,6
-DA:212,3
-DA:213,3
-DA:214,9
-DA:215,9
-DA:231,1
-DA:232,3
-DA:233,3
-DA:238,0
-DA:256,2
-DA:258,3
-DA:259,2
-DA:262,6
-DA:263,3
-DA:264,3
-DA:279,2
-DA:280,6
-DA:281,6
-DA:297,2
-DA:298,3
-DA:299,6
-DA:300,3
-DA:316,3
-DA:317,3
-DA:318,9
-DA:334,2
-DA:335,6
-DA:336,3
-DA:337,3
-DA:338,0
-DA:353,1
-DA:355,4
-DA:374,2
-DA:376,4
-DA:377,4
-DA:378,4
-DA:379,4
-DA:380,1
-DA:381,3
-DA:397,2
-DA:398,3
-DA:399,3
-DA:400,3
-DA:402,3
-DA:403,3
-DA:404,3
-DA:420,2
-DA:421,3
-DA:422,3
-DA:423,3
-DA:424,3
-DA:425,3
-DA:441,2
-DA:442,3
-DA:443,6
-DA:455,1
-DA:473,1
-DA:474,3
-DA:475,3
-DA:476,3
-DA:477,3
-DA:489,1
-DA:491,4
-DA:495,1
-DA:514,1
-DA:515,3
-DA:516,3
-DA:517,3
-DA:518,3
-DA:519,3
-DA:520,3
-DA:521,3
-DA:536,1
-DA:538,3
-DA:539,3
-DA:540,3
-DA:541,3
-DA:542,3
-DA:543,3
-DA:544,3
-DA:545,3
-DA:546,3
-DA:547,3
-DA:548,3
-DA:549,3
-DA:550,3
-DA:551,0
-DA:552,0
-DA:553,0
-DA:554,0
-DA:555,0
-DA:556,0
-DA:557,0
-DA:558,0
-DA:559,0
-DA:560,0
-DA:561,0
-DA:562,0
-DA:563,0
-DA:564,0
-DA:565,0
-DA:566,0
-DA:584,2
-DA:585,6
-DA:586,3
-DA:605,3
-DA:606,6
-DA:607,3
-DA:608,3
-DA:609,3
-DA:610,3
-DA:611,3
-DA:612,3
-DA:613,3
-DA:614,3
-DA:615,3
-DA:616,3
-DA:636,2
-DA:638,6
-DA:639,3
-DA:640,3
-DA:641,3
-DA:659,3
-DA:661,6
-DA:662,3
-DA:681,4
-DA:683,3
-DA:685,4
-DA:687,8
-DA:689,0
-DA:691,8
-DA:712,2
-DA:714,3
-DA:715,3
-DA:716,3
-DA:717,6
-DA:718,3
-DA:736,3
-DA:738,6
-DA:739,6
-DA:758,1
-DA:759,3
-DA:760,3
-DA:761,3
-DA:779,1
-DA:780,3
-DA:781,3
-DA:803,1
-DA:804,3
-DA:805,3
-DA:806,3
-DA:807,3
-DA:808,3
-DA:809,3
-LF:196
-LH:170
-end_of_record
-SF:lib/src/attributes/spacing/edge_insets_dto.dart
-DA:18,13
-DA:27,21
-DA:32,4
-DA:33,28
-LF:4
-LH:4
-end_of_record
-SF:lib/src/attributes/spacing/spacing_dto.dart
-DA:10,12
-DA:19,9
-DA:26,5
-DA:35,1
-DA:37,1
-DA:38,1
-DA:39,1
-DA:40,1
-DA:41,1
-DA:42,1
-DA:43,1
-DA:45,1
-DA:46,1
-DA:47,1
-DA:48,1
-DA:49,1
-DA:50,1
-DA:54,0
-DA:61,0
-DA:62,0
-DA:65,6
-DA:69,4
-DA:70,5
-DA:71,5
-DA:72,4
-DA:73,4
-DA:74,8
-DA:75,8
-DA:79,7
-DA:81,7
-DA:82,0
-DA:83,0
-DA:84,0
-DA:85,0
-DA:86,0
-DA:88,7
-DA:89,21
-DA:90,21
-DA:91,21
-DA:92,21
-LF:40
-LH:32
-end_of_record
-SF:lib/src/attributes/strut_style/strut_style_dto.dart
-DA:17,7
-DA:28,2
-DA:29,2
-DA:30,2
-DA:31,2
-DA:32,2
-DA:33,2
-DA:34,2
-DA:35,2
-DA:36,2
-DA:37,2
-DA:41,0
-DA:42,0
-DA:45,2
-DA:49,2
-DA:50,3
-DA:51,4
-DA:52,3
-DA:53,2
-DA:54,4
-DA:55,3
-DA:56,3
-DA:57,4
-DA:61,5
-DA:65,5
-DA:66,6
-DA:67,8
-DA:68,5
-DA:69,7
-DA:70,7
-DA:71,6
-DA:72,7
-DA:73,8
-DA:77,2
-DA:78,2
-DA:79,2
-DA:80,2
-DA:81,2
-DA:82,2
-DA:83,2
-DA:84,2
-DA:85,2
-DA:86,2
-LF:43
-LH:41
-end_of_record
-SF:lib/src/attributes/text_style/text_style_dto.dart
-DA:41,8
-DA:65,2
-DA:89,3
-DA:90,3
-DA:91,0
-DA:92,3
-DA:93,3
-DA:94,3
-DA:95,5
-DA:96,3
-DA:97,3
-DA:98,3
-DA:99,3
-DA:100,3
-DA:101,3
-DA:102,3
-DA:103,3
-DA:104,3
-DA:105,3
-DA:106,3
-DA:107,3
-DA:108,3
-DA:109,3
-DA:110,3
-DA:111,3
-DA:112,3
-DA:113,3
-DA:117,0
-DA:118,0
-DA:121,14
-DA:123,3
-DA:127,6
-DA:131,3
-DA:132,6
-DA:133,6
-DA:134,4
-DA:135,6
-DA:136,5
-DA:137,5
-DA:138,5
-DA:139,6
-DA:140,5
-DA:141,3
-DA:142,3
-DA:143,3
-DA:145,6
-DA:146,3
-DA:147,5
-DA:148,4
-DA:149,6
-DA:150,5
-DA:151,5
-DA:152,5
-DA:153,6
-DA:154,5
-DA:155,5
-DA:159,7
-DA:161,7
-DA:162,7
-DA:163,12
-DA:164,8
-DA:165,7
-DA:166,7
-DA:167,7
-DA:168,7
-DA:169,7
-DA:170,7
-DA:171,7
-DA:172,7
-DA:173,7
-DA:174,7
-DA:175,11
-DA:176,7
-DA:177,7
-DA:178,9
-DA:179,7
-DA:180,7
-DA:181,7
-DA:182,7
-DA:183,7
-DA:185,6
-DA:188,2
-DA:189,2
-DA:190,2
-DA:191,2
-DA:192,2
-DA:193,2
-DA:194,2
-DA:195,2
-DA:196,2
-DA:197,2
-DA:198,2
-DA:199,2
-DA:200,2
-DA:201,2
-DA:202,2
-DA:203,2
-DA:204,2
-DA:205,2
-DA:206,2
-DA:207,2
-DA:208,2
-DA:209,2
-DA:210,2
-DA:211,2
-DA:218,8
-DA:220,5
-DA:243,10
-DA:268,24
-DA:270,2
-DA:271,6
-DA:274,1
-DA:275,2
-DA:278,0
-DA:279,0
-DA:288,7
-DA:290,7
-DA:291,25
-DA:292,13
-DA:293,7
-DA:296,3
-DA:298,12
-DA:301,2
-DA:302,4
-LF:124
-LH:119
-end_of_record
-SF:lib/src/core/extensions/values_ext.dart
-DA:16,0
-DA:22,1
-DA:23,2
-DA:24,0
-DA:25,0
-DA:27,0
-DA:33,2
-DA:38,0
-DA:43,0
-DA:48,8
-DA:53,0
-DA:58,6
-DA:63,30
-DA:68,2
-DA:73,0
-DA:74,0
-DA:75,0
-DA:77,0
-DA:83,2
-DA:88,2
-DA:93,3
-DA:94,3
-DA:101,0
-DA:102,0
-DA:104,0
-DA:110,2
-DA:115,2
-DA:120,0
-DA:121,0
-DA:127,6
-DA:132,1
-DA:133,4
-DA:139,2
-LF:33
-LH:17
-end_of_record
-SF:lib/src/theme/tokens/text_style_token.dart
-DA:10,80
-DA:12,3
-DA:13,3
-DA:15,3
-DA:17,9
-DA:19,3
-DA:20,0
-DA:23,3
-DA:24,2
-DA:36,1
-DA:44,3
-DA:46,0
-DA:50,0
-DA:53,0
-DA:82,0
-DA:83,0
-DA:84,0
-DA:86,0
-DA:87,0
-DA:89,0
-DA:90,0
-DA:92,0
-DA:93,0
-DA:95,0
-DA:96,0
-DA:98,0
-DA:99,0
-DA:101,0
-DA:102,0
-DA:104,0
-DA:105,0
-DA:107,0
-DA:108,0
-DA:110,0
-DA:111,0
-DA:113,0
-DA:114,0
-DA:116,0
-DA:118,0
-DA:120,0
-DA:121,0
-DA:123,0
-DA:124,0
-DA:126,0
-DA:127,0
-DA:129,0
-DA:130,0
-DA:132,0
-DA:133,0
-DA:135,0
-DA:137,0
-DA:139,0
-DA:140,0
-DA:142,0
-DA:143,0
-DA:145,0
-DA:147,0
-DA:149,0
-DA:150,0
-DA:152,0
-DA:153,0
-DA:155,0
-DA:156,0
-DA:159,0
-DA:160,0
-DA:167,0
-DA:169,0
-DA:171,0
-LF:68
-LH:10
-end_of_record
-SF:lib/src/attributes/variant_attribute.dart
-DA:13,7
-DA:15,12
-DA:17,2
-DA:18,4
-DA:20,1
-DA:22,3
-DA:24,5
-DA:27,5
-DA:28,10
-DA:30,1
-DA:31,3
-DA:41,4
-DA:43,4
-DA:44,12
-DA:46,1
-DA:48,3
-DA:50,5
-DA:54,0
-DA:55,0
-DA:56,0
-DA:65,2
-DA:68,0
-DA:69,0
-DA:70,0
-DA:71,0
-DA:72,0
-DA:73,0
-DA:76,0
-DA:79,2
-DA:81,4
-DA:83,0
-DA:84,0
-DA:86,0
-DA:88,0
-DA:90,0
-LF:35
-LH:20
-end_of_record
-SF:lib/src/variants/variant.dart
-DA:44,82
-DA:56,6
-DA:68,6
-DA:74,2
-DA:96,2
-DA:99,2
-DA:101,4
-DA:104,3
-DA:105,3
-DA:108,3
-DA:109,6
-DA:152,11
-DA:154,3
-DA:177,3
-DA:180,3
-DA:183,6
-DA:186,1
-DA:187,3
-DA:238,3
-DA:240,3
-DA:244,3
-DA:245,15
-DA:246,12
-DA:248,3
-DA:254,3
-DA:255,3
-DA:261,3
-DA:262,3
-DA:278,1
-DA:279,3
-DA:281,2
-DA:282,1
-DA:283,0
-DA:301,1
-DA:302,2
-DA:304,2
-DA:305,4
-DA:306,4
-DA:307,4
-DA:326,3
-DA:328,15
-DA:330,6
-DA:331,6
-DA:332,3
-DA:339,2
-DA:362,2
-DA:365,2
-DA:367,4
-DA:370,0
-DA:371,0
-LF:50
-LH:47
-end_of_record
-SF:lib/src/core/attributes_map.dart
-DA:12,52
-DA:14,80
-DA:16,52
-DA:17,104
-DA:20,52
-DA:23,52
-DA:24,80
-DA:25,28
-DA:28,28
-DA:29,11
-DA:34,22
-DA:36,22
-DA:39,18
-DA:46,15
-DA:48,6
-DA:50,3
-DA:52,190
-DA:54,8
-DA:56,3
-DA:58,3
-DA:60,46
-DA:61,128
-DA:63,14
-DA:64,56
-DA:67,9
-DA:69,7
-DA:70,14
-LF:27
-LH:27
-end_of_record
-SF:lib/src/core/decorator.dart
-DA:8,79
-DA:13,3
-DA:16,1
-DA:24,79
-DA:29,75
-LF:5
-LH:5
-end_of_record
-SF:lib/src/decorators/widget_decorator_widget.dart
-DA:33,3
-DA:44,3
-DA:46,3
-DA:48,6
-DA:50,3
-DA:53,6
-DA:55,3
-DA:56,3
-DA:57,3
-DA:58,3
-DA:59,6
-DA:61,6
-DA:62,3
-DA:64,6
-LF:14
-LH:14
-end_of_record
-SF:lib/src/decorators/widget_decorators.dart
-DA:14,6
-DA:16,1
-DA:18,1
-DA:19,3
-DA:23,1
-DA:24,2
-DA:26,4
-DA:28,12
-DA:33,76
-DA:35,1
-DA:37,4
-DA:40,1
-DA:41,2
-DA:43,4
-DA:45,12
-DA:52,75
-DA:54,1
-DA:56,1
-DA:57,3
-DA:58,3
-DA:62,1
-DA:64,1
-DA:65,1
-DA:66,2
-DA:70,1
-DA:71,3
-DA:73,2
-DA:75,2
-DA:76,2
-DA:77,2
-DA:78,2
-DA:87,6
-DA:89,1
-DA:91,1
-DA:92,3
-DA:96,1
-DA:97,2
-DA:99,4
-DA:100,12
-DA:105,77
-DA:107,1
-DA:109,4
-DA:112,1
-DA:113,2
-DA:115,3
-DA:117,9
-DA:123,6
-DA:125,1
-DA:127,4
-DA:130,1
-DA:131,2
-DA:133,4
-DA:135,12
-DA:148,4
-DA:156,1
-DA:159,3
-DA:161,1
-DA:162,3
-DA:163,3
-DA:164,3
-DA:166,3
-DA:170,1
-DA:173,3
-DA:175,0
-DA:176,0
-DA:177,0
-DA:178,0
-DA:179,0
-DA:183,0
-DA:184,0
-DA:186,3
-DA:188,3
-DA:189,3
-DA:190,2
-DA:191,2
-DA:192,2
-DA:193,2
-DA:197,3
-DA:198,3
-DA:199,3
-DA:200,3
-DA:201,3
-DA:205,2
-DA:206,1
-DA:207,1
-DA:208,1
-DA:209,1
-DA:213,2
-DA:214,1
-DA:215,1
-DA:216,1
-DA:217,1
-DA:218,1
-DA:222,2
-DA:223,2
-DA:224,2
-DA:226,2
-DA:237,79
-DA:238,1
-DA:240,1
-DA:241,3
-DA:242,3
-DA:243,2
-DA:244,1
-DA:249,0
-DA:257,2
-DA:259,2
-DA:268,4
-DA:272,4
-DA:273,2
-DA:274,2
-DA:287,2
-DA:289,1
-DA:290,2
-DA:293,2
-DA:294,4
-DA:297,0
-DA:298,0
-DA:301,1
-DA:302,2
-DA:305,1
-DA:306,2
-LF:122
-LH:112
-end_of_record
-SF:lib/src/helpers/lerp_helpers.dart
-DA:19,2
-DA:21,0
-DA:22,0
-DA:24,10
-DA:41,5
-DA:42,5
-DA:70,1
-DA:75,1
-DA:76,2
-DA:77,2
-DA:78,3
-DA:79,3
-DA:80,3
-DA:81,3
-DA:82,2
-DA:83,2
-LF:16
-LH:14
-end_of_record
-SF:lib/src/factory/mix_provider.dart
-DA:11,11
-DA:14,12
-DA:15,23
-DA:19,10
-DA:20,10
-DA:22,0
-DA:31,0
-DA:32,0
-DA:46,0
-DA:51,0
-DA:56,0
-LF:11
-LH:5
-end_of_record
-SF:lib/src/theme/token_resolver.dart
-DA:12,45
-DA:14,12
-DA:16,9
-DA:18,9
-DA:20,6
-DA:22,6
-DA:24,6
-DA:26,0
-DA:28,7
-DA:29,11
-DA:32,0
-LF:11
-LH:9
-end_of_record
-SF:lib/src/widgets/pressable/widget_state_util.dart
-DA:10,3
-DA:13,3
-DA:16,3
-DA:19,6
-DA:22,3
-DA:26,4
-DA:30,3
-DA:34,4
-DA:40,2
-DA:46,1
-DA:47,1
-DA:48,3
-DA:49,4
-DA:56,2
-DA:57,2
-DA:58,6
-DA:59,8
-LF:17
-LH:17
-end_of_record
-SF:lib/src/specs/container/box_attribute.dart
-DA:21,14
-DA:33,11
-DA:35,11
-DA:36,11
-DA:37,17
-DA:38,15
-DA:39,13
-DA:40,20
-DA:41,11
-DA:42,11
-DA:43,11
-DA:44,11
-DA:48,10
-DA:52,10
-DA:53,18
-DA:54,26
-DA:55,26
-DA:56,22
-DA:57,27
-DA:58,18
-DA:59,18
-DA:60,15
-DA:61,18
-DA:65,1
-DA:66,1
-DA:67,1
-DA:68,1
-DA:69,1
-DA:70,1
-DA:71,1
-DA:72,1
-DA:73,1
-DA:74,1
-DA:75,1
-LF:34
-LH:34
-end_of_record
-SF:lib/src/specs/flex/flex_attribute.dart
-DA:18,84
-DA:30,1
-DA:31,1
-DA:34,3
-DA:36,3
-DA:37,3
-DA:38,3
-DA:39,3
-DA:40,3
-DA:41,3
-DA:42,3
-DA:43,3
-DA:44,3
-DA:45,3
-DA:49,1
-DA:53,1
-DA:54,1
-DA:55,1
-DA:56,1
-DA:57,1
-DA:58,1
-DA:59,1
-DA:60,1
-DA:61,1
-DA:62,1
-DA:66,1
-DA:67,1
-DA:68,1
-DA:69,1
-DA:70,1
-DA:71,1
-DA:72,1
-DA:73,1
-DA:74,1
-DA:75,1
-DA:76,1
-LF:36
-LH:36
-end_of_record
-SF:lib/src/specs/image/image_attribute.dart
-DA:15,81
-DA:23,2
-DA:25,2
-DA:26,2
-DA:27,2
-DA:28,3
-DA:29,2
-DA:30,2
-DA:34,1
-DA:38,1
-DA:39,1
-DA:40,1
-DA:41,1
-DA:42,1
-DA:43,1
-DA:47,1
-DA:48,6
-LF:17
-LH:17
-end_of_record
-SF:lib/src/specs/stack/stack_attribute.dart
-DA:12,83
-DA:22,2
-DA:23,2
-DA:26,3
-DA:28,3
-DA:29,3
-DA:30,3
-DA:31,3
-DA:32,3
-DA:36,2
-DA:40,2
-DA:41,3
-DA:42,3
-DA:43,3
-DA:44,3
-DA:48,1
-DA:49,5
-LF:17
-LH:17
-end_of_record
-SF:lib/src/specs/text/text_attribute.dart
-DA:21,5
-DA:34,5
-DA:36,5
-DA:37,5
-DA:38,7
-DA:39,5
-DA:40,5
-DA:41,5
-DA:42,10
-DA:43,5
-DA:44,5
-DA:45,5
-DA:46,5
-DA:50,2
-DA:54,2
-DA:55,3
-DA:56,5
-DA:57,3
-DA:58,3
-DA:59,3
-DA:60,6
-DA:61,3
-DA:62,3
-DA:63,3
-DA:64,3
-DA:68,0
-DA:69,0
-DA:70,0
-DA:71,0
-DA:72,0
-DA:73,0
-DA:74,0
-DA:75,0
-DA:76,0
-DA:77,0
-DA:78,0
-DA:79,0
-LF:37
-LH:25
-end_of_record
-SF:lib/src/utils/helper_util.dart
-DA:14,73
-DA:16,1
-DA:38,3
-DA:41,2
-DA:45,10
-DA:50,10
-DA:51,3
-LF:7
-LH:7
-end_of_record
-SF:lib/src/helpers/deep_collection_equality.dart
-DA:2,80
-DA:3,8
-DA:4,24
-DA:5,14
-DA:6,28
-DA:14,5
-DA:16,15
-DA:18,10
-DA:19,15
-DA:20,15
-DA:31,1
-DA:32,3
-DA:33,2
-DA:34,1
-DA:42,14
-DA:44,39
-DA:46,12
-DA:47,8
-DA:48,5
-DA:49,1
-DA:50,5
-DA:51,5
-DA:54,5
-DA:57,1
-DA:58,1
-DA:59,3
-DA:60,2
-DA:61,1
-DA:62,1
-DA:63,1
-DA:65,2
-DA:66,2
-DA:72,1
-LF:33
-LH:33
-end_of_record
-SF:lib/src/helpers/string_ext.dart
-DA:25,36
-DA:27,24
-DA:28,12
-DA:29,12
-DA:30,12
-DA:36,12
-DA:37,12
-DA:38,12
-DA:39,24
-DA:41,36
-DA:42,12
-DA:43,60
-DA:45,24
-DA:49,12
-DA:52,24
-DA:53,24
-DA:56,24
-DA:57,12
-DA:65,6
-DA:68,6
-DA:71,3
-DA:72,15
-DA:73,3
-DA:74,9
-DA:77,3
-DA:81,18
-DA:84,4
-DA:85,4
-DA:86,8
-DA:87,8
-DA:89,12
-DA:90,20
-DA:94,8
-DA:97,8
-DA:100,44
-DA:103,3
-DA:104,15
-DA:107,1
-DA:108,2
-DA:109,1
-DA:111,3
-DA:113,1
-DA:120,55
-DA:123,10
-LF:44
-LH:44
-end_of_record
-SF:lib/src/specs/container/box_spec.dart
-DA:21,11
-DA:33,151
-DA:44,11
-DA:45,20
-DA:49,1
-DA:62,1
-DA:63,1
-DA:64,1
-DA:65,1
-DA:66,1
-DA:67,1
-DA:68,1
-DA:69,1
-DA:70,0
-DA:71,0
-DA:75,1
-DA:77,1
-DA:78,3
-DA:79,3
-DA:80,3
-DA:81,3
-DA:82,3
-DA:83,4
-DA:84,3
-DA:85,3
-DA:86,3
-DA:90,1
-DA:91,1
-DA:92,1
-DA:93,1
-DA:94,1
-DA:95,1
-DA:96,1
-DA:97,1
-DA:98,1
-DA:99,1
-DA:100,1
-DA:105,0
-DA:107,0
-DA:109,0
-DA:110,0
-DA:113,0
-LF:42
-LH:35
-end_of_record
-SF:lib/src/specs/flex/flex_spec.dart
-DA:21,4
-DA:33,79
-DA:44,3
-DA:45,5
-DA:49,1
-DA:51,1
-DA:53,3
-DA:55,3
-DA:56,3
-DA:58,3
-DA:59,3
-DA:60,3
-DA:61,3
-DA:62,3
-DA:63,3
-DA:67,1
-DA:79,1
-DA:80,0
-DA:81,0
-DA:82,0
-DA:83,0
-DA:84,0
-DA:85,0
-DA:86,0
-DA:87,0
-DA:88,0
-DA:92,1
-DA:93,1
-DA:94,1
-DA:95,1
-DA:96,1
-DA:97,1
-DA:98,1
-DA:99,1
-DA:100,1
-DA:101,1
-DA:102,1
-LF:37
-LH:28
-end_of_record
-SF:lib/src/specs/image/image_spec.dart
-DA:17,3
-DA:25,0
-DA:32,1
-DA:33,1
-DA:35,1
-DA:38,1
-DA:40,1
-DA:41,3
-DA:42,3
-DA:43,3
-DA:44,2
-DA:45,2
-DA:49,1
-DA:58,1
-DA:59,0
-DA:60,0
-DA:61,0
-DA:62,0
-DA:63,0
-DA:67,1
-DA:68,6
-LF:21
-LH:15
-end_of_record
-SF:lib/src/specs/stack/stack_spec.dart
-DA:13,4
-DA:20,79
-DA:26,1
-DA:27,2
-DA:31,1
-DA:33,1
-DA:34,3
-DA:35,2
-DA:36,2
-DA:37,2
-DA:41,1
-DA:48,1
-DA:49,0
-DA:50,0
-DA:51,0
-DA:52,0
-DA:56,1
-DA:57,5
-LF:18
-LH:14
-end_of_record
-SF:lib/src/specs/text/text_spec.dart
-DA:22,6
-DA:36,80
-DA:48,4
-DA:49,7
-DA:52,1
-DA:56,1
-DA:57,3
-DA:58,3
-DA:59,3
-DA:60,3
-DA:61,3
-DA:62,3
-DA:63,3
-DA:65,3
-DA:66,3
-DA:67,3
-DA:71,1
-DA:84,1
-DA:85,0
-DA:86,0
-DA:87,0
-DA:88,0
-DA:89,0
-DA:90,0
-DA:91,0
-DA:92,0
-DA:93,0
-DA:94,0
-DA:98,1
-DA:99,1
-DA:100,1
-DA:101,1
-DA:102,1
-DA:103,1
-DA:104,1
-DA:105,1
-DA:106,1
-DA:107,1
-DA:108,1
-DA:109,1
-LF:40
-LH:30
-end_of_record
-SF:lib/src/theme/material/material_theme.dart
-DA:12,3
-DA:13,3
-DA:16,3
-DA:17,1
-DA:18,6
-DA:19,6
-DA:20,6
-DA:21,6
-DA:22,6
-DA:23,6
-DA:24,6
-DA:25,6
-DA:26,6
-DA:27,6
-DA:28,2
-DA:29,4
-DA:30,6
-DA:32,1
-DA:33,6
-DA:34,2
-DA:35,4
-DA:36,6
-DA:37,2
-DA:38,4
-DA:39,2
-DA:40,4
-DA:41,2
-DA:42,4
-DA:43,6
-DA:44,6
-DA:45,6
-DA:46,6
-DA:47,6
-DA:48,6
-DA:49,6
-DA:50,6
-DA:51,6
-DA:52,6
-DA:53,6
-DA:54,6
-DA:55,6
-DA:56,6
-DA:57,6
-DA:58,6
-DA:59,6
-DA:60,6
-DA:61,6
-DA:62,6
-DA:63,6
-DA:64,6
-LF:50
-LH:50
-end_of_record
-SF:lib/src/theme/mix_theme.dart
-DA:15,13
-DA:17,8
-DA:19,16
-DA:21,8
-DA:26,1
-DA:27,2
-DA:32,0
-DA:33,0
-DA:44,78
-DA:52,66
-DA:53,0
-DA:61,12
-DA:68,12
-DA:69,12
-DA:70,12
-DA:72,36
-DA:73,36
-DA:74,36
-DA:78,1
-DA:85,2
-DA:86,1
-DA:96,1
-DA:103,1
-DA:105,1
-DA:106,1
-DA:108,1
-DA:109,1
-DA:110,1
-DA:114,1
-DA:115,1
-DA:116,3
-DA:117,3
-DA:118,3
-DA:119,3
-DA:120,3
-DA:124,0
-DA:125,0
-DA:128,48
-DA:137,48
-DA:143,48
-LF:40
-LH:35
-end_of_record
-SF:lib/src/theme/material/material_tokens.dart
-DA:11,152
-DA:40,79
-DA:86,79
-LF:3
-LH:3
-end_of_record
-SF:lib/src/theme/tokens/breakpoints_token.dart
-DA:17,160
-DA:19,2
-DA:20,12
-DA:36,79
-DA:38,0
-DA:39,0
-DA:41,1
-DA:43,3
-DA:45,1
-DA:46,0
-DA:49,1
-DA:50,0
-DA:60,0
-DA:68,0
-LF:14
-LH:8
-end_of_record
-SF:lib/src/theme/tokens/mix_token.dart
-DA:14,322
-DA:16,0
-DA:18,0
-DA:20,0
-DA:26,9
-DA:30,9
-DA:32,12
-DA:35,13
-DA:36,39
-DA:56,91
-DA:59,79
-DA:61,24
-DA:65,2
-DA:66,12
-DA:69,12
-DA:70,24
-DA:72,24
-DA:74,12
-DA:77,0
-DA:78,0
-LF:20
-LH:15
-end_of_record
-SF:lib/src/theme/tokens/space_token.dart
-DA:11,2
-DA:12,6
-DA:15,2
-DA:16,0
-DA:19,2
-DA:48,80
-DA:50,3
-DA:51,9
-DA:53,2
-DA:55,6
-DA:57,2
-DA:58,0
-LF:12
-LH:10
-end_of_record
-SF:lib/src/widgets/pressable/gesture_state.notifier.dart
-DA:12,4
-DA:19,65
-DA:25,2
-DA:31,2
-DA:32,0
-DA:33,0
-DA:34,0
-DA:35,0
-DA:39,1
-DA:40,5
-DA:55,3
-DA:61,3
-DA:63,3
-DA:64,3
-DA:69,1
-DA:71,3
-LF:16
-LH:12
-end_of_record
-SF:lib/src/attributes/scalars/scalars_attribute.dart
-DA:10,20
-DA:12,8
-DA:15,2
-DA:16,4
-LF:4
-LH:4
-end_of_record
-SF:lib/src/core/styled_widget.dart
-DA:18,14
-DA:39,10
-DA:40,17
-DA:42,20
-DA:44,6
-DA:46,20
-DA:74,0
-LF:7
-LH:6
-end_of_record
-SF:lib/src/attributes/border/border_radius_util.dart
-DA:30,5
-DA:31,4
-DA:44,1
-DA:45,2
-DA:58,1
-DA:59,3
-DA:72,1
-DA:73,3
-DA:86,1
-DA:87,3
-DA:100,1
-DA:101,3
-DA:114,3
-DA:115,9
-DA:133,1
-DA:134,1
-DA:135,2
-DA:149,1
-DA:150,1
-DA:151,2
-DA:165,1
-DA:166,1
-DA:167,2
-DA:181,1
-DA:182,1
-DA:183,2
-DA:197,1
-DA:198,3
-DA:211,1
-DA:212,3
-DA:225,1
-DA:226,3
-DA:239,1
-DA:240,3
-DA:246,1
-DA:247,1
-DA:256,5
-DA:266,10
-DA:267,5
-DA:302,3
-DA:327,3
-DA:328,3
-DA:329,3
-DA:330,3
-DA:331,3
-DA:338,1
-DA:339,1
-DA:351,1
-DA:352,3
-DA:370,0
-DA:371,0
-DA:385,0
-DA:410,0
-DA:411,0
-DA:412,0
-DA:413,0
-DA:414,0
-DA:415,0
-DA:421,1
-DA:427,2
-DA:428,1
-DA:437,3
-LF:62
-LH:53
-end_of_record
-SF:lib/src/attributes/border/border_util.dart
-DA:33,5
-DA:35,1
-DA:39,1
-DA:47,3
-DA:48,3
-DA:71,3
-DA:72,15
-DA:96,1
-DA:97,3
-DA:121,1
-DA:122,3
-DA:146,1
-DA:147,3
-DA:171,1
-DA:172,3
-DA:195,0
-DA:196,0
-DA:218,0
-DA:240,1
-DA:241,5
-DA:264,1
-DA:265,1
-DA:266,4
-DA:270,0
-DA:271,0
-DA:274,1
-DA:282,2
-DA:283,1
-DA:310,0
-DA:316,0
-DA:348,3
-DA:350,1
-DA:356,3
-DA:381,4
-DA:398,1
-DA:399,3
-DA:413,2
-DA:427,2
-DA:446,3
-DA:452,3
-DA:453,3
-DA:459,6
-LF:42
-LH:35
-end_of_record
-SF:lib/src/attributes/color/color_util.dart
-DA:13,32
-DA:15,70
-DA:17,9
-DA:18,0
-DA:19,0
-DA:20,0
-DA:21,0
-DA:22,0
-DA:23,0
-DA:24,0
-DA:25,0
-DA:26,0
-DA:27,0
-DA:28,0
-DA:29,0
-DA:30,0
-DA:31,0
-DA:32,0
-DA:33,0
-DA:34,0
-DA:35,0
-DA:36,0
-DA:37,0
-DA:38,0
-DA:39,0
-DA:40,0
-DA:41,0
-DA:42,0
-DA:43,0
-DA:44,0
-DA:45,0
-DA:46,0
-DA:47,0
-DA:48,0
-DA:49,0
-DA:50,0
-DA:51,0
-DA:52,0
-DA:53,0
-DA:54,0
-DA:55,0
-DA:56,0
-DA:57,0
-DA:58,0
-DA:59,0
-DA:60,0
-DA:61,0
-DA:62,0
-DA:63,0
-DA:64,0
-DA:65,0
-DA:66,0
-DA:67,0
-DA:68,0
-DA:69,0
-DA:70,0
-DA:71,0
-DA:72,0
-DA:73,0
-DA:74,0
-DA:75,0
-DA:76,0
-DA:77,0
-DA:78,0
-DA:79,0
-DA:80,0
-DA:81,0
-DA:82,0
-DA:83,0
-DA:84,0
-DA:85,0
-DA:87,6
-DA:89,0
-DA:90,10
-DA:91,0
-DA:92,0
-DA:93,0
-DA:94,0
-DA:95,0
-DA:96,0
-DA:97,0
-DA:98,0
-DA:99,0
-DA:100,0
-DA:101,0
-DA:102,0
-DA:103,0
-DA:104,0
-DA:105,0
-DA:107,14
-DA:113,3
-DA:114,12
-DA:120,3
-DA:122,0
-DA:123,0
-DA:124,0
-DA:125,0
-DA:126,0
-DA:127,0
-DA:128,0
-DA:129,0
-DA:130,0
-DA:131,0
-DA:133,12
-DA:139,0
-DA:141,0
-DA:142,0
-DA:143,0
-DA:144,0
-DA:146,0
-LF:110
-LH:10
-end_of_record
-SF:lib/src/attributes/constraints/constraints_util.dart
-DA:28,2
-DA:29,1
-DA:43,1
-DA:44,3
-DA:58,1
-DA:59,3
-DA:74,1
-DA:75,3
-DA:90,1
-DA:91,3
-DA:94,1
-DA:100,2
-DA:101,1
-LF:13
-LH:13
-end_of_record
-SF:lib/src/attributes/decoration/decoration_util.dart
-DA:20,1
-DA:21,0
-DA:23,1
-DA:24,1
-DA:25,0
-DA:29,1
-DA:30,1
-DA:31,0
-DA:38,11
-DA:39,10
-DA:41,10
-DA:49,20
-DA:50,10
-DA:61,8
-DA:62,24
-DA:65,2
-DA:66,6
-DA:69,4
-DA:70,4
-DA:71,8
-DA:75,1
-DA:76,3
-DA:79,1
-DA:80,2
-DA:81,1
-DA:85,1
-DA:86,2
-DA:87,1
-DA:91,1
-DA:92,2
-DA:93,1
-DA:97,1
-DA:98,2
-DA:99,2
-DA:103,3
-DA:111,3
-DA:112,2
-DA:113,3
-DA:114,2
-DA:115,1
-DA:116,1
-DA:124,3
-DA:125,2
-DA:127,1
-DA:133,2
-DA:134,1
-DA:143,1
-DA:144,3
-DA:147,1
-DA:148,3
-DA:151,1
-DA:152,1
-DA:153,2
-DA:157,1
-DA:158,3
-DA:161,1
-DA:167,1
-DA:168,1
-DA:169,1
-DA:170,4
-LF:60
-LH:57
-end_of_record
-SF:lib/src/attributes/gradient/gradient_util.dart
-DA:45,2
-DA:48,1
-DA:49,2
-DA:53,2
-DA:54,4
-DA:58,1
-DA:59,2
-DA:65,2
-DA:66,2
-DA:67,2
-DA:68,2
-DA:69,4
-DA:70,1
-DA:71,2
-DA:73,0
-DA:74,0
-DA:102,2
-DA:118,1
-DA:119,3
-DA:136,1
-DA:137,3
-DA:154,1
-DA:155,3
-DA:172,0
-DA:173,0
-DA:187,0
-DA:200,0
-DA:213,0
-DA:226,0
-DA:240,1
-DA:241,3
-DA:255,1
-DA:265,1
-DA:272,4
-DA:276,2
-DA:302,3
-DA:320,1
-DA:321,2
-DA:322,3
-DA:342,1
-DA:343,2
-DA:344,3
-DA:364,1
-DA:365,1
-DA:366,4
-DA:385,0
-DA:386,0
-DA:387,0
-DA:406,0
-DA:423,0
-DA:442,2
-DA:443,6
-DA:461,1
-DA:469,1
-DA:474,2
-DA:478,2
-DA:505,2
-DA:506,1
-DA:522,1
-DA:523,2
-DA:524,3
-DA:542,1
-DA:543,2
-DA:544,3
-DA:562,0
-DA:563,0
-DA:564,0
-DA:579,0
-DA:592,0
-DA:605,0
-DA:618,0
-DA:631,1
-DA:640,1
-DA:646,2
-DA:650,2
-DA:665,1
-DA:667,3
-LF:77
-LH:57
-end_of_record
-SF:lib/src/attributes/nested_style/nested_style_util.dart
-DA:7,72
-DA:9,0
-DA:10,0
-DA:13,0
-DA:14,0
-DA:17,0
-DA:25,0
-DA:26,0
-DA:27,0
-DA:29,0
-LF:10
-LH:1
-end_of_record
-SF:lib/src/attributes/shadow/shadow_util.dart
-DA:32,2
-DA:35,2
-DA:36,2
-DA:42,4
-DA:59,1
-DA:60,3
-DA:77,1
-DA:78,3
-DA:94,0
-DA:97,2
-DA:98,2
-DA:99,2
-DA:111,1
-DA:125,1
-DA:126,4
-DA:136,3
-DA:138,2
-DA:144,2
-DA:151,4
-DA:164,1
-DA:165,3
-DA:178,1
-DA:179,3
-DA:192,1
-DA:193,3
-DA:206,1
-DA:207,3
-DA:211,2
-DA:217,2
-DA:218,2
-DA:232,1
-DA:243,1
-DA:244,2
-DA:246,4
-DA:250,0
-DA:251,0
-DA:252,0
-DA:253,0
-DA:254,0
-DA:255,0
-DA:256,0
-DA:257,0
-DA:258,0
-DA:259,0
-DA:260,0
-LF:45
-LH:33
-end_of_record
-SF:lib/src/attributes/spacing/spacing_util.dart
-DA:28,11
-DA:30,1
-DA:31,2
-DA:34,3
-DA:35,3
-DA:36,6
-DA:41,1
-DA:42,1
-DA:43,2
-DA:48,1
-DA:49,1
-DA:50,1
-DA:51,1
-DA:56,1
-DA:57,3
-DA:61,1
-DA:62,3
-DA:66,1
-DA:67,3
-DA:71,1
-DA:72,3
-DA:76,0
-DA:77,0
-DA:81,0
-DA:82,0
-DA:103,5
-DA:111,10
-DA:112,5
-DA:140,3
-DA:154,3
-DA:192,1
-DA:193,1
-DA:209,0
-DA:210,0
-DA:211,0
-DA:230,1
-DA:231,3
-DA:249,1
-DA:250,3
-DA:268,0
-DA:269,0
-DA:287,0
-DA:288,0
-DA:306,0
-DA:307,0
-DA:320,0
-DA:321,0
-DA:322,0
-DA:346,1
-DA:361,1
-DA:382,1
-DA:383,2
-DA:384,1
-DA:420,6
-DA:423,4
-DA:426,4
-DA:429,4
-DA:432,4
-DA:435,4
-DA:438,4
-DA:441,9
-DA:443,8
-LF:62
-LH:46
-end_of_record
-SF:lib/src/attributes/strut_style/strut_style_util.dart
-DA:10,1
-DA:11,0
-DA:13,1
-DA:14,3
-DA:17,1
-DA:18,3
-DA:21,1
-DA:22,3
-DA:25,1
-DA:26,3
-DA:29,1
-DA:30,1
-DA:31,2
-DA:35,2
-DA:37,2
-DA:39,0
-DA:40,0
-DA:42,1
-DA:52,1
-DA:63,2
-LF:20
-LH:17
-end_of_record
-SF:lib/src/attributes/text_directives_util.dart
-DA:5,73
-DA:6,1
-DA:7,2
-DA:9,2
-DA:10,2
-DA:11,2
-DA:12,2
-DA:13,2
-DA:15,0
-DA:16,0
-DA:20,2
-DA:21,2
-DA:22,2
-DA:23,2
-DA:24,2
-LF:15
-LH:13
-end_of_record
-SF:lib/src/attributes/text_style/text_style_util.dart
-DA:43,7
-DA:45,1
-DA:67,1
-DA:68,1
-DA:92,2
-DA:101,0
-DA:102,0
-DA:116,1
-DA:117,3
-DA:131,1
-DA:132,3
-DA:143,1
-DA:144,1
-DA:145,2
-DA:159,0
-DA:160,0
-DA:164,0
-DA:165,0
-DA:169,0
-DA:170,0
-DA:174,1
-DA:175,4
-DA:179,1
-DA:180,1
-DA:181,2
-DA:186,1
-DA:187,3
-DA:191,0
-DA:192,0
-DA:196,0
-DA:199,0
-DA:200,0
-DA:204,0
-DA:205,0
-DA:209,0
-DA:210,0
-DA:214,0
-DA:217,0
-DA:220,2
-DA:223,2
-DA:226,1
-DA:227,1
-DA:230,0
-DA:233,0
-DA:236,0
-DA:237,0
-DA:240,0
-DA:241,0
-DA:244,8
-DA:264,2
-DA:287,2
-DA:288,2
-DA:289,1
-DA:297,4
-DA:300,1
-DA:311,4
-LF:56
-LH:31
-end_of_record
-SF:lib/src/core/directive.dart
-DA:10,1
-DA:15,1
-DA:17,1
-DA:18,2
-DA:20,1
-DA:21,2
-DA:23,2
-DA:27,1
-DA:29,4
-DA:32,0
-DA:35,1
-DA:36,2
-LF:12
-LH:11
-end_of_record
-SF:lib/src/decorators/widget_decorators_util.dart
-DA:7,12
-DA:8,12
-DA:9,8
-DA:10,4
-DA:11,12
-DA:12,12
-DA:13,0
-DA:17,4
-DA:18,16
-DA:23,4
-DA:24,4
-DA:25,12
-DA:30,3
-DA:31,3
-DA:32,3
-DA:33,3
-DA:35,12
-DA:40,3
-DA:41,3
-DA:42,0
-DA:45,2
-DA:46,6
-DA:51,1
-DA:52,0
-DA:53,0
-DA:54,3
-DA:55,0
-DA:56,2
-DA:58,1
-DA:59,3
-DA:65,4
-DA:66,4
-DA:67,12
-LF:33
-LH:28
-end_of_record
-SF:lib/src/deprecations.dart
-DA:10,0
-DA:11,0
-DA:13,0
-DA:14,0
-DA:16,0
-DA:20,0
-DA:22,0
-DA:26,0
-DA:27,0
-DA:29,0
-DA:30,0
-DA:32,0
-DA:36,0
-DA:39,0
-DA:43,0
-DA:46,0
-DA:47,0
-DA:56,0
-DA:57,0
-DA:58,0
-DA:59,0
-DA:60,0
-DA:61,0
-DA:62,0
-DA:63,0
-DA:64,0
-DA:65,0
-DA:66,0
-DA:67,0
-DA:71,0
-DA:74,0
-DA:77,0
-DA:80,0
-DA:83,0
-DA:86,0
-DA:89,0
-DA:92,0
-DA:96,0
-DA:99,0
-DA:102,0
-DA:105,0
-DA:108,0
-DA:111,0
-DA:114,0
-DA:117,0
-DA:120,0
-DA:123,0
-DA:126,0
-DA:129,0
-DA:132,0
-DA:135,0
-DA:138,0
-DA:140,0
-DA:142,0
-DA:144,0
-DA:146,0
-DA:148,0
-DA:150,0
-DA:152,0
-DA:154,0
-DA:156,0
-DA:158,0
-DA:160,0
-DA:162,0
-DA:164,0
-DA:166,0
-DA:168,0
-DA:170,0
-DA:172,0
-DA:174,0
-DA:176,0
-DA:178,0
-DA:180,0
-DA:183,0
-DA:185,0
-DA:188,0
-DA:190,0
-DA:192,0
-DA:194,0
-DA:196,0
-DA:198,0
-DA:200,0
-DA:202,0
-DA:204,0
-DA:206,0
-DA:209,0
-DA:211,0
-DA:213,0
-DA:215,0
-DA:217,0
-DA:219,0
-DA:221,0
-DA:223,0
-DA:225,0
-DA:227,0
-DA:230,0
-DA:232,0
-DA:234,0
-DA:236,0
-DA:238,0
-DA:240,0
-DA:242,0
-DA:244,0
-DA:246,0
-DA:248,0
-DA:250,0
-DA:252,0
-DA:254,0
-DA:256,0
-DA:259,0
-DA:261,0
-DA:263,0
-DA:265,0
-DA:267,0
-DA:269,0
-DA:271,0
-DA:273,0
-DA:275,0
-DA:277,0
-DA:279,0
-DA:281,0
-DA:283,0
-DA:285,0
-DA:288,0
-DA:290,0
-DA:292,0
-DA:294,0
-DA:296,0
-DA:298,0
-DA:300,0
-DA:302,0
-DA:304,0
-DA:307,0
-DA:310,0
-DA:313,0
-DA:316,0
-DA:319,0
-DA:322,0
-DA:325,0
-DA:328,0
-DA:331,0
-DA:334,0
-DA:337,0
-DA:340,0
-DA:343,0
-DA:346,0
-DA:349,0
-DA:355,0
-DA:357,0
-DA:358,0
-DA:360,0
-DA:361,0
-DA:363,0
-DA:364,0
-DA:367,0
-DA:370,0
-DA:373,0
-DA:376,0
-DA:379,0
-DA:382,0
-DA:385,0
-DA:388,0
-DA:391,0
-DA:394,0
-DA:397,0
-DA:400,0
-DA:403,0
-DA:406,0
-DA:410,0
-DA:417,0
-DA:422,0
-DA:429,0
-DA:433,0
-DA:436,0
-LF:174
-LH:0
-end_of_record
-SF:lib/src/factory/style_mix_ext.dart
-DA:12,1
-DA:18,1
-DA:19,1
-DA:26,1
-DA:33,1
-DA:41,1
-DA:48,1
-DA:49,1
-DA:56,1
-DA:63,1
-DA:64,1
-DA:71,1
-DA:79,1
-DA:82,1
-DA:88,1
-DA:95,1
-DA:96,1
-DA:103,1
-DA:110,1
-DA:111,1
-DA:118,1
-DA:125,1
-DA:127,1
-LF:23
-LH:23
-end_of_record
-SF:lib/src/specs/container/box_util.dart
-DA:68,0
-DA:69,0
-DA:72,6
-DA:87,3
-DA:102,3
-DA:119,0
-DA:136,0
-DA:153,0
-DA:164,0
-DA:188,0
-DA:212,0
-DA:237,0
-DA:254,0
-DA:283,0
-DA:286,73
-DA:288,9
-DA:289,9
-DA:290,18
-DA:294,3
-DA:295,9
-DA:298,5
-DA:299,13
-DA:302,3
-DA:303,7
-DA:307,21
-DA:309,0
-DA:311,1
-DA:312,1
-DA:314,1
-DA:315,1
-DA:316,0
-DA:320,1
-DA:321,3
-DA:324,3
-DA:325,9
-DA:328,3
-DA:329,6
-DA:331,3
-DA:333,0
-DA:335,0
-DA:338,0
-DA:340,0
-DA:342,0
-DA:344,0
-DA:346,5
-DA:347,15
-DA:349,5
-DA:350,15
-DA:352,12
-DA:363,12
-LF:50
-LH:31
-end_of_record
-SF:lib/src/specs/container/box_widget.dart
-DA:44,8
-DA:55,8
-DA:60,16
-DA:61,16
-DA:98,10
-DA:109,10
-DA:112,20
-DA:115,10
-DA:118,10
-DA:119,10
-DA:120,10
-DA:121,10
-DA:122,10
-DA:123,10
-DA:124,10
-DA:125,10
-DA:126,10
-DA:127,10
-DA:128,10
-DA:131,10
-DA:133,10
-DA:154,0
-DA:165,0
-DA:170,0
-DA:173,0
-DA:174,0
-DA:175,0
-DA:176,0
-DA:198,0
-DA:211,0
-DA:213,0
-DA:215,0
-DA:221,0
-DA:222,0
-DA:223,0
-DA:224,0
-DA:225,0
-DA:226,0
-DA:227,0
-DA:228,0
-DA:229,0
-DA:230,0
-DA:231,0
-DA:232,0
-DA:233,0
-LF:45
-LH:21
-end_of_record
-SF:lib/src/specs/flex/flex_util.dart
-DA:19,73
-DA:24,1
-DA:25,3
-DA:31,1
-DA:32,1
-DA:33,2
-DA:40,1
-DA:41,1
-DA:42,2
-DA:49,1
-DA:50,1
-DA:51,2
-DA:58,1
-DA:59,1
-DA:60,2
-DA:67,1
-DA:68,1
-DA:69,2
-DA:76,1
-DA:77,1
-DA:78,2
-DA:85,1
-DA:86,3
-DA:92,2
-DA:93,6
-DA:97,2
-DA:108,2
-DA:122,3
-DA:125,3
-LF:29
-LH:29
-end_of_record
-SF:lib/src/specs/flex/flex_widget.dart
-DA:31,1
-DA:42,1
-DA:44,2
-DA:45,3
-DA:51,3
-DA:64,2
-DA:66,4
-DA:67,2
-DA:68,2
-DA:70,2
-DA:71,2
-DA:73,4
-DA:74,4
-DA:76,4
-DA:78,4
-DA:79,2
-DA:82,2
-DA:84,2
-DA:89,2
-DA:91,1
-DA:93,1
-DA:94,2
-DA:95,5
-DA:96,2
-DA:97,1
-DA:98,2
-DA:99,1
-DA:100,1
-DA:101,2
-DA:124,1
-DA:129,1
-DA:149,1
-DA:154,1
-DA:176,2
-DA:187,2
-DA:189,4
-DA:190,2
-DA:191,6
-DA:213,2
-DA:219,2
-DA:239,2
-DA:245,2
-LF:42
-LH:42
-end_of_record
-SF:lib/src/specs/icon/icon_attribute.dart
-DA:10,11
-DA:12,9
-DA:14,35
-DA:17,2
-DA:21,2
-DA:22,3
-DA:23,2
-DA:27,1
-DA:28,3
-LF:9
-LH:9
-end_of_record
-SF:lib/src/specs/icon/icon_spec.dart
-DA:11,11
-DA:13,144
-DA:17,8
-DA:18,16
-DA:22,2
-DA:24,2
-DA:25,6
-DA:26,6
-DA:30,2
-DA:36,2
-DA:39,0
-DA:40,0
-LF:12
-LH:10
-end_of_record
-SF:lib/src/specs/icon/icon_util.dart
-DA:17,72
-DA:19,1
-DA:20,1
-DA:23,7
-DA:24,21
-DA:27,1
-DA:28,3
-LF:7
-LH:7
-end_of_record
-SF:lib/src/specs/icon/icon_widget.dart
-DA:11,3
-DA:24,2
-DA:26,4
-DA:27,2
-DA:28,2
-DA:29,2
-DA:30,2
-DA:37,2
-DA:52,2
-DA:54,4
-DA:55,2
-DA:57,2
-DA:58,2
-DA:59,2
-DA:60,2
-DA:61,2
-DA:62,2
-DA:65,2
-DA:67,2
-DA:74,0
-DA:89,0
-DA:91,0
-DA:92,0
-DA:95,0
-DA:96,0
-DA:97,0
-DA:98,0
-DA:99,0
-DA:100,0
-DA:101,0
-LF:30
-LH:19
-end_of_record
-SF:lib/src/specs/image/image_util.dart
-DA:11,72
-DA:13,0
-DA:20,0
-DA:29,0
-DA:30,0
-DA:33,0
-DA:34,0
-DA:37,0
-DA:38,0
-DA:41,0
-DA:42,0
-DA:45,0
-DA:46,0
-LF:13
-LH:1
-end_of_record
-SF:lib/src/specs/stack/stack_util.dart
-DA:9,72
-DA:11,1
-DA:17,1
-DA:25,1
-DA:26,3
-DA:29,1
-DA:30,3
-DA:33,1
-DA:34,1
-DA:35,2
-DA:39,1
-DA:40,3
-LF:12
-LH:12
-end_of_record
-SF:lib/src/specs/stack/stack_widget.dart
-DA:22,1
-DA:31,1
-DA:34,2
-DA:35,2
-DA:51,1
-DA:56,1
-DA:58,2
-DA:61,1
-DA:64,1
-DA:65,1
-DA:66,1
-DA:67,1
-DA:68,1
-DA:69,1
-DA:87,1
-DA:96,1
-DA:99,2
-DA:100,3
-LF:18
-LH:18
-end_of_record
-SF:lib/src/specs/text/text_util.dart
-DA:15,72
-DA:17,3
-DA:29,3
-DA:43,1
-DA:44,0
-DA:45,0
-DA:48,0
-DA:49,0
-DA:52,0
-DA:53,0
-DA:56,0
-DA:57,0
-DA:60,3
-DA:61,9
-DA:64,0
-DA:65,0
-DA:66,0
-DA:70,0
-DA:71,0
-DA:72,0
-DA:76,0
-DA:77,0
-DA:78,0
-DA:82,0
-DA:83,0
-DA:86,0
-DA:87,0
-DA:88,0
-DA:92,3
-DA:93,3
-DA:94,3
-DA:95,3
-DA:96,3
-LF:33
-LH:11
-end_of_record
-SF:lib/src/specs/text/text_widget.dart
-DA:40,4
-DA:53,4
-DA:55,8
-DA:56,4
-DA:57,4
-DA:58,4
-DA:59,4
-DA:79,4
-DA:94,4
-DA:97,8
-DA:99,4
-DA:101,4
-DA:104,4
-DA:105,4
-DA:106,4
-DA:107,4
-DA:108,4
-DA:109,4
-DA:110,4
-DA:111,4
-DA:112,4
-DA:113,4
-DA:114,4
-DA:115,4
-DA:116,4
-DA:117,4
-DA:120,4
-DA:122,4
-LF:28
-LH:28
-end_of_record
-SF:lib/src/theme/tokens/token_util.dart
-DA:17,73
-DA:26,73
-DA:38,72
-DA:48,72
-DA:53,72
-LF:5
-LH:5
-end_of_record
-SF:lib/src/utils/context_variant_util/on_breakpoint_util.dart
-DA:12,3
-DA:15,3
-DA:18,3
-DA:21,3
-DA:28,0
-DA:29,0
-DA:31,0
-DA:33,0
-DA:34,0
-DA:36,0
-DA:45,1
-DA:46,5
-DA:47,1
-DA:49,1
-DA:51,1
-LF:15
-LH:9
-end_of_record
-SF:lib/src/utils/context_variant_util/on_brightness_util.dart
-DA:10,9
-DA:13,9
-DA:20,3
-DA:21,15
-DA:22,9
-LF:5
-LH:5
-end_of_record
-SF:lib/src/utils/context_variant_util/on_directionality_util.dart
-DA:7,3
-DA:10,3
-DA:19,1
-DA:20,1
-DA:21,3
-DA:22,3
-LF:6
-LH:6
-end_of_record
-SF:lib/src/utils/context_variant_util/on_helper_util.dart
-DA:10,2
-DA:11,2
-DA:12,4
-DA:13,6
-LF:4
-LH:4
-end_of_record
-SF:lib/src/utils/context_variant_util/on_orientation_util.dart
-DA:9,3
-DA:14,3
-DA:23,1
-DA:24,1
-DA:25,3
-DA:26,3
-LF:6
-LH:6
-end_of_record
-SF:lib/src/utils/style_recipe.dart
-DA:4,0
-LF:1
-LH:0
-end_of_record
-SF:lib/src/widgets/pressable/gesture_widget.dart
-DA:8,0
-DA:36,0
-DA:38,0
-DA:39,0
-DA:40,0
-DA:41,0
-DA:42,0
-DA:43,0
-DA:44,0
-DA:45,0
-DA:46,0
-DA:47,0
-DA:48,0
-DA:49,0
-DA:50,0
-DA:57,1
-DA:81,1
-DA:82,1
-DA:93,1
-DA:95,1
-DA:96,4
-DA:97,3
-DA:100,1
-DA:101,4
-DA:104,1
-DA:107,1
-DA:109,1
-DA:114,0
-DA:116,0
-DA:117,0
-DA:118,0
-DA:120,0
-DA:121,0
-DA:125,1
-DA:127,3
-DA:129,1
-DA:132,0
-DA:133,0
-DA:134,0
-DA:135,0
-DA:138,0
-DA:141,0
-DA:142,0
-DA:143,0
-DA:146,1
-DA:148,1
-DA:150,2
-DA:152,1
-DA:154,1
-DA:155,1
-DA:158,2
-DA:159,2
-DA:160,1
-DA:161,0
-DA:162,0
-DA:163,2
-DA:164,0
-DA:165,0
-DA:166,2
-DA:167,0
-DA:168,0
-DA:169,2
-DA:170,1
-DA:172,1
-DA:173,2
-DA:174,0
-DA:175,0
-DA:176,2
-DA:177,1
-DA:178,1
-DA:179,1
-DA:182,1
-DA:184,2
-LF:73
-LH:36
-end_of_record
-SF:lib/src/helpers/build_context_ext.dart
-DA:8,2
-DA:13,2
-DA:16,2
-DA:19,0
-DA:22,3
-DA:25,2
-DA:28,3
-DA:31,3
-DA:34,2
-DA:37,3
-DA:40,3
-DA:43,3
-LF:12
-LH:11
-end_of_record
diff --git a/demo/.fvm/fvm_config.json b/demo/.fvm/fvm_config.json
deleted file mode 100644
index b3db758e4..000000000
--- a/demo/.fvm/fvm_config.json
+++ /dev/null
@@ -1,4 +0,0 @@
-{
- "flutterSdkVersion": "stable",
- "flavors": {}
-}
\ No newline at end of file
diff --git a/demo/.gitignore b/demo/.gitignore
deleted file mode 100644
index 0fa6b675c..000000000
--- a/demo/.gitignore
+++ /dev/null
@@ -1,46 +0,0 @@
-# Miscellaneous
-*.class
-*.log
-*.pyc
-*.swp
-.DS_Store
-.atom/
-.buildlog/
-.history
-.svn/
-
-# IntelliJ related
-*.iml
-*.ipr
-*.iws
-.idea/
-
-# The .vscode folder contains launch configuration and tasks you configure in
-# VS Code which you may wish to be included in version control, so this line
-# is commented out by default.
-#.vscode/
-
-# Flutter/Dart/Pub related
-**/doc/api/
-**/ios/Flutter/.last_build_id
-.dart_tool/
-.flutter-plugins
-.flutter-plugins-dependencies
-.packages
-.pub-cache/
-.pub/
-/build/
-
-# Web related
-lib/generated_plugin_registrant.dart
-
-# Symbolication related
-app.*.symbols
-
-# Obfuscation related
-app.*.map.json
-
-# Android Studio will place build artifacts here
-/android/app/debug
-/android/app/profile
-/android/app/release
diff --git a/demo/.metadata b/demo/.metadata
deleted file mode 100644
index a5584fc37..000000000
--- a/demo/.metadata
+++ /dev/null
@@ -1,10 +0,0 @@
-# This file tracks properties of this Flutter project.
-# Used by Flutter tool to assess capabilities and perform upgrades etc.
-#
-# This file should be version controlled and should not be manually edited.
-
-version:
- revision: 18116933e77adc82f80866c928266a5b4f1ed645
- channel: stable
-
-project_type: app
diff --git a/demo/.vscode/launch.json b/demo/.vscode/launch.json
deleted file mode 100644
index c882184b5..000000000
--- a/demo/.vscode/launch.json
+++ /dev/null
@@ -1,30 +0,0 @@
-{
- // Use IntelliSense to learn about possible attributes.
- // Hover to view descriptions of existing attributes.
- // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
- "version": "0.2.0",
- "configurations": [
- {
- "name": "mix",
- "request": "launch",
- "type": "dart"
- },
- {
- "name": "mix (profile mode)",
- "request": "launch",
- "type": "dart",
- "flutterMode": "profile"
- },
- {
- "name": "Launch Demo",
- "request": "launch",
- "type": "dart"
- },
- {
- "name": "Launch Demo (profile mode)",
- "request": "launch",
- "type": "dart",
- "flutterMode": "profile"
- }
- ]
-}
diff --git a/demo/.vscode/settings.json b/demo/.vscode/settings.json
deleted file mode 100644
index 0c64130e8..000000000
--- a/demo/.vscode/settings.json
+++ /dev/null
@@ -1,15 +0,0 @@
-{
- "dart.flutterSdkPath": ".fvm/flutter_sdk",
- // Remove .fvm files from search
- "search.exclude": {
- "**/.fvm": true
- },
- // Remove from file watching
- "files.watcherExclude": {
- "**/.fvm": true
- },
- "editor.codeActionsOnSave": {
- "source.organizeImports": "explicit",
- "source.fixAll": "explicit"
- }
-}
diff --git a/demo/README.md b/demo/README.md
deleted file mode 100644
index 9990fac04..000000000
--- a/demo/README.md
+++ /dev/null
@@ -1,16 +0,0 @@
-# demo
-
-A new Flutter project.
-
-## Getting Started
-
-This project is a starting point for a Flutter application.
-
-A few resources to get you started if this is your first Flutter project:
-
-- [Lab: Write your first Flutter app](https://flutter.dev/docs/get-started/codelab)
-- [Cookbook: Useful Flutter samples](https://flutter.dev/docs/cookbook)
-
-For help getting started with Flutter, view our
-[online documentation](https://flutter.dev/docs), which offers tutorials,
-samples, guidance on mobile development, and a full API reference.
diff --git a/demo/analysis_options.yaml b/demo/analysis_options.yaml
deleted file mode 100644
index 49feb998b..000000000
--- a/demo/analysis_options.yaml
+++ /dev/null
@@ -1,12 +0,0 @@
-# see https://github.com/dart-lang/pedantic#enabled-lints.
-include: package:flutter_lints/flutter.yaml
-
-# For lint rules and documentation, see http://dart-lang.github.io/linter/lints.
-# Uncomment to specify additional rules.
-linter:
- rules:
- public_member_api_docs: false
- prefer_relative_imports: true
-
-analyzer:
-
diff --git a/demo/android/.gitignore b/demo/android/.gitignore
deleted file mode 100644
index 6f568019d..000000000
--- a/demo/android/.gitignore
+++ /dev/null
@@ -1,13 +0,0 @@
-gradle-wrapper.jar
-/.gradle
-/captures/
-/gradlew
-/gradlew.bat
-/local.properties
-GeneratedPluginRegistrant.java
-
-# Remember to never publicly share your keystore.
-# See https://flutter.dev/docs/deployment/android#reference-the-keystore-from-the-app
-key.properties
-**/*.keystore
-**/*.jks
diff --git a/demo/android/.project b/demo/android/.project
deleted file mode 100644
index a3e83a1e2..000000000
--- a/demo/android/.project
+++ /dev/null
@@ -1,28 +0,0 @@
-
-
- android
- Project android created by Buildship.
-
-
-
-
- org.eclipse.buildship.core.gradleprojectbuilder
-
-
-
-
-
- org.eclipse.buildship.core.gradleprojectnature
-
-
-
- 1666279053796
-
- 30
-
- org.eclipse.core.resources.regexFilterMatcher
- node_modules|\.git|__CREATED_BY_JAVA_LANGUAGE_SERVER__
-
-
-
-
diff --git a/demo/android/.settings/org.eclipse.buildship.core.prefs b/demo/android/.settings/org.eclipse.buildship.core.prefs
deleted file mode 100644
index 42fc3afb4..000000000
--- a/demo/android/.settings/org.eclipse.buildship.core.prefs
+++ /dev/null
@@ -1,13 +0,0 @@
-arguments=--init-script /var/folders/nr/kwvcs9497l13_q_nq992_p_00000gn/T/init16579687645089476302.gradle --init-script /var/folders/nr/kwvcs9497l13_q_nq992_p_00000gn/T/init7150469169579237620.gradle
-auto.sync=false
-build.scans.enabled=false
-connection.gradle.distribution=GRADLE_DISTRIBUTION(WRAPPER)
-connection.project.dir=
-eclipse.preferences.version=1
-gradle.user.home=
-java.home=/Applications/Android Studio.app/Contents/jre/Contents/Home
-jvm.arguments=
-offline.mode=false
-override.workspace.settings=true
-show.console.view=true
-show.executions.view=true
diff --git a/demo/android/app/build.gradle b/demo/android/app/build.gradle
deleted file mode 100644
index a9fe6057e..000000000
--- a/demo/android/app/build.gradle
+++ /dev/null
@@ -1,68 +0,0 @@
-def localProperties = new Properties()
-def localPropertiesFile = rootProject.file('local.properties')
-if (localPropertiesFile.exists()) {
- localPropertiesFile.withReader('UTF-8') { reader ->
- localProperties.load(reader)
- }
-}
-
-def flutterRoot = localProperties.getProperty('flutter.sdk')
-if (flutterRoot == null) {
- throw new GradleException("Flutter SDK not found. Define location with flutter.sdk in the local.properties file.")
-}
-
-def flutterVersionCode = localProperties.getProperty('flutter.versionCode')
-if (flutterVersionCode == null) {
- flutterVersionCode = '1'
-}
-
-def flutterVersionName = localProperties.getProperty('flutter.versionName')
-if (flutterVersionName == null) {
- flutterVersionName = '1.0'
-}
-
-apply plugin: 'com.android.application'
-apply plugin: 'kotlin-android'
-apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
-
-android {
- compileSdkVersion 30
-
- compileOptions {
- sourceCompatibility JavaVersion.VERSION_1_8
- targetCompatibility JavaVersion.VERSION_1_8
- }
-
- kotlinOptions {
- jvmTarget = '1.8'
- }
-
- sourceSets {
- main.java.srcDirs += 'src/main/kotlin'
- }
-
- defaultConfig {
- // TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
- applicationId "com.example.demo"
- minSdkVersion 16
- targetSdkVersion 30
- versionCode flutterVersionCode.toInteger()
- versionName flutterVersionName
- }
-
- buildTypes {
- release {
- // TODO: Add your own signing config for the release build.
- // Signing with the debug keys for now, so `flutter run --release` works.
- signingConfig signingConfigs.debug
- }
- }
-}
-
-flutter {
- source '../..'
-}
-
-dependencies {
- implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
-}
diff --git a/demo/android/app/src/debug/AndroidManifest.xml b/demo/android/app/src/debug/AndroidManifest.xml
deleted file mode 100644
index 0310cf313..000000000
--- a/demo/android/app/src/debug/AndroidManifest.xml
+++ /dev/null
@@ -1,7 +0,0 @@
-
-
-
-
diff --git a/demo/android/app/src/main/AndroidManifest.xml b/demo/android/app/src/main/AndroidManifest.xml
deleted file mode 100644
index e9ac8f860..000000000
--- a/demo/android/app/src/main/AndroidManifest.xml
+++ /dev/null
@@ -1,41 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/demo/android/app/src/main/kotlin/com/example/demo/MainActivity.kt b/demo/android/app/src/main/kotlin/com/example/demo/MainActivity.kt
deleted file mode 100644
index 34b9c4c6c..000000000
--- a/demo/android/app/src/main/kotlin/com/example/demo/MainActivity.kt
+++ /dev/null
@@ -1,6 +0,0 @@
-package com.example.demo
-
-import io.flutter.embedding.android.FlutterActivity
-
-class MainActivity: FlutterActivity() {
-}
diff --git a/demo/android/app/src/main/res/drawable-hdpi/splash.png b/demo/android/app/src/main/res/drawable-hdpi/splash.png
deleted file mode 100644
index 3347ba730..000000000
Binary files a/demo/android/app/src/main/res/drawable-hdpi/splash.png and /dev/null differ
diff --git a/demo/android/app/src/main/res/drawable-mdpi/splash.png b/demo/android/app/src/main/res/drawable-mdpi/splash.png
deleted file mode 100644
index 2abd57cf5..000000000
Binary files a/demo/android/app/src/main/res/drawable-mdpi/splash.png and /dev/null differ
diff --git a/demo/android/app/src/main/res/drawable-night-hdpi/splash.png b/demo/android/app/src/main/res/drawable-night-hdpi/splash.png
deleted file mode 100644
index 3347ba730..000000000
Binary files a/demo/android/app/src/main/res/drawable-night-hdpi/splash.png and /dev/null differ
diff --git a/demo/android/app/src/main/res/drawable-night-mdpi/splash.png b/demo/android/app/src/main/res/drawable-night-mdpi/splash.png
deleted file mode 100644
index 2abd57cf5..000000000
Binary files a/demo/android/app/src/main/res/drawable-night-mdpi/splash.png and /dev/null differ
diff --git a/demo/android/app/src/main/res/drawable-night-xhdpi/splash.png b/demo/android/app/src/main/res/drawable-night-xhdpi/splash.png
deleted file mode 100644
index 9b9c6cee2..000000000
Binary files a/demo/android/app/src/main/res/drawable-night-xhdpi/splash.png and /dev/null differ
diff --git a/demo/android/app/src/main/res/drawable-night-xxhdpi/splash.png b/demo/android/app/src/main/res/drawable-night-xxhdpi/splash.png
deleted file mode 100644
index 8f828877a..000000000
Binary files a/demo/android/app/src/main/res/drawable-night-xxhdpi/splash.png and /dev/null differ
diff --git a/demo/android/app/src/main/res/drawable-night-xxxhdpi/splash.png b/demo/android/app/src/main/res/drawable-night-xxxhdpi/splash.png
deleted file mode 100644
index e07ba6f07..000000000
Binary files a/demo/android/app/src/main/res/drawable-night-xxxhdpi/splash.png and /dev/null differ
diff --git a/demo/android/app/src/main/res/drawable-v21/background.png b/demo/android/app/src/main/res/drawable-v21/background.png
deleted file mode 100644
index e29b3b59f..000000000
Binary files a/demo/android/app/src/main/res/drawable-v21/background.png and /dev/null differ
diff --git a/demo/android/app/src/main/res/drawable-v21/launch_background.xml b/demo/android/app/src/main/res/drawable-v21/launch_background.xml
deleted file mode 100644
index 3fe6b2e88..000000000
--- a/demo/android/app/src/main/res/drawable-v21/launch_background.xml
+++ /dev/null
@@ -1,9 +0,0 @@
-
-
- -
-
-
- -
-
-
-
\ No newline at end of file
diff --git a/demo/android/app/src/main/res/drawable-xhdpi/splash.png b/demo/android/app/src/main/res/drawable-xhdpi/splash.png
deleted file mode 100644
index 9b9c6cee2..000000000
Binary files a/demo/android/app/src/main/res/drawable-xhdpi/splash.png and /dev/null differ
diff --git a/demo/android/app/src/main/res/drawable-xxhdpi/splash.png b/demo/android/app/src/main/res/drawable-xxhdpi/splash.png
deleted file mode 100644
index 8f828877a..000000000
Binary files a/demo/android/app/src/main/res/drawable-xxhdpi/splash.png and /dev/null differ
diff --git a/demo/android/app/src/main/res/drawable-xxxhdpi/splash.png b/demo/android/app/src/main/res/drawable-xxxhdpi/splash.png
deleted file mode 100644
index e07ba6f07..000000000
Binary files a/demo/android/app/src/main/res/drawable-xxxhdpi/splash.png and /dev/null differ
diff --git a/demo/android/app/src/main/res/drawable/background.png b/demo/android/app/src/main/res/drawable/background.png
deleted file mode 100644
index e29b3b59f..000000000
Binary files a/demo/android/app/src/main/res/drawable/background.png and /dev/null differ
diff --git a/demo/android/app/src/main/res/drawable/launch_background.xml b/demo/android/app/src/main/res/drawable/launch_background.xml
deleted file mode 100644
index 3fe6b2e88..000000000
--- a/demo/android/app/src/main/res/drawable/launch_background.xml
+++ /dev/null
@@ -1,9 +0,0 @@
-
-
- -
-
-
- -
-
-
-
\ No newline at end of file
diff --git a/demo/android/app/src/main/res/mipmap-hdpi/ic_launcher.png b/demo/android/app/src/main/res/mipmap-hdpi/ic_launcher.png
deleted file mode 100644
index db77bb4b7..000000000
Binary files a/demo/android/app/src/main/res/mipmap-hdpi/ic_launcher.png and /dev/null differ
diff --git a/demo/android/app/src/main/res/mipmap-hdpi/launcher_icon.png b/demo/android/app/src/main/res/mipmap-hdpi/launcher_icon.png
deleted file mode 100644
index c63159660..000000000
Binary files a/demo/android/app/src/main/res/mipmap-hdpi/launcher_icon.png and /dev/null differ
diff --git a/demo/android/app/src/main/res/mipmap-mdpi/ic_launcher.png b/demo/android/app/src/main/res/mipmap-mdpi/ic_launcher.png
deleted file mode 100644
index 17987b79b..000000000
Binary files a/demo/android/app/src/main/res/mipmap-mdpi/ic_launcher.png and /dev/null differ
diff --git a/demo/android/app/src/main/res/mipmap-mdpi/launcher_icon.png b/demo/android/app/src/main/res/mipmap-mdpi/launcher_icon.png
deleted file mode 100644
index 97a9b2516..000000000
Binary files a/demo/android/app/src/main/res/mipmap-mdpi/launcher_icon.png and /dev/null differ
diff --git a/demo/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png b/demo/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png
deleted file mode 100644
index 09d439148..000000000
Binary files a/demo/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png and /dev/null differ
diff --git a/demo/android/app/src/main/res/mipmap-xhdpi/launcher_icon.png b/demo/android/app/src/main/res/mipmap-xhdpi/launcher_icon.png
deleted file mode 100644
index 66b9404a4..000000000
Binary files a/demo/android/app/src/main/res/mipmap-xhdpi/launcher_icon.png and /dev/null differ
diff --git a/demo/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png b/demo/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png
deleted file mode 100644
index d5f1c8d34..000000000
Binary files a/demo/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png and /dev/null differ
diff --git a/demo/android/app/src/main/res/mipmap-xxhdpi/launcher_icon.png b/demo/android/app/src/main/res/mipmap-xxhdpi/launcher_icon.png
deleted file mode 100644
index 50c7d5245..000000000
Binary files a/demo/android/app/src/main/res/mipmap-xxhdpi/launcher_icon.png and /dev/null differ
diff --git a/demo/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png b/demo/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png
deleted file mode 100644
index 4d6372eeb..000000000
Binary files a/demo/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png and /dev/null differ
diff --git a/demo/android/app/src/main/res/mipmap-xxxhdpi/launcher_icon.png b/demo/android/app/src/main/res/mipmap-xxxhdpi/launcher_icon.png
deleted file mode 100644
index 2fdd2b7df..000000000
Binary files a/demo/android/app/src/main/res/mipmap-xxxhdpi/launcher_icon.png and /dev/null differ
diff --git a/demo/android/app/src/main/res/values-night/styles.xml b/demo/android/app/src/main/res/values-night/styles.xml
deleted file mode 100644
index 449a9f930..000000000
--- a/demo/android/app/src/main/res/values-night/styles.xml
+++ /dev/null
@@ -1,18 +0,0 @@
-
-
-
-
-
-
-
diff --git a/demo/android/app/src/main/res/values-v31/styles.xml b/demo/android/app/src/main/res/values-v31/styles.xml
deleted file mode 100644
index 37aab1fcb..000000000
--- a/demo/android/app/src/main/res/values-v31/styles.xml
+++ /dev/null
@@ -1,18 +0,0 @@
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/demo/android/app/src/main/res/values/styles.xml b/demo/android/app/src/main/res/values/styles.xml
deleted file mode 100644
index 874a500e5..000000000
--- a/demo/android/app/src/main/res/values/styles.xml
+++ /dev/null
@@ -1,20 +0,0 @@
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/demo/android/app/src/profile/AndroidManifest.xml b/demo/android/app/src/profile/AndroidManifest.xml
deleted file mode 100644
index 0310cf313..000000000
--- a/demo/android/app/src/profile/AndroidManifest.xml
+++ /dev/null
@@ -1,7 +0,0 @@
-
-
-
-
diff --git a/demo/android/build.gradle b/demo/android/build.gradle
deleted file mode 100644
index ed45c6588..000000000
--- a/demo/android/build.gradle
+++ /dev/null
@@ -1,29 +0,0 @@
-buildscript {
- ext.kotlin_version = '1.3.50'
- repositories {
- google()
- mavenCentral()
- }
-
- dependencies {
- classpath 'com.android.tools.build:gradle:4.1.0'
- classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
- }
-}
-
-allprojects {
- repositories {
- google()
- mavenCentral()
- }
-}
-
-rootProject.buildDir = '../build'
-subprojects {
- project.buildDir = "${rootProject.buildDir}/${project.name}"
- project.evaluationDependsOn(':app')
-}
-
-task clean(type: Delete) {
- delete rootProject.buildDir
-}
diff --git a/demo/android/gradle.properties b/demo/android/gradle.properties
deleted file mode 100644
index 94adc3a3f..000000000
--- a/demo/android/gradle.properties
+++ /dev/null
@@ -1,3 +0,0 @@
-org.gradle.jvmargs=-Xmx1536M
-android.useAndroidX=true
-android.enableJetifier=true
diff --git a/demo/android/gradle/wrapper/gradle-wrapper.properties b/demo/android/gradle/wrapper/gradle-wrapper.properties
deleted file mode 100644
index bc6a58afd..000000000
--- a/demo/android/gradle/wrapper/gradle-wrapper.properties
+++ /dev/null
@@ -1,6 +0,0 @@
-#Fri Jun 23 08:50:38 CEST 2017
-distributionBase=GRADLE_USER_HOME
-distributionPath=wrapper/dists
-zipStoreBase=GRADLE_USER_HOME
-zipStorePath=wrapper/dists
-distributionUrl=https\://services.gradle.org/distributions/gradle-6.7-all.zip
diff --git a/demo/android/settings.gradle b/demo/android/settings.gradle
deleted file mode 100644
index 44e62bcf0..000000000
--- a/demo/android/settings.gradle
+++ /dev/null
@@ -1,11 +0,0 @@
-include ':app'
-
-def localPropertiesFile = new File(rootProject.projectDir, "local.properties")
-def properties = new Properties()
-
-assert localPropertiesFile.exists()
-localPropertiesFile.withReader("UTF-8") { reader -> properties.load(reader) }
-
-def flutterSdkPath = properties.getProperty("flutter.sdk")
-assert flutterSdkPath != null, "flutter.sdk not set in local.properties"
-apply from: "$flutterSdkPath/packages/flutter_tools/gradle/app_plugin_loader.gradle"
diff --git a/demo/assets/logo.png b/demo/assets/logo.png
deleted file mode 100644
index 157e9adf9..000000000
Binary files a/demo/assets/logo.png and /dev/null differ
diff --git a/demo/ios/.gitignore b/demo/ios/.gitignore
deleted file mode 100644
index 7a7f9873a..000000000
--- a/demo/ios/.gitignore
+++ /dev/null
@@ -1,34 +0,0 @@
-**/dgph
-*.mode1v3
-*.mode2v3
-*.moved-aside
-*.pbxuser
-*.perspectivev3
-**/*sync/
-.sconsign.dblite
-.tags*
-**/.vagrant/
-**/DerivedData/
-Icon?
-**/Pods/
-**/.symlinks/
-profile
-xcuserdata
-**/.generated/
-Flutter/App.framework
-Flutter/Flutter.framework
-Flutter/Flutter.podspec
-Flutter/Generated.xcconfig
-Flutter/ephemeral/
-Flutter/app.flx
-Flutter/app.zip
-Flutter/flutter_assets/
-Flutter/flutter_export_environment.sh
-ServiceDefinitions.json
-Runner/GeneratedPluginRegistrant.*
-
-# Exceptions to above rules.
-!default.mode1v3
-!default.mode2v3
-!default.pbxuser
-!default.perspectivev3
diff --git a/demo/ios/Flutter/AppFrameworkInfo.plist b/demo/ios/Flutter/AppFrameworkInfo.plist
deleted file mode 100644
index 9625e105d..000000000
--- a/demo/ios/Flutter/AppFrameworkInfo.plist
+++ /dev/null
@@ -1,26 +0,0 @@
-
-
-
-
- CFBundleDevelopmentRegion
- en
- CFBundleExecutable
- App
- CFBundleIdentifier
- io.flutter.flutter.app
- CFBundleInfoDictionaryVersion
- 6.0
- CFBundleName
- App
- CFBundlePackageType
- FMWK
- CFBundleShortVersionString
- 1.0
- CFBundleSignature
- ????
- CFBundleVersion
- 1.0
- MinimumOSVersion
- 11.0
-
-
diff --git a/demo/ios/Flutter/Debug.xcconfig b/demo/ios/Flutter/Debug.xcconfig
deleted file mode 100644
index ec97fc6f3..000000000
--- a/demo/ios/Flutter/Debug.xcconfig
+++ /dev/null
@@ -1,2 +0,0 @@
-#include? "Pods/Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig"
-#include "Generated.xcconfig"
diff --git a/demo/ios/Flutter/Release.xcconfig b/demo/ios/Flutter/Release.xcconfig
deleted file mode 100644
index c4855bfe2..000000000
--- a/demo/ios/Flutter/Release.xcconfig
+++ /dev/null
@@ -1,2 +0,0 @@
-#include? "Pods/Target Support Files/Pods-Runner/Pods-Runner.release.xcconfig"
-#include "Generated.xcconfig"
diff --git a/demo/ios/Podfile b/demo/ios/Podfile
deleted file mode 100644
index 88359b225..000000000
--- a/demo/ios/Podfile
+++ /dev/null
@@ -1,41 +0,0 @@
-# Uncomment this line to define a global platform for your project
-# platform :ios, '11.0'
-
-# CocoaPods analytics sends network stats synchronously affecting flutter build latency.
-ENV['COCOAPODS_DISABLE_STATS'] = 'true'
-
-project 'Runner', {
- 'Debug' => :debug,
- 'Profile' => :release,
- 'Release' => :release,
-}
-
-def flutter_root
- generated_xcode_build_settings_path = File.expand_path(File.join('..', 'Flutter', 'Generated.xcconfig'), __FILE__)
- unless File.exist?(generated_xcode_build_settings_path)
- raise "#{generated_xcode_build_settings_path} must exist. If you're running pod install manually, make sure flutter pub get is executed first"
- end
-
- File.foreach(generated_xcode_build_settings_path) do |line|
- matches = line.match(/FLUTTER_ROOT\=(.*)/)
- return matches[1].strip if matches
- end
- raise "FLUTTER_ROOT not found in #{generated_xcode_build_settings_path}. Try deleting Generated.xcconfig, then run flutter pub get"
-end
-
-require File.expand_path(File.join('packages', 'flutter_tools', 'bin', 'podhelper'), flutter_root)
-
-flutter_ios_podfile_setup
-
-target 'Runner' do
- use_frameworks!
- use_modular_headers!
-
- flutter_install_all_ios_pods File.dirname(File.realpath(__FILE__))
-end
-
-post_install do |installer|
- installer.pods_project.targets.each do |target|
- flutter_additional_ios_build_settings(target)
- end
-end
diff --git a/demo/ios/Podfile.lock b/demo/ios/Podfile.lock
deleted file mode 100644
index 6d8ea0488..000000000
--- a/demo/ios/Podfile.lock
+++ /dev/null
@@ -1,29 +0,0 @@
-PODS:
- - Flutter (1.0.0)
- - flutter_native_splash (0.0.1):
- - Flutter
- - path_provider_foundation (0.0.1):
- - Flutter
- - FlutterMacOS
-
-DEPENDENCIES:
- - Flutter (from `Flutter`)
- - flutter_native_splash (from `.symlinks/plugins/flutter_native_splash/ios`)
- - path_provider_foundation (from `.symlinks/plugins/path_provider_foundation/darwin`)
-
-EXTERNAL SOURCES:
- Flutter:
- :path: Flutter
- flutter_native_splash:
- :path: ".symlinks/plugins/flutter_native_splash/ios"
- path_provider_foundation:
- :path: ".symlinks/plugins/path_provider_foundation/darwin"
-
-SPEC CHECKSUMS:
- Flutter: f04841e97a9d0b0a8025694d0796dd46242b2854
- flutter_native_splash: 52501b97d1c0a5f898d687f1646226c1f93c56ef
- path_provider_foundation: 29f094ae23ebbca9d3d0cec13889cd9060c0e943
-
-PODFILE CHECKSUM: ef19549a9bc3046e7bb7d2fab4d021637c0c58a3
-
-COCOAPODS: 1.13.0
diff --git a/demo/ios/Runner.xcodeproj/project.pbxproj b/demo/ios/Runner.xcodeproj/project.pbxproj
deleted file mode 100644
index c22627cd4..000000000
--- a/demo/ios/Runner.xcodeproj/project.pbxproj
+++ /dev/null
@@ -1,551 +0,0 @@
-// !$*UTF8*$!
-{
- archiveVersion = 1;
- classes = {
- };
- objectVersion = 54;
- objects = {
-
-/* Begin PBXBuildFile section */
- 0B65E10B22F7CE092B033F2E /* Pods_Runner.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = BBE22BD976632970E6EA4E49 /* Pods_Runner.framework */; };
- 1498D2341E8E89220040F4C2 /* GeneratedPluginRegistrant.m in Sources */ = {isa = PBXBuildFile; fileRef = 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */; };
- 3B3967161E833CAA004F5970 /* AppFrameworkInfo.plist in Resources */ = {isa = PBXBuildFile; fileRef = 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */; };
- 74858FAF1ED2DC5600515810 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 74858FAE1ED2DC5600515810 /* AppDelegate.swift */; };
- 97C146FC1CF9000F007C117D /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FA1CF9000F007C117D /* Main.storyboard */; };
- 97C146FE1CF9000F007C117D /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FD1CF9000F007C117D /* Assets.xcassets */; };
- 97C147011CF9000F007C117D /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */; };
-/* End PBXBuildFile section */
-
-/* Begin PBXCopyFilesBuildPhase section */
- 9705A1C41CF9048500538489 /* Embed Frameworks */ = {
- isa = PBXCopyFilesBuildPhase;
- buildActionMask = 2147483647;
- dstPath = "";
- dstSubfolderSpec = 10;
- files = (
- );
- name = "Embed Frameworks";
- runOnlyForDeploymentPostprocessing = 0;
- };
-/* End PBXCopyFilesBuildPhase section */
-
-/* Begin PBXFileReference section */
- 1498D2321E8E86230040F4C2 /* GeneratedPluginRegistrant.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = GeneratedPluginRegistrant.h; sourceTree = ""; };
- 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = GeneratedPluginRegistrant.m; sourceTree = ""; };
- 245B7EE95F1947A359F9FA42 /* Pods-Runner.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Runner.release.xcconfig"; path = "Target Support Files/Pods-Runner/Pods-Runner.release.xcconfig"; sourceTree = ""; };
- 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = AppFrameworkInfo.plist; path = Flutter/AppFrameworkInfo.plist; sourceTree = ""; };
- 5FA7C96CD4D4DBD8E1D3D0C0 /* Pods-Runner.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Runner.debug.xcconfig"; path = "Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig"; sourceTree = ""; };
- 705EDF8A0CFF2CCD15173FDB /* Pods-Runner.profile.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Runner.profile.xcconfig"; path = "Target Support Files/Pods-Runner/Pods-Runner.profile.xcconfig"; sourceTree = ""; };
- 74858FAD1ED2DC5600515810 /* Runner-Bridging-Header.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "Runner-Bridging-Header.h"; sourceTree = ""; };
- 74858FAE1ED2DC5600515810 /* AppDelegate.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; };
- 7AFA3C8E1D35360C0083082E /* Release.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; name = Release.xcconfig; path = Flutter/Release.xcconfig; sourceTree = ""; };
- 9740EEB21CF90195004384FC /* Debug.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; name = Debug.xcconfig; path = Flutter/Debug.xcconfig; sourceTree = ""; };
- 9740EEB31CF90195004384FC /* Generated.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; name = Generated.xcconfig; path = Flutter/Generated.xcconfig; sourceTree = ""; };
- 97C146EE1CF9000F007C117D /* Runner.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Runner.app; sourceTree = BUILT_PRODUCTS_DIR; };
- 97C146FB1CF9000F007C117D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; };
- 97C146FD1CF9000F007C117D /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; };
- 97C147001CF9000F007C117D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = ""; };
- 97C147021CF9000F007C117D /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; };
- BBE22BD976632970E6EA4E49 /* Pods_Runner.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_Runner.framework; sourceTree = BUILT_PRODUCTS_DIR; };
-/* End PBXFileReference section */
-
-/* Begin PBXFrameworksBuildPhase section */
- 97C146EB1CF9000F007C117D /* Frameworks */ = {
- isa = PBXFrameworksBuildPhase;
- buildActionMask = 2147483647;
- files = (
- 0B65E10B22F7CE092B033F2E /* Pods_Runner.framework in Frameworks */,
- );
- runOnlyForDeploymentPostprocessing = 0;
- };
-/* End PBXFrameworksBuildPhase section */
-
-/* Begin PBXGroup section */
- 3BB17147C6EECAADF99096C7 /* Frameworks */ = {
- isa = PBXGroup;
- children = (
- BBE22BD976632970E6EA4E49 /* Pods_Runner.framework */,
- );
- name = Frameworks;
- sourceTree = "";
- };
- 972336DC1E1835B3587BEDAD /* Pods */ = {
- isa = PBXGroup;
- children = (
- 5FA7C96CD4D4DBD8E1D3D0C0 /* Pods-Runner.debug.xcconfig */,
- 245B7EE95F1947A359F9FA42 /* Pods-Runner.release.xcconfig */,
- 705EDF8A0CFF2CCD15173FDB /* Pods-Runner.profile.xcconfig */,
- );
- name = Pods;
- path = Pods;
- sourceTree = "";
- };
- 9740EEB11CF90186004384FC /* Flutter */ = {
- isa = PBXGroup;
- children = (
- 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */,
- 9740EEB21CF90195004384FC /* Debug.xcconfig */,
- 7AFA3C8E1D35360C0083082E /* Release.xcconfig */,
- 9740EEB31CF90195004384FC /* Generated.xcconfig */,
- );
- name = Flutter;
- sourceTree = "";
- };
- 97C146E51CF9000F007C117D = {
- isa = PBXGroup;
- children = (
- 9740EEB11CF90186004384FC /* Flutter */,
- 97C146F01CF9000F007C117D /* Runner */,
- 97C146EF1CF9000F007C117D /* Products */,
- 972336DC1E1835B3587BEDAD /* Pods */,
- 3BB17147C6EECAADF99096C7 /* Frameworks */,
- );
- sourceTree = "";
- };
- 97C146EF1CF9000F007C117D /* Products */ = {
- isa = PBXGroup;
- children = (
- 97C146EE1CF9000F007C117D /* Runner.app */,
- );
- name = Products;
- sourceTree = "";
- };
- 97C146F01CF9000F007C117D /* Runner */ = {
- isa = PBXGroup;
- children = (
- 97C146FA1CF9000F007C117D /* Main.storyboard */,
- 97C146FD1CF9000F007C117D /* Assets.xcassets */,
- 97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */,
- 97C147021CF9000F007C117D /* Info.plist */,
- 1498D2321E8E86230040F4C2 /* GeneratedPluginRegistrant.h */,
- 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */,
- 74858FAE1ED2DC5600515810 /* AppDelegate.swift */,
- 74858FAD1ED2DC5600515810 /* Runner-Bridging-Header.h */,
- );
- path = Runner;
- sourceTree = "";
- };
-/* End PBXGroup section */
-
-/* Begin PBXNativeTarget section */
- 97C146ED1CF9000F007C117D /* Runner */ = {
- isa = PBXNativeTarget;
- buildConfigurationList = 97C147051CF9000F007C117D /* Build configuration list for PBXNativeTarget "Runner" */;
- buildPhases = (
- 90CA4FB9D6F73B4DBDC6EB0C /* [CP] Check Pods Manifest.lock */,
- 9740EEB61CF901F6004384FC /* Run Script */,
- 97C146EA1CF9000F007C117D /* Sources */,
- 97C146EB1CF9000F007C117D /* Frameworks */,
- 97C146EC1CF9000F007C117D /* Resources */,
- 9705A1C41CF9048500538489 /* Embed Frameworks */,
- 3B06AD1E1E4923F5004D2608 /* Thin Binary */,
- A2DB3B311AF2DA5240EF0621 /* [CP] Embed Pods Frameworks */,
- );
- buildRules = (
- );
- dependencies = (
- );
- name = Runner;
- productName = Runner;
- productReference = 97C146EE1CF9000F007C117D /* Runner.app */;
- productType = "com.apple.product-type.application";
- };
-/* End PBXNativeTarget section */
-
-/* Begin PBXProject section */
- 97C146E61CF9000F007C117D /* Project object */ = {
- isa = PBXProject;
- attributes = {
- LastUpgradeCheck = 1430;
- ORGANIZATIONNAME = "";
- TargetAttributes = {
- 97C146ED1CF9000F007C117D = {
- CreatedOnToolsVersion = 7.3.1;
- LastSwiftMigration = 1100;
- };
- };
- };
- buildConfigurationList = 97C146E91CF9000F007C117D /* Build configuration list for PBXProject "Runner" */;
- compatibilityVersion = "Xcode 9.3";
- developmentRegion = en;
- hasScannedForEncodings = 0;
- knownRegions = (
- en,
- Base,
- );
- mainGroup = 97C146E51CF9000F007C117D;
- productRefGroup = 97C146EF1CF9000F007C117D /* Products */;
- projectDirPath = "";
- projectRoot = "";
- targets = (
- 97C146ED1CF9000F007C117D /* Runner */,
- );
- };
-/* End PBXProject section */
-
-/* Begin PBXResourcesBuildPhase section */
- 97C146EC1CF9000F007C117D /* Resources */ = {
- isa = PBXResourcesBuildPhase;
- buildActionMask = 2147483647;
- files = (
- 97C147011CF9000F007C117D /* LaunchScreen.storyboard in Resources */,
- 3B3967161E833CAA004F5970 /* AppFrameworkInfo.plist in Resources */,
- 97C146FE1CF9000F007C117D /* Assets.xcassets in Resources */,
- 97C146FC1CF9000F007C117D /* Main.storyboard in Resources */,
- );
- runOnlyForDeploymentPostprocessing = 0;
- };
-/* End PBXResourcesBuildPhase section */
-
-/* Begin PBXShellScriptBuildPhase section */
- 3B06AD1E1E4923F5004D2608 /* Thin Binary */ = {
- isa = PBXShellScriptBuildPhase;
- alwaysOutOfDate = 1;
- buildActionMask = 2147483647;
- files = (
- );
- inputPaths = (
- "${TARGET_BUILD_DIR}/${INFOPLIST_PATH}",
- );
- name = "Thin Binary";
- outputPaths = (
- );
- runOnlyForDeploymentPostprocessing = 0;
- shellPath = /bin/sh;
- shellScript = "/bin/sh \"$FLUTTER_ROOT/packages/flutter_tools/bin/xcode_backend.sh\" embed_and_thin";
- };
- 90CA4FB9D6F73B4DBDC6EB0C /* [CP] Check Pods Manifest.lock */ = {
- isa = PBXShellScriptBuildPhase;
- buildActionMask = 2147483647;
- files = (
- );
- inputFileListPaths = (
- );
- inputPaths = (
- "${PODS_PODFILE_DIR_PATH}/Podfile.lock",
- "${PODS_ROOT}/Manifest.lock",
- );
- name = "[CP] Check Pods Manifest.lock";
- outputFileListPaths = (
- );
- outputPaths = (
- "$(DERIVED_FILE_DIR)/Pods-Runner-checkManifestLockResult.txt",
- );
- runOnlyForDeploymentPostprocessing = 0;
- shellPath = /bin/sh;
- shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n";
- showEnvVarsInLog = 0;
- };
- 9740EEB61CF901F6004384FC /* Run Script */ = {
- isa = PBXShellScriptBuildPhase;
- alwaysOutOfDate = 1;
- buildActionMask = 2147483647;
- files = (
- );
- inputPaths = (
- );
- name = "Run Script";
- outputPaths = (
- );
- runOnlyForDeploymentPostprocessing = 0;
- shellPath = /bin/sh;
- shellScript = "/bin/sh \"$FLUTTER_ROOT/packages/flutter_tools/bin/xcode_backend.sh\" build";
- };
- A2DB3B311AF2DA5240EF0621 /* [CP] Embed Pods Frameworks */ = {
- isa = PBXShellScriptBuildPhase;
- buildActionMask = 2147483647;
- files = (
- );
- inputFileListPaths = (
- "${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-frameworks-${CONFIGURATION}-input-files.xcfilelist",
- );
- name = "[CP] Embed Pods Frameworks";
- outputFileListPaths = (
- "${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-frameworks-${CONFIGURATION}-output-files.xcfilelist",
- );
- runOnlyForDeploymentPostprocessing = 0;
- shellPath = /bin/sh;
- shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-frameworks.sh\"\n";
- showEnvVarsInLog = 0;
- };
-/* End PBXShellScriptBuildPhase section */
-
-/* Begin PBXSourcesBuildPhase section */
- 97C146EA1CF9000F007C117D /* Sources */ = {
- isa = PBXSourcesBuildPhase;
- buildActionMask = 2147483647;
- files = (
- 74858FAF1ED2DC5600515810 /* AppDelegate.swift in Sources */,
- 1498D2341E8E89220040F4C2 /* GeneratedPluginRegistrant.m in Sources */,
- );
- runOnlyForDeploymentPostprocessing = 0;
- };
-/* End PBXSourcesBuildPhase section */
-
-/* Begin PBXVariantGroup section */
- 97C146FA1CF9000F007C117D /* Main.storyboard */ = {
- isa = PBXVariantGroup;
- children = (
- 97C146FB1CF9000F007C117D /* Base */,
- );
- name = Main.storyboard;
- sourceTree = "";
- };
- 97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */ = {
- isa = PBXVariantGroup;
- children = (
- 97C147001CF9000F007C117D /* Base */,
- );
- name = LaunchScreen.storyboard;
- sourceTree = "";
- };
-/* End PBXVariantGroup section */
-
-/* Begin XCBuildConfiguration section */
- 249021D3217E4FDB00AE95B9 /* Profile */ = {
- isa = XCBuildConfiguration;
- buildSettings = {
- ALWAYS_SEARCH_USER_PATHS = NO;
- CLANG_ANALYZER_NONNULL = YES;
- CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
- CLANG_CXX_LIBRARY = "libc++";
- CLANG_ENABLE_MODULES = YES;
- CLANG_ENABLE_OBJC_ARC = YES;
- CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
- CLANG_WARN_BOOL_CONVERSION = YES;
- CLANG_WARN_COMMA = YES;
- CLANG_WARN_CONSTANT_CONVERSION = YES;
- CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
- CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
- CLANG_WARN_EMPTY_BODY = YES;
- CLANG_WARN_ENUM_CONVERSION = YES;
- CLANG_WARN_INFINITE_RECURSION = YES;
- CLANG_WARN_INT_CONVERSION = YES;
- CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
- CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
- CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
- CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
- CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
- CLANG_WARN_STRICT_PROTOTYPES = YES;
- CLANG_WARN_SUSPICIOUS_MOVE = YES;
- CLANG_WARN_UNREACHABLE_CODE = YES;
- CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
- "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
- COPY_PHASE_STRIP = NO;
- DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
- ENABLE_NS_ASSERTIONS = NO;
- ENABLE_STRICT_OBJC_MSGSEND = YES;
- GCC_C_LANGUAGE_STANDARD = gnu99;
- GCC_NO_COMMON_BLOCKS = YES;
- GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
- GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
- GCC_WARN_UNDECLARED_SELECTOR = YES;
- GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
- GCC_WARN_UNUSED_FUNCTION = YES;
- GCC_WARN_UNUSED_VARIABLE = YES;
- IPHONEOS_DEPLOYMENT_TARGET = 11.0;
- MTL_ENABLE_DEBUG_INFO = NO;
- SDKROOT = iphoneos;
- SUPPORTED_PLATFORMS = iphoneos;
- TARGETED_DEVICE_FAMILY = "1,2";
- VALIDATE_PRODUCT = YES;
- };
- name = Profile;
- };
- 249021D4217E4FDB00AE95B9 /* Profile */ = {
- isa = XCBuildConfiguration;
- baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */;
- buildSettings = {
- ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
- CLANG_ENABLE_MODULES = YES;
- CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)";
- ENABLE_BITCODE = NO;
- INFOPLIST_FILE = Runner/Info.plist;
- LD_RUNPATH_SEARCH_PATHS = (
- "$(inherited)",
- "@executable_path/Frameworks",
- );
- PRODUCT_BUNDLE_IDENTIFIER = com.example.demo;
- PRODUCT_NAME = "$(TARGET_NAME)";
- SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h";
- SWIFT_VERSION = 5.0;
- VERSIONING_SYSTEM = "apple-generic";
- };
- name = Profile;
- };
- 97C147031CF9000F007C117D /* Debug */ = {
- isa = XCBuildConfiguration;
- buildSettings = {
- ALWAYS_SEARCH_USER_PATHS = NO;
- CLANG_ANALYZER_NONNULL = YES;
- CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
- CLANG_CXX_LIBRARY = "libc++";
- CLANG_ENABLE_MODULES = YES;
- CLANG_ENABLE_OBJC_ARC = YES;
- CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
- CLANG_WARN_BOOL_CONVERSION = YES;
- CLANG_WARN_COMMA = YES;
- CLANG_WARN_CONSTANT_CONVERSION = YES;
- CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
- CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
- CLANG_WARN_EMPTY_BODY = YES;
- CLANG_WARN_ENUM_CONVERSION = YES;
- CLANG_WARN_INFINITE_RECURSION = YES;
- CLANG_WARN_INT_CONVERSION = YES;
- CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
- CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
- CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
- CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
- CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
- CLANG_WARN_STRICT_PROTOTYPES = YES;
- CLANG_WARN_SUSPICIOUS_MOVE = YES;
- CLANG_WARN_UNREACHABLE_CODE = YES;
- CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
- "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
- COPY_PHASE_STRIP = NO;
- DEBUG_INFORMATION_FORMAT = dwarf;
- ENABLE_STRICT_OBJC_MSGSEND = YES;
- ENABLE_TESTABILITY = YES;
- GCC_C_LANGUAGE_STANDARD = gnu99;
- GCC_DYNAMIC_NO_PIC = NO;
- GCC_NO_COMMON_BLOCKS = YES;
- GCC_OPTIMIZATION_LEVEL = 0;
- GCC_PREPROCESSOR_DEFINITIONS = (
- "DEBUG=1",
- "$(inherited)",
- );
- GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
- GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
- GCC_WARN_UNDECLARED_SELECTOR = YES;
- GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
- GCC_WARN_UNUSED_FUNCTION = YES;
- GCC_WARN_UNUSED_VARIABLE = YES;
- IPHONEOS_DEPLOYMENT_TARGET = 11.0;
- MTL_ENABLE_DEBUG_INFO = YES;
- ONLY_ACTIVE_ARCH = YES;
- SDKROOT = iphoneos;
- TARGETED_DEVICE_FAMILY = "1,2";
- };
- name = Debug;
- };
- 97C147041CF9000F007C117D /* Release */ = {
- isa = XCBuildConfiguration;
- buildSettings = {
- ALWAYS_SEARCH_USER_PATHS = NO;
- CLANG_ANALYZER_NONNULL = YES;
- CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
- CLANG_CXX_LIBRARY = "libc++";
- CLANG_ENABLE_MODULES = YES;
- CLANG_ENABLE_OBJC_ARC = YES;
- CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
- CLANG_WARN_BOOL_CONVERSION = YES;
- CLANG_WARN_COMMA = YES;
- CLANG_WARN_CONSTANT_CONVERSION = YES;
- CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
- CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
- CLANG_WARN_EMPTY_BODY = YES;
- CLANG_WARN_ENUM_CONVERSION = YES;
- CLANG_WARN_INFINITE_RECURSION = YES;
- CLANG_WARN_INT_CONVERSION = YES;
- CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
- CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
- CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
- CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
- CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
- CLANG_WARN_STRICT_PROTOTYPES = YES;
- CLANG_WARN_SUSPICIOUS_MOVE = YES;
- CLANG_WARN_UNREACHABLE_CODE = YES;
- CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
- "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
- COPY_PHASE_STRIP = NO;
- DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
- ENABLE_NS_ASSERTIONS = NO;
- ENABLE_STRICT_OBJC_MSGSEND = YES;
- GCC_C_LANGUAGE_STANDARD = gnu99;
- GCC_NO_COMMON_BLOCKS = YES;
- GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
- GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
- GCC_WARN_UNDECLARED_SELECTOR = YES;
- GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
- GCC_WARN_UNUSED_FUNCTION = YES;
- GCC_WARN_UNUSED_VARIABLE = YES;
- IPHONEOS_DEPLOYMENT_TARGET = 11.0;
- MTL_ENABLE_DEBUG_INFO = NO;
- SDKROOT = iphoneos;
- SUPPORTED_PLATFORMS = iphoneos;
- SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule";
- TARGETED_DEVICE_FAMILY = "1,2";
- VALIDATE_PRODUCT = YES;
- };
- name = Release;
- };
- 97C147061CF9000F007C117D /* Debug */ = {
- isa = XCBuildConfiguration;
- baseConfigurationReference = 9740EEB21CF90195004384FC /* Debug.xcconfig */;
- buildSettings = {
- ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
- CLANG_ENABLE_MODULES = YES;
- CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)";
- ENABLE_BITCODE = NO;
- INFOPLIST_FILE = Runner/Info.plist;
- LD_RUNPATH_SEARCH_PATHS = (
- "$(inherited)",
- "@executable_path/Frameworks",
- );
- PRODUCT_BUNDLE_IDENTIFIER = com.example.demo;
- PRODUCT_NAME = "$(TARGET_NAME)";
- SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h";
- SWIFT_OPTIMIZATION_LEVEL = "-Onone";
- SWIFT_VERSION = 5.0;
- VERSIONING_SYSTEM = "apple-generic";
- };
- name = Debug;
- };
- 97C147071CF9000F007C117D /* Release */ = {
- isa = XCBuildConfiguration;
- baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */;
- buildSettings = {
- ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
- CLANG_ENABLE_MODULES = YES;
- CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)";
- ENABLE_BITCODE = NO;
- INFOPLIST_FILE = Runner/Info.plist;
- LD_RUNPATH_SEARCH_PATHS = (
- "$(inherited)",
- "@executable_path/Frameworks",
- );
- PRODUCT_BUNDLE_IDENTIFIER = com.example.demo;
- PRODUCT_NAME = "$(TARGET_NAME)";
- SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h";
- SWIFT_VERSION = 5.0;
- VERSIONING_SYSTEM = "apple-generic";
- };
- name = Release;
- };
-/* End XCBuildConfiguration section */
-
-/* Begin XCConfigurationList section */
- 97C146E91CF9000F007C117D /* Build configuration list for PBXProject "Runner" */ = {
- isa = XCConfigurationList;
- buildConfigurations = (
- 97C147031CF9000F007C117D /* Debug */,
- 97C147041CF9000F007C117D /* Release */,
- 249021D3217E4FDB00AE95B9 /* Profile */,
- );
- defaultConfigurationIsVisible = 0;
- defaultConfigurationName = Release;
- };
- 97C147051CF9000F007C117D /* Build configuration list for PBXNativeTarget "Runner" */ = {
- isa = XCConfigurationList;
- buildConfigurations = (
- 97C147061CF9000F007C117D /* Debug */,
- 97C147071CF9000F007C117D /* Release */,
- 249021D4217E4FDB00AE95B9 /* Profile */,
- );
- defaultConfigurationIsVisible = 0;
- defaultConfigurationName = Release;
- };
-/* End XCConfigurationList section */
- };
- rootObject = 97C146E61CF9000F007C117D /* Project object */;
-}
diff --git a/demo/ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata b/demo/ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata
deleted file mode 100644
index 919434a62..000000000
--- a/demo/ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata
+++ /dev/null
@@ -1,7 +0,0 @@
-
-
-
-
-
diff --git a/demo/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/demo/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist
deleted file mode 100644
index 18d981003..000000000
--- a/demo/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist
+++ /dev/null
@@ -1,8 +0,0 @@
-
-
-
-
- IDEDidComputeMac32BitWarning
-
-
-
diff --git a/demo/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings b/demo/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings
deleted file mode 100644
index f9b0d7c5e..000000000
--- a/demo/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings
+++ /dev/null
@@ -1,8 +0,0 @@
-
-
-
-
- PreviewsEnabled
-
-
-
diff --git a/demo/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme b/demo/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme
deleted file mode 100644
index b52b2e698..000000000
--- a/demo/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme
+++ /dev/null
@@ -1,91 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/demo/ios/Runner.xcworkspace/contents.xcworkspacedata b/demo/ios/Runner.xcworkspace/contents.xcworkspacedata
deleted file mode 100644
index 21a3cc14c..000000000
--- a/demo/ios/Runner.xcworkspace/contents.xcworkspacedata
+++ /dev/null
@@ -1,10 +0,0 @@
-
-
-
-
-
-
-
diff --git a/demo/ios/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/demo/ios/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist
deleted file mode 100644
index 18d981003..000000000
--- a/demo/ios/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist
+++ /dev/null
@@ -1,8 +0,0 @@
-
-
-
-
- IDEDidComputeMac32BitWarning
-
-
-
diff --git a/demo/ios/Runner.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings b/demo/ios/Runner.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings
deleted file mode 100644
index f9b0d7c5e..000000000
--- a/demo/ios/Runner.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings
+++ /dev/null
@@ -1,8 +0,0 @@
-
-
-
-
- PreviewsEnabled
-
-
-
diff --git a/demo/ios/Runner/AppDelegate.swift b/demo/ios/Runner/AppDelegate.swift
deleted file mode 100644
index 70693e4a8..000000000
--- a/demo/ios/Runner/AppDelegate.swift
+++ /dev/null
@@ -1,13 +0,0 @@
-import UIKit
-import Flutter
-
-@UIApplicationMain
-@objc class AppDelegate: FlutterAppDelegate {
- override func application(
- _ application: UIApplication,
- didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?
- ) -> Bool {
- GeneratedPluginRegistrant.register(with: self)
- return super.application(application, didFinishLaunchingWithOptions: launchOptions)
- }
-}
diff --git a/demo/ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json b/demo/ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json
deleted file mode 100644
index d36b1fab2..000000000
--- a/demo/ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json
+++ /dev/null
@@ -1,122 +0,0 @@
-{
- "images" : [
- {
- "size" : "20x20",
- "idiom" : "iphone",
- "filename" : "Icon-App-20x20@2x.png",
- "scale" : "2x"
- },
- {
- "size" : "20x20",
- "idiom" : "iphone",
- "filename" : "Icon-App-20x20@3x.png",
- "scale" : "3x"
- },
- {
- "size" : "29x29",
- "idiom" : "iphone",
- "filename" : "Icon-App-29x29@1x.png",
- "scale" : "1x"
- },
- {
- "size" : "29x29",
- "idiom" : "iphone",
- "filename" : "Icon-App-29x29@2x.png",
- "scale" : "2x"
- },
- {
- "size" : "29x29",
- "idiom" : "iphone",
- "filename" : "Icon-App-29x29@3x.png",
- "scale" : "3x"
- },
- {
- "size" : "40x40",
- "idiom" : "iphone",
- "filename" : "Icon-App-40x40@2x.png",
- "scale" : "2x"
- },
- {
- "size" : "40x40",
- "idiom" : "iphone",
- "filename" : "Icon-App-40x40@3x.png",
- "scale" : "3x"
- },
- {
- "size" : "60x60",
- "idiom" : "iphone",
- "filename" : "Icon-App-60x60@2x.png",
- "scale" : "2x"
- },
- {
- "size" : "60x60",
- "idiom" : "iphone",
- "filename" : "Icon-App-60x60@3x.png",
- "scale" : "3x"
- },
- {
- "size" : "20x20",
- "idiom" : "ipad",
- "filename" : "Icon-App-20x20@1x.png",
- "scale" : "1x"
- },
- {
- "size" : "20x20",
- "idiom" : "ipad",
- "filename" : "Icon-App-20x20@2x.png",
- "scale" : "2x"
- },
- {
- "size" : "29x29",
- "idiom" : "ipad",
- "filename" : "Icon-App-29x29@1x.png",
- "scale" : "1x"
- },
- {
- "size" : "29x29",
- "idiom" : "ipad",
- "filename" : "Icon-App-29x29@2x.png",
- "scale" : "2x"
- },
- {
- "size" : "40x40",
- "idiom" : "ipad",
- "filename" : "Icon-App-40x40@1x.png",
- "scale" : "1x"
- },
- {
- "size" : "40x40",
- "idiom" : "ipad",
- "filename" : "Icon-App-40x40@2x.png",
- "scale" : "2x"
- },
- {
- "size" : "76x76",
- "idiom" : "ipad",
- "filename" : "Icon-App-76x76@1x.png",
- "scale" : "1x"
- },
- {
- "size" : "76x76",
- "idiom" : "ipad",
- "filename" : "Icon-App-76x76@2x.png",
- "scale" : "2x"
- },
- {
- "size" : "83.5x83.5",
- "idiom" : "ipad",
- "filename" : "Icon-App-83.5x83.5@2x.png",
- "scale" : "2x"
- },
- {
- "size" : "1024x1024",
- "idiom" : "ios-marketing",
- "filename" : "Icon-App-1024x1024@1x.png",
- "scale" : "1x"
- }
- ],
- "info" : {
- "version" : 1,
- "author" : "xcode"
- }
-}
diff --git a/demo/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png b/demo/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png
deleted file mode 100644
index a5fbaf778..000000000
Binary files a/demo/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png and /dev/null differ
diff --git a/demo/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png b/demo/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png
deleted file mode 100644
index 3e6ecc99d..000000000
Binary files a/demo/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png and /dev/null differ
diff --git a/demo/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png b/demo/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png
deleted file mode 100644
index be4eb66fc..000000000
Binary files a/demo/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png and /dev/null differ
diff --git a/demo/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png b/demo/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png
deleted file mode 100644
index f5c9aa5f9..000000000
Binary files a/demo/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png and /dev/null differ
diff --git a/demo/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png b/demo/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png
deleted file mode 100644
index ba0aaaa28..000000000
Binary files a/demo/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png and /dev/null differ
diff --git a/demo/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png b/demo/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png
deleted file mode 100644
index bdf86e605..000000000
Binary files a/demo/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png and /dev/null differ
diff --git a/demo/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png b/demo/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png
deleted file mode 100644
index c0e4ef641..000000000
Binary files a/demo/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png and /dev/null differ
diff --git a/demo/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png b/demo/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png
deleted file mode 100644
index be4eb66fc..000000000
Binary files a/demo/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png and /dev/null differ
diff --git a/demo/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png b/demo/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png
deleted file mode 100644
index 7019a4048..000000000
Binary files a/demo/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png and /dev/null differ
diff --git a/demo/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png b/demo/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png
deleted file mode 100644
index 330302e45..000000000
Binary files a/demo/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png and /dev/null differ
diff --git a/demo/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png b/demo/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png
deleted file mode 100644
index 330302e45..000000000
Binary files a/demo/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png and /dev/null differ
diff --git a/demo/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png b/demo/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png
deleted file mode 100644
index 9da7c0d47..000000000
Binary files a/demo/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png and /dev/null differ
diff --git a/demo/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png b/demo/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png
deleted file mode 100644
index bee394618..000000000
Binary files a/demo/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png and /dev/null differ
diff --git a/demo/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png b/demo/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png
deleted file mode 100644
index 64b78426b..000000000
Binary files a/demo/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png and /dev/null differ
diff --git a/demo/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png b/demo/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png
deleted file mode 100644
index 95487e8ef..000000000
Binary files a/demo/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png and /dev/null differ
diff --git a/demo/ios/Runner/Assets.xcassets/LaunchBackground.imageset/Contents.json b/demo/ios/Runner/Assets.xcassets/LaunchBackground.imageset/Contents.json
deleted file mode 100644
index f2e49c091..000000000
--- a/demo/ios/Runner/Assets.xcassets/LaunchBackground.imageset/Contents.json
+++ /dev/null
@@ -1,21 +0,0 @@
-{
- "images": [
- {
- "filename": "background.png",
- "idiom": "universal",
- "scale": "1x"
- },
- {
- "idiom": "universal",
- "scale": "2x"
- },
- {
- "idiom": "universal",
- "scale": "3x"
- }
- ],
- "info": {
- "author": "xcode",
- "version": 1
- }
-}
diff --git a/demo/ios/Runner/Assets.xcassets/LaunchBackground.imageset/background.png b/demo/ios/Runner/Assets.xcassets/LaunchBackground.imageset/background.png
deleted file mode 100644
index e29b3b59f..000000000
Binary files a/demo/ios/Runner/Assets.xcassets/LaunchBackground.imageset/background.png and /dev/null differ
diff --git a/demo/ios/Runner/Assets.xcassets/LaunchImage.imageset/Contents.json b/demo/ios/Runner/Assets.xcassets/LaunchImage.imageset/Contents.json
deleted file mode 100644
index f3387d4ae..000000000
--- a/demo/ios/Runner/Assets.xcassets/LaunchImage.imageset/Contents.json
+++ /dev/null
@@ -1,56 +0,0 @@
-{
- "images" : [
- {
- "filename" : "LaunchImage.png",
- "idiom" : "universal",
- "scale" : "1x"
- },
- {
- "appearances" : [
- {
- "appearance" : "luminosity",
- "value" : "dark"
- }
- ],
- "filename" : "LaunchImageDark.png",
- "idiom" : "universal",
- "scale" : "1x"
- },
- {
- "filename" : "LaunchImage@2x.png",
- "idiom" : "universal",
- "scale" : "2x"
- },
- {
- "appearances" : [
- {
- "appearance" : "luminosity",
- "value" : "dark"
- }
- ],
- "filename" : "LaunchImageDark@2x.png",
- "idiom" : "universal",
- "scale" : "2x"
- },
- {
- "filename" : "LaunchImage@3x.png",
- "idiom" : "universal",
- "scale" : "3x"
- },
- {
- "appearances" : [
- {
- "appearance" : "luminosity",
- "value" : "dark"
- }
- ],
- "filename" : "LaunchImageDark@3x.png",
- "idiom" : "universal",
- "scale" : "3x"
- }
- ],
- "info" : {
- "author" : "xcode",
- "version" : 1
- }
-}
diff --git a/demo/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png b/demo/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png
deleted file mode 100644
index 2abd57cf5..000000000
Binary files a/demo/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png and /dev/null differ
diff --git a/demo/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png b/demo/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png
deleted file mode 100644
index 9b9c6cee2..000000000
Binary files a/demo/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png and /dev/null differ
diff --git a/demo/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png b/demo/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png
deleted file mode 100644
index 8f828877a..000000000
Binary files a/demo/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png and /dev/null differ
diff --git a/demo/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImageDark.png b/demo/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImageDark.png
deleted file mode 100644
index 2abd57cf5..000000000
Binary files a/demo/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImageDark.png and /dev/null differ
diff --git a/demo/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImageDark@2x.png b/demo/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImageDark@2x.png
deleted file mode 100644
index 9b9c6cee2..000000000
Binary files a/demo/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImageDark@2x.png and /dev/null differ
diff --git a/demo/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImageDark@3x.png b/demo/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImageDark@3x.png
deleted file mode 100644
index 8f828877a..000000000
Binary files a/demo/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImageDark@3x.png and /dev/null differ
diff --git a/demo/ios/Runner/Assets.xcassets/LaunchImage.imageset/README.md b/demo/ios/Runner/Assets.xcassets/LaunchImage.imageset/README.md
deleted file mode 100644
index 89c2725b7..000000000
--- a/demo/ios/Runner/Assets.xcassets/LaunchImage.imageset/README.md
+++ /dev/null
@@ -1,5 +0,0 @@
-# Launch Screen Assets
-
-You can customize the launch screen with your own desired assets by replacing the image files in this directory.
-
-You can also do it by opening your Flutter project's Xcode project with `open ios/Runner.xcworkspace`, selecting `Runner/Assets.xcassets` in the Project Navigator and dropping in the desired images.
\ No newline at end of file
diff --git a/demo/ios/Runner/Base.lproj/LaunchScreen.storyboard b/demo/ios/Runner/Base.lproj/LaunchScreen.storyboard
deleted file mode 100644
index 886c84624..000000000
--- a/demo/ios/Runner/Base.lproj/LaunchScreen.storyboard
+++ /dev/null
@@ -1,44 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/demo/ios/Runner/Base.lproj/Main.storyboard b/demo/ios/Runner/Base.lproj/Main.storyboard
deleted file mode 100644
index f3c28516f..000000000
--- a/demo/ios/Runner/Base.lproj/Main.storyboard
+++ /dev/null
@@ -1,26 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/demo/ios/Runner/Info.plist b/demo/ios/Runner/Info.plist
deleted file mode 100644
index 475066888..000000000
--- a/demo/ios/Runner/Info.plist
+++ /dev/null
@@ -1,51 +0,0 @@
-
-
-
-
- CFBundleDevelopmentRegion
- $(DEVELOPMENT_LANGUAGE)
- CFBundleExecutable
- $(EXECUTABLE_NAME)
- CFBundleIdentifier
- $(PRODUCT_BUNDLE_IDENTIFIER)
- CFBundleInfoDictionaryVersion
- 6.0
- CFBundleName
- demo
- CFBundlePackageType
- APPL
- CFBundleShortVersionString
- $(FLUTTER_BUILD_NAME)
- CFBundleSignature
- ????
- CFBundleVersion
- $(FLUTTER_BUILD_NUMBER)
- LSRequiresIPhoneOS
-
- UILaunchStoryboardName
- LaunchScreen
- UIMainStoryboardFile
- Main
- UISupportedInterfaceOrientations
-
- UIInterfaceOrientationPortrait
- UIInterfaceOrientationLandscapeLeft
- UIInterfaceOrientationLandscapeRight
-
- UISupportedInterfaceOrientations~ipad
-
- UIInterfaceOrientationPortrait
- UIInterfaceOrientationPortraitUpsideDown
- UIInterfaceOrientationLandscapeLeft
- UIInterfaceOrientationLandscapeRight
-
- UIViewControllerBasedStatusBarAppearance
-
- UIStatusBarHidden
-
- CADisableMinimumFrameDurationOnPhone
-
- UIApplicationSupportsIndirectInputEvents
-
-
-
diff --git a/demo/ios/Runner/Runner-Bridging-Header.h b/demo/ios/Runner/Runner-Bridging-Header.h
deleted file mode 100644
index 308a2a560..000000000
--- a/demo/ios/Runner/Runner-Bridging-Header.h
+++ /dev/null
@@ -1 +0,0 @@
-#import "GeneratedPluginRegistrant.h"
diff --git a/demo/lib/app_shell.dart b/demo/lib/app_shell.dart
deleted file mode 100644
index ace74858e..000000000
--- a/demo/lib/app_shell.dart
+++ /dev/null
@@ -1,72 +0,0 @@
-import 'package:community_material_icon/community_material_icon.dart';
-import 'package:flutter/material.dart';
-import 'package:flutter_hooks/flutter_hooks.dart';
-import 'package:hooks_riverpod/hooks_riverpod.dart';
-import 'package:mix/mix.dart';
-
-import 'components/atoms/adaptive_scaffold.dart';
-import 'providers/dark_mode.provider.dart';
-import 'views/basic_example.dart';
-import 'views/layout_example.dart';
-import 'views/typography_example.dart';
-import 'views/variants.dart';
-//import 'views/variants.dart';
-
-const screens = [
- BasicExample(),
- LayoutExample(),
- TypographyExample(),
- VariantsExample(),
-];
-
-class AppShell extends HookConsumerWidget {
- const AppShell({Key? key}) : super(key: key);
-
- @override
- Widget build(BuildContext context, WidgetRef ref) {
- final selected = useState(0);
-
- final darkMode = ref.watch(darkModeProvider);
-
- return MixTheme(
- data: MixThemeData.withMaterial(),
- child: AdaptiveNavigationScaffold(
- appBar: AppBar(
- title: const Text('Mix Gallery'),
- centerTitle: false,
- actions: [
- Switch(
- value: darkMode,
- onChanged: (value) =>
- ref.read(darkModeProvider.notifier).state = value,
- ),
- ],
- ),
- currentIndex: selected.value,
- onNavigationIndexChange: (index) => selected.value = index,
- destinations: const [
- AdaptiveScaffoldDestination(
- icon: Icon(CommunityMaterialIcons.widgets),
- label: 'Components',
- ),
- AdaptiveScaffoldDestination(
- icon: Icon(CommunityMaterialIcons.view_compact),
- label: 'Layout',
- ),
- AdaptiveScaffoldDestination(
- icon: Icon(CommunityMaterialIcons.format_text_variant),
- label: 'Typography',
- ),
- AdaptiveScaffoldDestination(
- icon: Icon(CommunityMaterialIcons.message_alert),
- label: 'Variant',
- ),
- ],
- body: Align(
- alignment: Alignment.topLeft,
- child: screens[selected.value],
- ),
- ),
- );
- }
-}
diff --git a/demo/lib/components/atoms/adaptive_scaffold.dart b/demo/lib/components/atoms/adaptive_scaffold.dart
deleted file mode 100644
index fcd61d688..000000000
--- a/demo/lib/components/atoms/adaptive_scaffold.dart
+++ /dev/null
@@ -1,110 +0,0 @@
-// Copyright 2020, the Flutter project authors. Please see the AUTHORS file
-// for details. All rights reserved. Use of this source code is governed by a
-// BSD-style license that can be found in the LICENSE file.
-
-import 'package:flutter/material.dart';
-
-bool _isLargeScreen(BuildContext context) {
- return MediaQuery.of(context).size.width > 960.0;
-}
-
-bool _isMediumScreen(BuildContext context) {
- return MediaQuery.of(context).size.width > 640.0;
-}
-
-/// See bottomNavigationBarItem or NavigationRailDestination
-class AdaptiveScaffoldDestination {
- final String label;
- final Icon icon;
-
- const AdaptiveScaffoldDestination({
- required this.label,
- required this.icon,
- });
-}
-
-/// A widget that adapts to the current display size, displaying a [Drawer],
-/// [NavigationRail], or [BottomNavigationBar]. Navigation destinations are
-/// defined in the [destinations] parameter.
-class AdaptiveNavigationScaffold extends StatefulWidget {
- final PreferredSizeWidget? appBar;
- final Widget body;
- final int currentIndex;
- final List destinations;
- final ValueChanged? onNavigationIndexChange;
- final FloatingActionButton? floatingActionButton;
-
- const AdaptiveNavigationScaffold({
- this.appBar,
- required this.body,
- required this.currentIndex,
- required this.destinations,
- Key? key,
- this.onNavigationIndexChange,
- this.floatingActionButton,
- }) : super(key: key);
-
- @override
- State createState() =>
- _AdaptiveNavigationScaffoldState();
-}
-
-class _AdaptiveNavigationScaffoldState
- extends State {
- @override
- Widget build(BuildContext context) {
- // Show a Drawer
-
- // Show a navigation rail
- if (_isMediumScreen(context)) {
- return Scaffold(
- appBar: widget.appBar,
- floatingActionButton: widget.floatingActionButton,
- body: Row(
- children: [
- NavigationRail(
- extended: _isLargeScreen(context),
- leading: widget.floatingActionButton,
- destinations: [
- ...widget.destinations.map(
- (d) => NavigationRailDestination(
- icon: d.icon,
- label: Text(d.label),
- ),
- ),
- ],
- selectedIndex: widget.currentIndex,
- onDestinationSelected: widget.onNavigationIndexChange,
- ),
- const VerticalDivider(
- width: 1,
- thickness: 1,
- ),
- Expanded(
- child: widget.body,
- ),
- ],
- ),
- );
- }
-
- // Show a bottom app bar
- return Scaffold(
- appBar: widget.appBar,
- body: widget.body,
- bottomNavigationBar: BottomNavigationBar(
- items: [
- ...widget.destinations.map(
- (d) => BottomNavigationBarItem(
- icon: d.icon,
- label: d.label,
- ),
- ),
- ],
- currentIndex: widget.currentIndex,
- onTap: widget.onNavigationIndexChange,
- ),
- floatingActionButton: widget.floatingActionButton,
- );
- }
-}
diff --git a/demo/lib/components/box.dart b/demo/lib/components/box.dart
deleted file mode 100644
index 704ca945e..000000000
--- a/demo/lib/components/box.dart
+++ /dev/null
@@ -1,52 +0,0 @@
-import 'package:flutter/material.dart';
-import 'package:mix/mix.dart';
-import 'package:widgetbook_annotation/widgetbook_annotation.dart' as widgetbook;
-
-@widgetbook.UseCase(
- name: 'Box with BoxDecoration',
- type: Box,
-)
-Widget boxDecorationContainer(BuildContext context) {
- final boxStyle = Style(
- backgroundColor.red(),
- onPressed(
- backgroundColor.blue(),
- ),
- opacity(0.5),
- (onHover & onDark)(
- backgroundColor.orange(),
- ),
- onHover(
- backgroundColor.grey(),
- ),
- padding.horizontal(15.0),
- padding.vertical(8.0),
- borderRadius(5),
- width(100),
- height(100),
- onDark(
- backgroundColor.purple(),
- ),
- alignment.center(),
- text.style.bold(),
- );
-
- return Center(
- child: Column(
- children: [
- PressableBox(
- style: boxStyle,
- onPressed: () {},
- child: const StyledText('Press me'),
- ),
- Pressable(
- child: AnimatedBox(
- style: boxStyle,
- duration: const Duration(milliseconds: 150),
- child: const StyledText('Press me Animated'),
- ),
- )
- ],
- ),
- );
-}
diff --git a/demo/lib/directives/controllers.dart b/demo/lib/directives/controllers.dart
deleted file mode 100644
index e6af8d4ae..000000000
--- a/demo/lib/directives/controllers.dart
+++ /dev/null
@@ -1,107 +0,0 @@
-// ignore_for_file: avoid-non-ascii-symbols
-
-import 'dart:math';
-
-import 'package:flutter/scheduler.dart';
-
-// Class responsible for representing the state of a single character transition.
-class Character {
- final String from;
- final String to;
- final int start;
- final int end;
- String char = '';
-
- // Initializes a new instance of the [Character] class.
- // [from] is the initial character.
- // [to] is the character that we want to transition to.
- // [start] and [end] represent the frame range for the transition.
- Character(this.from, this.to, this.end, this.start);
-}
-
-/// [TextDecodingController] is a controller that manages the process of text decoding animation
-///
-/// by providing efficient and Flutter-friendly state management for the animation states.
-class TextDecodingController {
- final Function(String value) _fn;
- // The current state of the decoding process.
- String _data = '';
- // Current frame of the decoding process.
- int _frame = 0;
- // Set of possible characters used during transition.
- final _chars = '!<>-_\\/[]{}—=+*^?#________';
- // Queue to hold the Characters during the transition.
- final _queue = [];
- // Random instance for generating random start and end points.
- final _random = Random();
- // Ticker used for advancing frames.
- Ticker? _ticker;
-
- // Constructor for the [TextDecodingController] class.
- TextDecodingController(Function(String value) fn) : _fn = fn;
-
- /// Initializes the ticker that drives the animation.
- void _startTicker() {
- _ticker?.stop(canceled: true);
- _ticker = Ticker(_update); // Start the Ticker with frame update function..
- _ticker?.start();
- }
-
- /// Frame update handler. Updates the state of characters during transition and applies them in order.
- void _update(Duration elapsedTime) {
- String output = '';
- int complete = 0;
-
- for (Character c in _queue) {
- if (_frame >= c.end) {
- complete++;
- output += c.to;
- } else if (_frame >= c.start) {
- c.char = _randomChar();
- output += c.char;
- } else {
- output += c.from;
- }
- }
-
- _data = output;
- _fn(_data);
-
- // Once all characters have transitioned, stop the ticker.
- if (complete == _queue.length) {
- _ticker?.stop();
- } else {
- _frame++; // If not, move on to the next frame.
- }
- }
-
- /// Returns a random character from the pool of possible characters.
- String _randomChar() {
- return _chars[_random.nextInt(_chars.length)];
- }
-
- /// Updates the data to be decoded in animation.
- ///
- /// The given string [newText] is the target result of the animation and signifies the end-state.
- void setData(String newText) {
- final length = max(_data.length, newText.length);
- final oldText = _data.padRight(length);
- newText = newText.padRight(length);
-
- // Clear previous queue and populate it with characters from the new string.
- _queue.clear();
- for (int i = 0; i < length; i++) {
- final from = oldText[i];
- final to = newText[i];
- final start = _random.nextInt(200);
- final end = start + _random.nextInt(200);
- _queue.add(Character(from, to, end, start));
- }
- _startTicker();
- }
-
- /// Stops the animation and releases allocated ticker resources.
- void dispose() {
- _ticker?.stop(canceled: true); // Stop the ticker safely.
- }
-}
diff --git a/demo/lib/directives/counter.dart b/demo/lib/directives/counter.dart
deleted file mode 100644
index 6d35a093e..000000000
--- a/demo/lib/directives/counter.dart
+++ /dev/null
@@ -1,115 +0,0 @@
-import 'package:flutter/material.dart';
-
-void main() {
- runApp(const MyApp());
-}
-
-class MyApp extends StatelessWidget {
- const MyApp({super.key});
-
- @override
- Widget build(BuildContext context) {
- return const MaterialApp(home: NumberTickerExample());
- }
-}
-
-class NumberTickerExample extends StatefulWidget {
- const NumberTickerExample({super.key});
-
- @override
- _NumberTickerExampleState createState() => _NumberTickerExampleState();
-}
-
-class _NumberTickerExampleState extends State {
- final _textController = TextEditingController();
-
- double _value = 0;
-
- void _updateValue() {
- final text = _textController.text;
- if (text.isNotEmpty && double.tryParse(text) != null) {
- setState(() {
- _value = double.parse(text);
- });
- }
- }
-
- @override
- Widget build(BuildContext context) {
- return Scaffold(
- appBar: AppBar(title: const Text('Number Ticker Example')),
- body: Center(
- child: Column(
- mainAxisAlignment: MainAxisAlignment.center,
- children: [
- TextField(
- controller: _textController,
- decoration: const InputDecoration(hintText: 'Enter a number'),
- keyboardType: TextInputType.number,
- ),
- const SizedBox(height: 20),
- AnimatedNumberTicker(value: _value),
- ],
- ),
- ),
- floatingActionButton: FloatingActionButton(
- tooltip: 'Animate',
- onPressed: _updateValue,
- child: const Icon(Icons.play_arrow),
- ),
- );
- }
-}
-
-class AnimatedNumberTicker extends StatefulWidget {
- const AnimatedNumberTicker({super.key, required this.value});
-
- final double value;
-
- @override
- _AnimatedNumberTickerState createState() => _AnimatedNumberTickerState();
-}
-
-class _AnimatedNumberTickerState extends State
- with SingleTickerProviderStateMixin {
- late AnimationController _controller;
- late Animation _animation;
-
- @override
- void initState() {
- super.initState();
- _controller = AnimationController(
- duration: const Duration(milliseconds: 500),
- vsync: this,
- );
- _animation =
- Tween(begin: 0, end: widget.value).animate(_controller);
- }
-
- @override
- void didUpdateWidget(AnimatedNumberTicker oldWidget) {
- super.didUpdateWidget(oldWidget);
- if (widget.value != oldWidget.value) {
- _animation = Tween(begin: _animation.value, end: widget.value)
- .animate(_controller)
- ..addListener(() {
- setState(() {});
- });
- _controller.forward(from: 0);
- }
- }
-
- @override
- void dispose() {
- _controller.dispose();
- super.dispose();
- }
-
- @override
- Widget build(BuildContext context) {
- return Text(
- _animation.value.toStringAsFixed(2), // Display only 2 decimal places
- style: const TextStyle(fontSize: 40),
- );
- }
-}
diff --git a/demo/lib/directives/glitch.dart b/demo/lib/directives/glitch.dart
deleted file mode 100644
index 7cb5bd75a..000000000
--- a/demo/lib/directives/glitch.dart
+++ /dev/null
@@ -1,101 +0,0 @@
-import 'dart:async';
-import 'dart:math';
-
-import 'package:flutter/material.dart';
-
-class GlitchText extends StatefulWidget {
- const GlitchText(this.text, {super.key, required this.style});
-
- final String text;
- final TextStyle style;
-
- @override
- _GlitchTextState createState() => _GlitchTextState();
-}
-
-class _GlitchTextState extends State {
- final _random = Random();
- late Timer _positionTimer;
- late Timer _shadowTimer;
- double _offsetX = 0;
- double _offsetY = 0;
- double _shadowOffsetX = 0;
- double _shadowOffsetY = 0;
- double _scale = 1.0;
-
- @override
- void initState() {
- super.initState();
- _positionTimer =
- Timer.periodic(const Duration(milliseconds: 100), _randomizePosition);
- _shadowTimer =
- Timer.periodic(const Duration(milliseconds: 80), _randomizeShadow);
- }
-
- void _randomizePosition(Timer timer) {
- setState(() {
- _offsetX = _random.nextDouble() * 10 - 5;
- _offsetY = _random.nextDouble() * 10 - 5;
- _scale = 1 + (_random.nextDouble() * 0.1 - 0.095);
- });
- }
-
- void _randomizeShadow(Timer timer) {
- setState(() {
- _shadowOffsetX = _random.nextDouble() * 10 - 1;
- _shadowOffsetY = _random.nextDouble() * 10 - 1;
- });
- }
-
- @override
- void dispose() {
- _positionTimer.cancel();
- _shadowTimer.cancel();
- super.dispose();
- }
-
- @override
- Widget build(BuildContext context) {
- return Transform(
- transform: Matrix4.identity()
- ..translate(_offsetX, _offsetY)
- ..scale(_scale),
- child: Text(
- widget.text,
- style: widget.style.copyWith(
- shadows: [
- Shadow(
- color: Colors.red.withOpacity(0.6),
- offset: Offset(_shadowOffsetX, _shadowOffsetY),
- blurRadius: 0,
- ),
- Shadow(
- color: Colors.blue.withOpacity(0.6),
- offset: Offset(-_shadowOffsetX, -_shadowOffsetY),
- blurRadius: 0,
- ),
- ],
- decoration: _random.nextBool()
- ? TextDecoration.underline
- : TextDecoration.lineThrough,
- decorationColor: Colors.white,
- decorationThickness: _random.nextDouble() * 5 - 1,
- ),
- ),
- );
- }
-}
-
-void main() {
- runApp(MaterialApp(
- home: Scaffold(
- appBar: AppBar(title: const Text('Glitch Effect')),
- body: const Center(
- child: GlitchText(
- 'GLITCH',
- style: TextStyle(fontSize: 80, fontWeight: FontWeight.bold),
- ),
- ),
- ),
- ));
-}
diff --git a/demo/lib/docs/docs.dart b/demo/lib/docs/docs.dart
deleted file mode 100644
index 296b7461e..000000000
--- a/demo/lib/docs/docs.dart
+++ /dev/null
@@ -1,7 +0,0 @@
-/// This is the files that will be used on fluttermix.com as an embededd app
-library docs;
-
-export 'variants/and_operator.dart';
-export 'variants/catalog/pressable.dart';
-export 'variants/default.dart';
-export 'variants/or_operator.dart';
diff --git a/demo/lib/docs/variants/and_operator.dart b/demo/lib/docs/variants/and_operator.dart
deleted file mode 100644
index 51984b83d..000000000
--- a/demo/lib/docs/variants/and_operator.dart
+++ /dev/null
@@ -1,31 +0,0 @@
-import 'package:flutter/material.dart';
-import 'package:mix/mix.dart';
-
-class VariantsAndOperator extends StatelessWidget {
- const VariantsAndOperator({Key? key}) : super(key: key);
-
- @override
- Widget build(BuildContext context) {
- final mix = Style(
- box.padding(20.0),
- text.style(color: Colors.white),
- (onHover & onEnabled)(
- // When it's hovering AND pressing
- text.style(color: Colors.black),
- text.style.bold(),
- ),
- );
-
- return Center(
- child: Pressable(
- onPressed: () {
- return;
- },
- child: Box(
- style: mix,
- child: const StyledText('HOVER THIS TO CHANGE THE TEXT COLOR'),
- ),
- ),
- );
- }
-}
diff --git a/demo/lib/docs/variants/catalog/pressable.dart b/demo/lib/docs/variants/catalog/pressable.dart
deleted file mode 100644
index 4c72a774b..000000000
--- a/demo/lib/docs/variants/catalog/pressable.dart
+++ /dev/null
@@ -1,76 +0,0 @@
-import 'package:flutter/material.dart';
-import 'package:mix/mix.dart';
-
-class VariantsCatalogPressable extends StatelessWidget {
- const VariantsCatalogPressable({Key? key}) : super(key: key);
-
- @override
- Widget build(BuildContext context) {
- return Row(children: [
- buildBlock(
- 'Hover',
- Style(
- onHover(
- box.border(color: $md.colorScheme.primary(), width: 2),
- box.padding(4.0),
- ),
- ),
- const Text('Hover this to show the highlight'),
- ),
- const VerticalDivider(),
- buildBlock(
- 'Focus',
- Style(
- onFocused(
- box.border(color: $md.colorScheme.primary(), width: 2),
- box.padding(4.0),
- ),
- ),
- const Text('Focus this to show the highlight'),
- ),
- const VerticalDivider(),
- buildBlock(
- 'Press',
- Style(
- onPressed(
- box.border(
- color: $md.colorScheme.primary(),
- width: 2,
- ),
- box.padding(4.0),
- ),
- ),
- const Text('Press this to show the highlight'),
- ),
- ]);
- }
-
- Widget buildBlock(String title, Style mix, Widget child) {
- return Builder(builder: (context) {
- return Expanded(
- child: Padding(
- padding: const EdgeInsets.all(8.0),
- child: Column(
- mainAxisSize: MainAxisSize.min,
- crossAxisAlignment: CrossAxisAlignment.start,
- children: [
- Text(
- title,
- style: Theme.of(context).textTheme.titleLarge,
- ),
- Pressable(
- onPressed: () {
- return;
- },
- child: Box(
- style: mix,
- child: child,
- ),
- ),
- ],
- ),
- ),
- );
- });
- }
-}
diff --git a/demo/lib/docs/variants/default.dart b/demo/lib/docs/variants/default.dart
deleted file mode 100644
index 15cdfa743..000000000
--- a/demo/lib/docs/variants/default.dart
+++ /dev/null
@@ -1,30 +0,0 @@
-import 'package:flutter/material.dart';
-import 'package:mix/mix.dart';
-
-class VariantsDefaultExample extends StatelessWidget {
- const VariantsDefaultExample({Key? key}) : super(key: key);
-
- @override
- Widget build(BuildContext context) {
- final style = Style(
- box.color($md.colorScheme.secondary()),
- text.style.color.of($md.colorScheme.onSecondary),
- onHover(
- box.color.of($md.colorScheme.primary),
- text.style(color: $md.colorScheme.onPrimary()),
- ),
- );
-
- return Center(
- child: Pressable(
- onPressed: () {
- return;
- },
- child: Box(
- style: style,
- child: const StyledText('Button'),
- ),
- ),
- );
- }
-}
diff --git a/demo/lib/docs/variants/or_operator.dart b/demo/lib/docs/variants/or_operator.dart
deleted file mode 100644
index 41bd51aa9..000000000
--- a/demo/lib/docs/variants/or_operator.dart
+++ /dev/null
@@ -1,25 +0,0 @@
-import 'package:flutter/material.dart';
-import 'package:mix/mix.dart';
-
-class VariantsOrOperator extends StatelessWidget {
- const VariantsOrOperator({Key? key}) : super(key: key);
-
- @override
- Widget build(BuildContext context) {
- final mix = Style(
- box.padding(20.0),
- // Whether it's small OR medium
- (onSmall | onMedium)(
- box.width(300),
- box.height(400),
- box.color.white(),
- ),
- );
-
- return Center(
- child: Box(
- style: mix,
- ),
- );
- }
-}
diff --git a/demo/lib/main.dart b/demo/lib/main.dart
deleted file mode 100644
index fe4263cde..000000000
--- a/demo/lib/main.dart
+++ /dev/null
@@ -1,76 +0,0 @@
-import 'package:desktop_window/desktop_window.dart';
-import 'package:flutter/foundation.dart';
-import 'package:flutter/material.dart';
-import 'package:hooks_riverpod/hooks_riverpod.dart';
-
-import 'app_shell.dart';
-import 'docs/docs.dart';
-import 'providers/dark_mode.provider.dart';
-import 'theme.dart';
-
-void main() async {
- if (!kIsWeb) {
- WidgetsFlutterBinding.ensureInitialized();
- await DesktopWindow.setMinWindowSize(const Size(600, 600));
- }
-
- // setPathUrlStrategy();
-
- runApp(const MyApp());
-}
-
-class MyApp extends StatelessWidget {
- const MyApp({Key? key}) : super(key: key);
-
- // This widget is the root of your application.
- @override
- Widget build(BuildContext context) {
- return ProviderScope(
- child: Consumer(builder: (context, ref, _) {
- final darkMode = ref.watch(darkModeProvider);
-
- return MaterialApp(
- title: 'Mix Gallery',
- debugShowCheckedModeBanner: false,
- theme: lightTheme,
- darkTheme: darkTheme,
- themeMode: darkMode ? ThemeMode.dark : ThemeMode.light,
- initialRoute: '/',
- routes: {
- '/': (context) => const AppShell(),
- '/docs/variants': (context) => const VariantsDefaultExample(),
- '/docs/variants/or': (context) => const VariantsOrOperator(),
- '/docs/variants/and': (context) => const VariantsAndOperator(),
- '/docs/variants/catalog/pressable': (context) =>
- const VariantsCatalogPressable(),
- },
- onUnknownRoute: (settings) {
- return PageRouteBuilder(pageBuilder: (context, _, __) {
- final theme = Theme.of(context);
-
- return Scaffold(
- body: Center(
- child: Column(mainAxisSize: MainAxisSize.min, children: [
- Text(
- '404',
- style: theme.textTheme.headlineLarge,
- ),
- Text(
- 'Sorry, we couldn\'t find the page you\'re looking for :/',
- style: theme.textTheme.titleMedium,
- ),
- ]),
- ),
- );
- });
- },
- builder: (context, child) {
- return Material(
- child: child ?? const SizedBox.shrink(),
- );
- },
- );
- }),
- );
- }
-}
diff --git a/demo/lib/providers/dark_mode.provider.dart b/demo/lib/providers/dark_mode.provider.dart
deleted file mode 100644
index f6f6d677f..000000000
--- a/demo/lib/providers/dark_mode.provider.dart
+++ /dev/null
@@ -1,3 +0,0 @@
-import 'package:hooks_riverpod/hooks_riverpod.dart';
-
-final darkModeProvider = StateProvider((ref) => false);
diff --git a/demo/lib/styles.dart b/demo/lib/styles.dart
deleted file mode 100644
index de9cb6776..000000000
--- a/demo/lib/styles.dart
+++ /dev/null
@@ -1,23 +0,0 @@
-import 'package:flutter/material.dart';
-import 'package:mix/mix.dart';
-
-// Making this a getter so that it works with hot reload
-
-Style get onSurfaceMix => Style(
- text.style(color: Colors.black),
- onDark(
- text.style(color: Colors.white),
- ),
- );
-
-Style get headingMix => Style.create([
- text.style(fontSize: 24),
- ...onSurfaceMix.values,
- ]);
-
-Style get flexAlign => Style(
- flex.mainAxisAlignment.start(),
- flex.crossAxisAlignment.start(),
- flex.mainAxisSize.max(),
- box.width(double.infinity),
- );
diff --git a/demo/lib/theme.dart b/demo/lib/theme.dart
deleted file mode 100644
index 42eefca08..000000000
--- a/demo/lib/theme.dart
+++ /dev/null
@@ -1,83 +0,0 @@
-import 'package:flutter/material.dart';
-import 'package:google_fonts/google_fonts.dart';
-
-ThemeData _customThemeBuilder(ThemeData theme) {
- return theme
- .copyWith(
- textTheme: GoogleFonts.interTextTheme(theme.textTheme),
- navigationRailTheme: NavigationRailThemeData(
- backgroundColor: theme.colorScheme.surface.withAlpha(50),
- unselectedIconTheme: theme.iconTheme.copyWith(
- color: theme.colorScheme.onSurface.withAlpha(50),
- ),
- ),
- bottomNavigationBarTheme: BottomNavigationBarThemeData(
- selectedItemColor: theme.colorScheme.secondary,
- unselectedItemColor: theme.colorScheme.onSurface.withAlpha(50),
- ),
- checkboxTheme: CheckboxThemeData(
- fillColor: getPropertyForTrack(theme),
- ),
- radioTheme: RadioThemeData(
- fillColor: getPropertyForTrack(theme),
- ),
- switchTheme: SwitchThemeData(
- thumbColor: getPropertyForTrack(theme),
- trackColor: getPropertyForTrack(theme),
- ),
- )
- .copyWith(
- visualDensity: VisualDensity.adaptivePlatformDensity,
- );
-}
-
-MaterialStateProperty getPropertyForTrack(ThemeData theme) {
- return MaterialStateProperty.resolveWith((Set states) {
- if (states.contains(MaterialState.disabled)) {
- return null;
- }
- if (states.contains(MaterialState.selected)) {
- return theme.colorScheme.secondary;
- }
-
- return null;
- });
-}
-
-ThemeData get darkTheme {
- return _customThemeBuilder(
- ThemeData.dark().copyWith(
- useMaterial3: true,
- colorScheme: const ColorScheme.dark().copyWith(
- primary: Colors.purpleAccent,
- secondary: Colors.purpleAccent,
- primaryContainer: Colors.purpleAccent,
- secondaryContainer: Colors.purpleAccent.shade100,
- ),
- switchTheme: SwitchThemeData(
- thumbColor: MaterialStateProperty.resolveWith((states) {
- if (states.contains(MaterialState.hovered)) {
- return Colors.white;
- }
-
- return Colors.white.withAlpha(230);
- }),
- ),
- ),
- );
-}
-
-ThemeData get lightTheme {
- return _customThemeBuilder(
- ThemeData.light().copyWith(
- scaffoldBackgroundColor: Colors.white,
- useMaterial3: true,
- colorScheme: const ColorScheme.light().copyWith(
- primary: Colors.deepPurpleAccent,
- secondary: Colors.deepPurple,
- primaryContainer: Colors.deepPurpleAccent,
- secondaryContainer: Colors.deepPurpleAccent.shade100,
- ),
- ),
- );
-}
diff --git a/demo/lib/views/basic_example.dart b/demo/lib/views/basic_example.dart
deleted file mode 100644
index aa3d53e04..000000000
--- a/demo/lib/views/basic_example.dart
+++ /dev/null
@@ -1,156 +0,0 @@
-import 'package:flutter/material.dart';
-import 'package:flutter_hooks/flutter_hooks.dart';
-import 'package:mix/mix.dart';
-
-import '../styles.dart';
-
-class BasicExample extends HookWidget {
- const BasicExample({Key? key}) : super(key: key);
-
- @override
- Widget build(BuildContext context) {
- final mix = Style(
- box.height(300),
- box.width(300),
- box.borderRadius(10),
- box.padding.all.large(),
- box.padding.top.small(),
- box.elevation(2),
- box.margin.horizontal(10),
- box.alignment.center(),
- box.color(Colors.purple),
- box.color.purple.shade300(),
- text.style(color: Colors.white),
- box.borderRadius(10),
- box.shapeDecoration.color.white(),
- text.style.color.white(),
- onPressed(
- box.color(Colors.black),
- ),
- onHover(
- opacity(0.5),
- ),
- onLongPressed(
- box.color(Colors.green),
- ),
- );
-
- return SingleChildScrollView(
- padding: const EdgeInsets.all(20),
- child: StyledFlex(
- style: onSurfaceMix.merge(flexAlign),
- direction: Axis.vertical,
- children: [
- flexAlign.container(child: const SizedBox()),
- StyledText(
- "Container",
- style: headingMix,
- ),
- Box(
- style: mix,
- child: StyledText(
- "Hello World, this is a StyledContainer!",
- style: mix,
- ),
- ),
- const Divider(),
- StyledText(
- "StyledText",
- style: headingMix,
- ),
- StyledText(
- "This is another StyledText, but using a different mix!",
- style: onSurfaceMix,
- ),
- StyledText(
- "This is another StyledText, but yet another a different mix!",
- style: onSurfaceMix.merge(
- Style(
- text.style(
- fontSize: 18,
- fontWeight: FontWeight.bold,
- fontStyle: FontStyle.italic,
- ),
- ),
- ),
- ),
- StyledText(
- "This is a StyledText that changes to a different when in dark mode!",
- style: onSurfaceMix.merge(
- Style(
- onLight(
- text.style.color.of($md.colorScheme.error),
- ),
- onDark(
- text.style.color.of($md.colorScheme.primary),
- ),
- ),
- ),
- ),
- const Divider(),
- StyledText(
- "StyledIcon",
- style: headingMix,
- ),
- StyledFlex(
- style: flexAlign,
- direction: Axis.horizontal,
- children: [
- StyledIcon(
- Icons.move_to_inbox,
- style: onSurfaceMix.merge(
- Style(
- icon.size(50),
- ),
- ),
- ),
- StyledIcon(
- Icons.one_k,
- style: onSurfaceMix.merge(
- Style(
- icon.size(60),
- ),
- ),
- ),
- StyledIcon(
- Icons.waving_hand_rounded,
- style: onSurfaceMix.merge(
- Style(
- icon.size(70),
- icon.color.of($md.colorScheme.secondary),
- ),
- ),
- ),
- StyledIcon(
- Icons.warning_amber,
- style: onSurfaceMix.merge(
- Style(
- icon.size(90),
- icon.color.yellow.shade900(),
- ),
- ),
- ),
- ],
- ),
- const Divider(),
- StyledText(
- "Pressable with a StyledContainer",
- style: headingMix,
- ),
- Pressable(
- onPressed: () {
- return;
- },
- child: Box(
- style: mix,
- child: StyledText(
- "Press or long press me!",
- style: mix,
- ),
- ),
- ),
- ],
- ),
- );
- }
-}
diff --git a/demo/lib/views/button_example.dart b/demo/lib/views/button_example.dart
deleted file mode 100644
index ce13d4c0d..000000000
--- a/demo/lib/views/button_example.dart
+++ /dev/null
@@ -1,176 +0,0 @@
-import 'package:flutter/widgets.dart';
-import 'package:flutter_hooks/flutter_hooks.dart';
-import 'package:mix/mix.dart';
-
-enum SizeVariantEnum {
- small,
- medium,
- large,
-}
-
-enum LeadingPosition { left, center, right }
-
-@immutable
-class ButtonSizeVariant extends Variant {
- ButtonSizeVariant(T variant) : super(variant.name);
-}
-
-class ButtonSizeVariants {
- static final small = ButtonSizeVariant(SizeVariantEnum.small);
- static final medium = ButtonSizeVariant(SizeVariantEnum.medium);
- static final large = ButtonSizeVariant(SizeVariantEnum.large);
-}
-
-Style get _baseStyle => Style(
- box.borderRadius(4),
- onPressed(
- scale(0.95),
- ),
- flex.mainAxisAlignment.center(),
- text.style(
- // added because of lack of style parameters (yellow lines)
- decoration: TextDecoration.none,
- fontWeight: FontWeight.w600,
- ),
- text.style.of($md.textTheme.bodySmall),
- flex.mainAxisSize.min(),
- ButtonSizeVariants.small(
- box.padding.horizontal(10),
- box.padding.vertical(10),
- text.style(
- fontSize: 16,
- ),
- icon.size(24),
- ),
- ButtonSizeVariants.medium(
- box.padding.horizontal(4),
- box.padding.vertical(16),
- text.style(
- fontSize: 16,
- ),
- icon.size(24),
- ),
- ButtonSizeVariants.large(
- box.padding.horizontal(4),
- box.padding.vertical(2),
- text.style(
- fontSize: 16,
- ),
- icon.size(24),
- ),
- );
-
-abstract class Button extends StatelessWidget {
- const Button(
- this.text, {
- super.key,
- this.size,
- this.style,
- this.onPressed,
- this.onLongPressed,
- this.leading,
- this.leadingPosition = LeadingPosition.left,
- this.interPadding = 12, // ultrashotTheme.spacing.w15
- });
-
- final String text;
- final ButtonSizeVariant? size;
- final Style? style;
- final VoidCallback? onPressed;
- final VoidCallback? onLongPressed;
- final Widget? leading;
- final LeadingPosition? leadingPosition;
- final double? interPadding;
-
- Widget get _leftContent {
- if (leading == null ||
- leading != null && leadingPosition != LeadingPosition.left) {
- return SizedBox.fromSize(size: Size.zero);
- }
-
- return Padding(
- padding: EdgeInsets.only(right: interPadding!),
- child: leading,
- );
- }
-
- Widget get _centerContent {
- if (leading != null && leadingPosition == LeadingPosition.center) {
- return leading!;
- }
-
- return StyledText(
- text,
- inherit: true,
- style: Style(),
- );
- }
-
- Widget get _rightContent {
- if (leading == null ||
- leading != null && leadingPosition != LeadingPosition.right) {
- return SizedBox.fromSize(size: Size.zero);
- }
-
- return Padding(
- padding: EdgeInsets.only(left: interPadding!),
- child: leading,
- );
- }
-
- @override
- Widget build(BuildContext context) {
- final mergedStyle =
- _baseStyle.applyVariant(size ?? ButtonSizeVariants.medium).merge(style);
-
- return Pressable(
- onPressed: onPressed,
- onLongPress: onLongPressed,
- child: HBox(
- style: mergedStyle,
- children: [
- _leftContent,
- _centerContent,
- _rightContent,
- ],
- ),
- );
- }
-}
-
-Style get _style => Style(
- text.style(
- color: const Color(0xFFFF004C),
- ),
- box.color(const Color(0x0F07E2FF)),
- icon.color.of($md.colorScheme.onBackground),
- onDisabled(
- box.color.of($md.colorScheme.background),
- text.style.color.of($md.colorScheme.onBackground),
- icon.color.of($md.colorScheme.onBackground),
- ),
- );
-
-class PrimaryButton extends Button {
- PrimaryButton(
- String text, {
- super.key,
- super.size,
- super.onPressed,
- super.onLongPressed,
- super.leading,
- super.leadingPosition,
- }) : super(text, style: _style);
-}
-
-class ButtonExample extends HookWidget {
- const ButtonExample({Key? key}) : super(key: key);
-
- @override
- Widget build(BuildContext context) {
- return PrimaryButton(
- 'Primary Button',
- onPressed: () => {},
- );
- }
-}
diff --git a/demo/lib/views/example.dart b/demo/lib/views/example.dart
deleted file mode 100644
index 715bc46ba..000000000
--- a/demo/lib/views/example.dart
+++ /dev/null
@@ -1,84 +0,0 @@
-import 'package:flutter/material.dart';
-import 'package:mix/mix.dart';
-
-class CustomWidget extends StatefulWidget {
- const CustomWidget({
- Key? key,
- }) : super(key: key);
-
- @override
- State createState() => _CustomWidgetState();
-}
-
-class _CustomWidgetState extends State {
- bool _isHover = false;
- @override
- void initState() {
- super.initState();
- }
-
- @override
- Widget build(BuildContext context) {
- final colorScheme = Theme.of(context).colorScheme;
-
- return MouseRegion(
- onEnter: (event) {
- setState(() => _isHover = true);
- },
- onExit: (event) {
- setState(() => _isHover = false);
- },
- child: Material(
- elevation: _isHover ? 2 : 10,
- child: AnimatedContainer(
- curve: Curves.linear,
- duration: const Duration(milliseconds: 100),
- height: 100,
- padding:
- _isHover ? const EdgeInsets.all(20) : const EdgeInsets.all(0),
- margin: const EdgeInsets.symmetric(vertical: 10),
- decoration: BoxDecoration(
- color: _isHover ? colorScheme.secondary : colorScheme.primary,
- borderRadius: BorderRadius.circular(10),
- ),
- child: Text(
- 'Custom Widget',
- style: Theme.of(context).textTheme.labelLarge?.copyWith(
- color: _isHover
- ? colorScheme.onSecondary
- : colorScheme.onPrimary,
- ),
- ),
- ),
- ),
- );
- }
-}
-
-class CustomMixWidget extends StatelessWidget {
- const CustomMixWidget({Key? key}) : super(key: key);
-
- @override
- Widget build(BuildContext context) {
- final style = Style(
- box.height(100),
- box.margin.vertical(10),
- box.elevation(10),
- box.borderRadius(10),
- box.color($md.colorScheme.primary()),
- text.style.of($md.textTheme.bodyMedium),
- text.style(color: $md.colorScheme.onPrimary()),
- onHover(
- box.elevation(2),
- box.padding(20),
- box.color.of($md.colorScheme.secondary),
- text.style.color.of($md.colorScheme.onSecondary),
- ),
- );
-
- return Box(
- style: style,
- child: const StyledText('Custom Widget'),
- );
- }
-}
diff --git a/demo/lib/views/layout_example.dart b/demo/lib/views/layout_example.dart
deleted file mode 100644
index b93fb967f..000000000
--- a/demo/lib/views/layout_example.dart
+++ /dev/null
@@ -1,111 +0,0 @@
-import 'package:flutter/material.dart';
-import 'package:mix/mix.dart';
-
-import '../styles.dart';
-
-Style get mix => Style(
- box.height(300),
- box.width(300),
- box.borderRadius(10),
- box.elevation(2),
- box.color.of($md.colorScheme.surface),
- box.alignment.center(),
- text.style.color.of($md.colorScheme.onSurface),
- );
-
-class LayoutExample extends StatelessWidget {
- const LayoutExample({Key? key}) : super(key: key);
-
- @override
- Widget build(BuildContext context) {
- return SingleChildScrollView(
- padding: const EdgeInsets.all(20),
- child: StyledFlex(
- direction: Axis.vertical,
- style: flexAlign,
- children: [
- flexAlign.container(child: const SizedBox()),
- StyledText(
- "Stack",
- style: headingMix,
- ),
- StyledStack(
- style: mix,
- children: [
- Box(
- style: mix,
- child: StyledText(
- "This is a StyledContainer inside a StyledStack!",
- style: mix,
- ),
- ),
- Box(
- style: mix.merge(
- Style(
- box.width(200),
- box.height(100),
- box.color(Colors.green),
- ),
- ),
- child: StyledText(
- "This is another StyledContainer inside a StyledStack!",
- style: mix,
- ),
- ),
- ],
- ),
- const Divider(),
- StyledText(
- "Flex (Vertical)",
- style: headingMix,
- ),
- StyledFlex(
- direction: Axis.vertical,
- style: flexAlign,
- children: [
- StyledText(
- "This is a StyledText inside a StyledFlex!",
- style: mix,
- ),
- StyledText(
- "This is another StyledText inside a StyledFlex!",
- style: mix,
- ),
- StyledText(
- "This yet another StyledText inside a StyledFlex! It works just like a column!",
- style: mix,
- ),
- ],
- ),
- const Divider(),
- StyledText(
- "Flex (Horizontal)",
- style: headingMix,
- ),
- StyledFlex(
- direction: Axis.horizontal,
- style: flexAlign,
- children: [
- StyledIcon(
- Icons.one_k,
- style: mix,
- ),
- StyledIcon(
- Icons.two_k,
- style: mix,
- ),
- StyledIcon(
- Icons.three_k,
- style: mix,
- ),
- StyledIcon(
- Icons.four_k,
- style: mix,
- ),
- ],
- ),
- ],
- ),
- );
- }
-}
diff --git a/demo/lib/views/typography_example.dart b/demo/lib/views/typography_example.dart
deleted file mode 100644
index fb6c8d7a9..000000000
--- a/demo/lib/views/typography_example.dart
+++ /dev/null
@@ -1,65 +0,0 @@
-import 'package:flutter/material.dart';
-import 'package:mix/mix.dart';
-
-import '../styles.dart';
-
-Style get button => Style(
- text.style.of($md.textTheme.bodyMedium),
- box.padding.top(10),
- text.style.bold(),
- text.style(fontSize: 6.0),
- box.color.of($md.colorScheme.primary),
- onHover(
- box.color.of($md.colorScheme.secondary),
- ),
- box.padding(8, 15),
- );
-
-class TypographyExample extends StatelessWidget {
- const TypographyExample({Key? key}) : super(key: key);
-
- @override
- Widget build(BuildContext context) {
- return SingleChildScrollView(
- padding: const EdgeInsets.all(20),
- child: StyledFlex(
- direction: Axis.vertical,
- style: flexAlign,
- children: [
- flexAlign.container(child: const SizedBox()),
- StyledText(
- "Typography is cool, and mix makes it esay!",
- style: headingMix,
- ),
- const SizedBox(height: 20),
- const SizedBox(height: 20),
- StyledText(
- "This is a StyledText with a custom textStyle!",
- style: headingMix.merge(
- Style(
- text.style(
- color: $md.colorScheme.surface(),
- fontWeight: FontWeight.bold,
- fontStyle: FontStyle.italic,
- letterSpacing: 2,
- wordSpacing: 2,
- height: 1.5,
- shadows: [
- Shadow(
- color: $md.colorScheme.secondary(),
- offset: const Offset(2, 2),
- blurRadius: 2,
- ),
- ],
- ),
- onDark(
- text.style.color.of($md.colorScheme.surface),
- ),
- ),
- ),
- ),
- ],
- ),
- );
- }
-}
diff --git a/demo/lib/views/variants.dart b/demo/lib/views/variants.dart
deleted file mode 100644
index b910033b1..000000000
--- a/demo/lib/views/variants.dart
+++ /dev/null
@@ -1,110 +0,0 @@
-import 'package:flutter/material.dart';
-import 'package:flutter_hooks/flutter_hooks.dart';
-import 'package:mix/mix.dart';
-
-import '../styles.dart';
-
-class VariantsExample extends HookWidget {
- const VariantsExample({super.key});
-
- @override
- Widget build(BuildContext context) {
- final baseStyle = Style(
- box.height(300),
- box.width(300),
- box.borderRadius(10),
- box.elevation(2),
- box.margin(10),
- box.alignment.center(),
- );
-
- final style = Style(
- box.color($md.colorScheme.primary()),
- text.style(color: $md.colorScheme.onPrimary()),
- onHover(
- box.color($md.colorScheme.secondary()),
- text.style(color: $md.colorScheme.onPrimary()),
- ),
- ).merge(baseStyle);
-
- final onDarkStyle = Style(
- box.color($md.colorScheme.primary()),
- text.style(color: $md.colorScheme.onPrimary()),
- onDark(
- box.color(Colors.red),
- text.style(color: $md.colorScheme.onPrimary()),
- ),
- ).merge(baseStyle);
-
- return SingleChildScrollView(
- child: StyledFlex(
- style: flexAlign,
- direction: Axis.vertical,
- children: [
- flexAlign.container(child: const SizedBox()),
- StyledText(
- "Default variants",
- style: headingMix,
- ),
- Pressable(
- onPressed: () {
- return;
- },
- child: Box(
- style: style,
- child: StyledText(
- 'onHover variant',
- style: style,
- ),
- ),
- ),
- const SizedBox(height: 20),
- StyledText(
- "onDark variants",
- style: headingMix,
- ),
- Box(
- style: onDarkStyle,
- child: StyledText(
- 'onDark variant',
- style: onDarkStyle,
- ),
- ),
- const SizedBox(height: 20),
- StyledText(
- "and more...",
- style: headingMix,
- ),
- StyledText(
- """
-onXSmall
-onMedium
-onSmall
-onLarge
-
-onPortrait
-onLandscape
-
-onDark
-onLight
-
-onRTL
-onLTR
-
-onDisabled
-onEnabled
-
-onFocus
-onHover
-onPress
-onLongPress
-
-onNot
-""",
- style: onSurfaceMix,
- ),
- ],
- ),
- );
- }
-}
diff --git a/demo/lib/widgetbook.dart b/demo/lib/widgetbook.dart
deleted file mode 100644
index fd8bd9167..000000000
--- a/demo/lib/widgetbook.dart
+++ /dev/null
@@ -1,47 +0,0 @@
-// widgetbook.dart
-
-import 'package:flutter/material.dart';
-import 'package:mix/mix.dart';
-import 'package:widgetbook/widgetbook.dart';
-import 'package:widgetbook_annotation/widgetbook_annotation.dart' as widgetbook;
-
-// Import the generated directories variable
-import 'widgetbook.directories.g.dart';
-
-final materialTheme = MaterialThemeAddon(
- themes: [
- WidgetbookTheme(
- name: 'Light',
- data: ThemeData.light(),
- ),
- WidgetbookTheme(
- name: 'Dark',
- data: ThemeData.dark(),
- ),
- ],
- initialTheme: WidgetbookTheme(
- name: 'Light',
- data: ThemeData.light(),
- ),
-);
-
-void main() {
- runApp(const WidgetbookApp());
-}
-
-@widgetbook.App()
-class WidgetbookApp extends StatelessWidget {
- const WidgetbookApp({Key? key}) : super(key: key);
-
- @override
- Widget build(BuildContext context) {
- return MixTheme(
- data: MixThemeData.withMaterial(),
- child: Widgetbook.material(
- directories: directories,
- addons: [materialTheme],
- integrations: [],
- ),
- );
- }
-}
diff --git a/demo/lib/widgetbook.directories.g.dart b/demo/lib/widgetbook.directories.g.dart
deleted file mode 100644
index 63c2a28b1..000000000
--- a/demo/lib/widgetbook.directories.g.dart
+++ /dev/null
@@ -1,33 +0,0 @@
-// coverage:ignore-file
-// ignore_for_file: type=lint
-// ignore_for_file: unused_import, prefer_relative_imports, directives_ordering
-
-// GENERATED CODE - DO NOT MODIFY BY HAND
-
-// **************************************************************************
-// AppGenerator
-// **************************************************************************
-
-// ignore_for_file: no_leading_underscores_for_library_prefixes
-import 'package:demo/components/box.dart' as _i2;
-import 'package:widgetbook/widgetbook.dart' as _i1;
-
-final directories = <_i1.WidgetbookNode>[
- _i1.WidgetbookFolder(
- name: 'recipes',
- children: [
- _i1.WidgetbookFolder(
- name: 'container',
- children: [
- _i1.WidgetbookLeafComponent(
- name: 'StyledContainer',
- useCase: _i1.WidgetbookUseCase(
- name: 'Box with BoxDecoration',
- builder: _i2.boxDecorationContainer,
- ),
- )
- ],
- )
- ],
- )
-];
diff --git a/demo/linux/.gitignore b/demo/linux/.gitignore
deleted file mode 100644
index d3896c984..000000000
--- a/demo/linux/.gitignore
+++ /dev/null
@@ -1 +0,0 @@
-flutter/ephemeral
diff --git a/demo/linux/CMakeLists.txt b/demo/linux/CMakeLists.txt
deleted file mode 100644
index b4987aba3..000000000
--- a/demo/linux/CMakeLists.txt
+++ /dev/null
@@ -1,116 +0,0 @@
-cmake_minimum_required(VERSION 3.10)
-project(runner LANGUAGES CXX)
-
-set(BINARY_NAME "demo")
-set(APPLICATION_ID "com.example.demo")
-
-cmake_policy(SET CMP0063 NEW)
-
-set(CMAKE_INSTALL_RPATH "$ORIGIN/lib")
-
-# Root filesystem for cross-building.
-if(FLUTTER_TARGET_PLATFORM_SYSROOT)
- set(CMAKE_SYSROOT ${FLUTTER_TARGET_PLATFORM_SYSROOT})
- set(CMAKE_FIND_ROOT_PATH ${CMAKE_SYSROOT})
- set(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER)
- set(CMAKE_FIND_ROOT_PATH_MODE_PACKAGE ONLY)
- set(CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY)
- set(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY)
-endif()
-
-# Configure build options.
-if(NOT CMAKE_BUILD_TYPE AND NOT CMAKE_CONFIGURATION_TYPES)
- set(CMAKE_BUILD_TYPE "Debug" CACHE
- STRING "Flutter build mode" FORCE)
- set_property(CACHE CMAKE_BUILD_TYPE PROPERTY STRINGS
- "Debug" "Profile" "Release")
-endif()
-
-# Compilation settings that should be applied to most targets.
-function(APPLY_STANDARD_SETTINGS TARGET)
- target_compile_features(${TARGET} PUBLIC cxx_std_14)
- target_compile_options(${TARGET} PRIVATE -Wall -Werror)
- target_compile_options(${TARGET} PRIVATE "$<$>:-O3>")
- target_compile_definitions(${TARGET} PRIVATE "$<$>:NDEBUG>")
-endfunction()
-
-set(FLUTTER_MANAGED_DIR "${CMAKE_CURRENT_SOURCE_DIR}/flutter")
-
-# Flutter library and tool build rules.
-add_subdirectory(${FLUTTER_MANAGED_DIR})
-
-# System-level dependencies.
-find_package(PkgConfig REQUIRED)
-pkg_check_modules(GTK REQUIRED IMPORTED_TARGET gtk+-3.0)
-
-add_definitions(-DAPPLICATION_ID="${APPLICATION_ID}")
-
-# Application build
-add_executable(${BINARY_NAME}
- "main.cc"
- "my_application.cc"
- "${FLUTTER_MANAGED_DIR}/generated_plugin_registrant.cc"
-)
-apply_standard_settings(${BINARY_NAME})
-target_link_libraries(${BINARY_NAME} PRIVATE flutter)
-target_link_libraries(${BINARY_NAME} PRIVATE PkgConfig::GTK)
-add_dependencies(${BINARY_NAME} flutter_assemble)
-# Only the install-generated bundle's copy of the executable will launch
-# correctly, since the resources must in the right relative locations. To avoid
-# people trying to run the unbundled copy, put it in a subdirectory instead of
-# the default top-level location.
-set_target_properties(${BINARY_NAME}
- PROPERTIES
- RUNTIME_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/intermediates_do_not_run"
-)
-
-# Generated plugin build rules, which manage building the plugins and adding
-# them to the application.
-include(flutter/generated_plugins.cmake)
-
-
-# === Installation ===
-# By default, "installing" just makes a relocatable bundle in the build
-# directory.
-set(BUILD_BUNDLE_DIR "${PROJECT_BINARY_DIR}/bundle")
-if(CMAKE_INSTALL_PREFIX_INITIALIZED_TO_DEFAULT)
- set(CMAKE_INSTALL_PREFIX "${BUILD_BUNDLE_DIR}" CACHE PATH "..." FORCE)
-endif()
-
-# Start with a clean build bundle directory every time.
-install(CODE "
- file(REMOVE_RECURSE \"${BUILD_BUNDLE_DIR}/\")
- " COMPONENT Runtime)
-
-set(INSTALL_BUNDLE_DATA_DIR "${CMAKE_INSTALL_PREFIX}/data")
-set(INSTALL_BUNDLE_LIB_DIR "${CMAKE_INSTALL_PREFIX}/lib")
-
-install(TARGETS ${BINARY_NAME} RUNTIME DESTINATION "${CMAKE_INSTALL_PREFIX}"
- COMPONENT Runtime)
-
-install(FILES "${FLUTTER_ICU_DATA_FILE}" DESTINATION "${INSTALL_BUNDLE_DATA_DIR}"
- COMPONENT Runtime)
-
-install(FILES "${FLUTTER_LIBRARY}" DESTINATION "${INSTALL_BUNDLE_LIB_DIR}"
- COMPONENT Runtime)
-
-if(PLUGIN_BUNDLED_LIBRARIES)
- install(FILES "${PLUGIN_BUNDLED_LIBRARIES}"
- DESTINATION "${INSTALL_BUNDLE_LIB_DIR}"
- COMPONENT Runtime)
-endif()
-
-# Fully re-copy the assets directory on each build to avoid having stale files
-# from a previous install.
-set(FLUTTER_ASSET_DIR_NAME "flutter_assets")
-install(CODE "
- file(REMOVE_RECURSE \"${INSTALL_BUNDLE_DATA_DIR}/${FLUTTER_ASSET_DIR_NAME}\")
- " COMPONENT Runtime)
-install(DIRECTORY "${PROJECT_BUILD_DIR}/${FLUTTER_ASSET_DIR_NAME}"
- DESTINATION "${INSTALL_BUNDLE_DATA_DIR}" COMPONENT Runtime)
-
-# Install the AOT library on non-Debug builds only.
-if(NOT CMAKE_BUILD_TYPE MATCHES "Debug")
- install(FILES "${AOT_LIBRARY}" DESTINATION "${INSTALL_BUNDLE_LIB_DIR}"
- COMPONENT Runtime)
-endif()
diff --git a/demo/linux/flutter/CMakeLists.txt b/demo/linux/flutter/CMakeLists.txt
deleted file mode 100644
index 33fd5801e..000000000
--- a/demo/linux/flutter/CMakeLists.txt
+++ /dev/null
@@ -1,87 +0,0 @@
-cmake_minimum_required(VERSION 3.10)
-
-set(EPHEMERAL_DIR "${CMAKE_CURRENT_SOURCE_DIR}/ephemeral")
-
-# Configuration provided via flutter tool.
-include(${EPHEMERAL_DIR}/generated_config.cmake)
-
-# TODO: Move the rest of this into files in ephemeral. See
-# https://github.com/flutter/flutter/issues/57146.
-
-# Serves the same purpose as list(TRANSFORM ... PREPEND ...),
-# which isn't available in 3.10.
-function(list_prepend LIST_NAME PREFIX)
- set(NEW_LIST "")
- foreach(element ${${LIST_NAME}})
- list(APPEND NEW_LIST "${PREFIX}${element}")
- endforeach(element)
- set(${LIST_NAME} "${NEW_LIST}" PARENT_SCOPE)
-endfunction()
-
-# === Flutter Library ===
-# System-level dependencies.
-find_package(PkgConfig REQUIRED)
-pkg_check_modules(GTK REQUIRED IMPORTED_TARGET gtk+-3.0)
-pkg_check_modules(GLIB REQUIRED IMPORTED_TARGET glib-2.0)
-pkg_check_modules(GIO REQUIRED IMPORTED_TARGET gio-2.0)
-
-set(FLUTTER_LIBRARY "${EPHEMERAL_DIR}/libflutter_linux_gtk.so")
-
-# Published to parent scope for install step.
-set(FLUTTER_LIBRARY ${FLUTTER_LIBRARY} PARENT_SCOPE)
-set(FLUTTER_ICU_DATA_FILE "${EPHEMERAL_DIR}/icudtl.dat" PARENT_SCOPE)
-set(PROJECT_BUILD_DIR "${PROJECT_DIR}/build/" PARENT_SCOPE)
-set(AOT_LIBRARY "${PROJECT_DIR}/build/lib/libapp.so" PARENT_SCOPE)
-
-list(APPEND FLUTTER_LIBRARY_HEADERS
- "fl_basic_message_channel.h"
- "fl_binary_codec.h"
- "fl_binary_messenger.h"
- "fl_dart_project.h"
- "fl_engine.h"
- "fl_json_message_codec.h"
- "fl_json_method_codec.h"
- "fl_message_codec.h"
- "fl_method_call.h"
- "fl_method_channel.h"
- "fl_method_codec.h"
- "fl_method_response.h"
- "fl_plugin_registrar.h"
- "fl_plugin_registry.h"
- "fl_standard_message_codec.h"
- "fl_standard_method_codec.h"
- "fl_string_codec.h"
- "fl_value.h"
- "fl_view.h"
- "flutter_linux.h"
-)
-list_prepend(FLUTTER_LIBRARY_HEADERS "${EPHEMERAL_DIR}/flutter_linux/")
-add_library(flutter INTERFACE)
-target_include_directories(flutter INTERFACE
- "${EPHEMERAL_DIR}"
-)
-target_link_libraries(flutter INTERFACE "${FLUTTER_LIBRARY}")
-target_link_libraries(flutter INTERFACE
- PkgConfig::GTK
- PkgConfig::GLIB
- PkgConfig::GIO
-)
-add_dependencies(flutter flutter_assemble)
-
-# === Flutter tool backend ===
-# _phony_ is a non-existent file to force this command to run every time,
-# since currently there's no way to get a full input/output list from the
-# flutter tool.
-add_custom_command(
- OUTPUT ${FLUTTER_LIBRARY} ${FLUTTER_LIBRARY_HEADERS}
- ${CMAKE_CURRENT_BINARY_DIR}/_phony_
- COMMAND ${CMAKE_COMMAND} -E env
- ${FLUTTER_TOOL_ENVIRONMENT}
- "${FLUTTER_ROOT}/packages/flutter_tools/bin/tool_backend.sh"
- ${FLUTTER_TARGET_PLATFORM} ${CMAKE_BUILD_TYPE}
- VERBATIM
-)
-add_custom_target(flutter_assemble DEPENDS
- "${FLUTTER_LIBRARY}"
- ${FLUTTER_LIBRARY_HEADERS}
-)
diff --git a/demo/linux/flutter/generated_plugin_registrant.cc b/demo/linux/flutter/generated_plugin_registrant.cc
deleted file mode 100644
index 321a26bf7..000000000
--- a/demo/linux/flutter/generated_plugin_registrant.cc
+++ /dev/null
@@ -1,15 +0,0 @@
-//
-// Generated file. Do not edit.
-//
-
-// clang-format off
-
-#include "generated_plugin_registrant.h"
-
-#include
-
-void fl_register_plugins(FlPluginRegistry* registry) {
- g_autoptr(FlPluginRegistrar) desktop_window_registrar =
- fl_plugin_registry_get_registrar_for_plugin(registry, "DesktopWindowPlugin");
- desktop_window_plugin_register_with_registrar(desktop_window_registrar);
-}
diff --git a/demo/linux/flutter/generated_plugin_registrant.h b/demo/linux/flutter/generated_plugin_registrant.h
deleted file mode 100644
index e0f0a47bc..000000000
--- a/demo/linux/flutter/generated_plugin_registrant.h
+++ /dev/null
@@ -1,15 +0,0 @@
-//
-// Generated file. Do not edit.
-//
-
-// clang-format off
-
-#ifndef GENERATED_PLUGIN_REGISTRANT_
-#define GENERATED_PLUGIN_REGISTRANT_
-
-#include
-
-// Registers Flutter plugins.
-void fl_register_plugins(FlPluginRegistry* registry);
-
-#endif // GENERATED_PLUGIN_REGISTRANT_
diff --git a/demo/linux/flutter/generated_plugins.cmake b/demo/linux/flutter/generated_plugins.cmake
deleted file mode 100644
index df1c4a025..000000000
--- a/demo/linux/flutter/generated_plugins.cmake
+++ /dev/null
@@ -1,24 +0,0 @@
-#
-# Generated file, do not edit.
-#
-
-list(APPEND FLUTTER_PLUGIN_LIST
- desktop_window
-)
-
-list(APPEND FLUTTER_FFI_PLUGIN_LIST
-)
-
-set(PLUGIN_BUNDLED_LIBRARIES)
-
-foreach(plugin ${FLUTTER_PLUGIN_LIST})
- add_subdirectory(flutter/ephemeral/.plugin_symlinks/${plugin}/linux plugins/${plugin})
- target_link_libraries(${BINARY_NAME} PRIVATE ${plugin}_plugin)
- list(APPEND PLUGIN_BUNDLED_LIBRARIES $)
- list(APPEND PLUGIN_BUNDLED_LIBRARIES ${${plugin}_bundled_libraries})
-endforeach(plugin)
-
-foreach(ffi_plugin ${FLUTTER_FFI_PLUGIN_LIST})
- add_subdirectory(flutter/ephemeral/.plugin_symlinks/${ffi_plugin}/linux plugins/${ffi_plugin})
- list(APPEND PLUGIN_BUNDLED_LIBRARIES ${${ffi_plugin}_bundled_libraries})
-endforeach(ffi_plugin)
diff --git a/demo/linux/main.cc b/demo/linux/main.cc
deleted file mode 100644
index e7c5c5437..000000000
--- a/demo/linux/main.cc
+++ /dev/null
@@ -1,6 +0,0 @@
-#include "my_application.h"
-
-int main(int argc, char** argv) {
- g_autoptr(MyApplication) app = my_application_new();
- return g_application_run(G_APPLICATION(app), argc, argv);
-}
diff --git a/demo/linux/my_application.cc b/demo/linux/my_application.cc
deleted file mode 100644
index 0d6f1ccec..000000000
--- a/demo/linux/my_application.cc
+++ /dev/null
@@ -1,104 +0,0 @@
-#include "my_application.h"
-
-#include
-#ifdef GDK_WINDOWING_X11
-#include
-#endif
-
-#include "flutter/generated_plugin_registrant.h"
-
-struct _MyApplication {
- GtkApplication parent_instance;
- char** dart_entrypoint_arguments;
-};
-
-G_DEFINE_TYPE(MyApplication, my_application, GTK_TYPE_APPLICATION)
-
-// Implements GApplication::activate.
-static void my_application_activate(GApplication* application) {
- MyApplication* self = MY_APPLICATION(application);
- GtkWindow* window =
- GTK_WINDOW(gtk_application_window_new(GTK_APPLICATION(application)));
-
- // Use a header bar when running in GNOME as this is the common style used
- // by applications and is the setup most users will be using (e.g. Ubuntu
- // desktop).
- // If running on X and not using GNOME then just use a traditional title bar
- // in case the window manager does more exotic layout, e.g. tiling.
- // If running on Wayland assume the header bar will work (may need changing
- // if future cases occur).
- gboolean use_header_bar = TRUE;
-#ifdef GDK_WINDOWING_X11
- GdkScreen* screen = gtk_window_get_screen(window);
- if (GDK_IS_X11_SCREEN(screen)) {
- const gchar* wm_name = gdk_x11_screen_get_window_manager_name(screen);
- if (g_strcmp0(wm_name, "GNOME Shell") != 0) {
- use_header_bar = FALSE;
- }
- }
-#endif
- if (use_header_bar) {
- GtkHeaderBar* header_bar = GTK_HEADER_BAR(gtk_header_bar_new());
- gtk_widget_show(GTK_WIDGET(header_bar));
- gtk_header_bar_set_title(header_bar, "demo");
- gtk_header_bar_set_show_close_button(header_bar, TRUE);
- gtk_window_set_titlebar(window, GTK_WIDGET(header_bar));
- } else {
- gtk_window_set_title(window, "demo");
- }
-
- gtk_window_set_default_size(window, 1280, 720);
- gtk_widget_show(GTK_WIDGET(window));
-
- g_autoptr(FlDartProject) project = fl_dart_project_new();
- fl_dart_project_set_dart_entrypoint_arguments(project, self->dart_entrypoint_arguments);
-
- FlView* view = fl_view_new(project);
- gtk_widget_show(GTK_WIDGET(view));
- gtk_container_add(GTK_CONTAINER(window), GTK_WIDGET(view));
-
- fl_register_plugins(FL_PLUGIN_REGISTRY(view));
-
- gtk_widget_grab_focus(GTK_WIDGET(view));
-}
-
-// Implements GApplication::local_command_line.
-static gboolean my_application_local_command_line(GApplication* application, gchar*** arguments, int* exit_status) {
- MyApplication* self = MY_APPLICATION(application);
- // Strip out the first argument as it is the binary name.
- self->dart_entrypoint_arguments = g_strdupv(*arguments + 1);
-
- g_autoptr(GError) error = nullptr;
- if (!g_application_register(application, nullptr, &error)) {
- g_warning("Failed to register: %s", error->message);
- *exit_status = 1;
- return TRUE;
- }
-
- g_application_activate(application);
- *exit_status = 0;
-
- return TRUE;
-}
-
-// Implements GObject::dispose.
-static void my_application_dispose(GObject* object) {
- MyApplication* self = MY_APPLICATION(object);
- g_clear_pointer(&self->dart_entrypoint_arguments, g_strfreev);
- G_OBJECT_CLASS(my_application_parent_class)->dispose(object);
-}
-
-static void my_application_class_init(MyApplicationClass* klass) {
- G_APPLICATION_CLASS(klass)->activate = my_application_activate;
- G_APPLICATION_CLASS(klass)->local_command_line = my_application_local_command_line;
- G_OBJECT_CLASS(klass)->dispose = my_application_dispose;
-}
-
-static void my_application_init(MyApplication* self) {}
-
-MyApplication* my_application_new() {
- return MY_APPLICATION(g_object_new(my_application_get_type(),
- "application-id", APPLICATION_ID,
- "flags", G_APPLICATION_NON_UNIQUE,
- nullptr));
-}
diff --git a/demo/linux/my_application.h b/demo/linux/my_application.h
deleted file mode 100644
index 72271d5e4..000000000
--- a/demo/linux/my_application.h
+++ /dev/null
@@ -1,18 +0,0 @@
-#ifndef FLUTTER_MY_APPLICATION_H_
-#define FLUTTER_MY_APPLICATION_H_
-
-#include
-
-G_DECLARE_FINAL_TYPE(MyApplication, my_application, MY, APPLICATION,
- GtkApplication)
-
-/**
- * my_application_new:
- *
- * Creates a new Flutter-based application.
- *
- * Returns: a new #MyApplication.
- */
-MyApplication* my_application_new();
-
-#endif // FLUTTER_MY_APPLICATION_H_
diff --git a/demo/macos/.gitignore b/demo/macos/.gitignore
deleted file mode 100644
index 746adbb6b..000000000
--- a/demo/macos/.gitignore
+++ /dev/null
@@ -1,7 +0,0 @@
-# Flutter-related
-**/Flutter/ephemeral/
-**/Pods/
-
-# Xcode-related
-**/dgph
-**/xcuserdata/
diff --git a/demo/macos/Flutter/Flutter-Debug.xcconfig b/demo/macos/Flutter/Flutter-Debug.xcconfig
deleted file mode 100644
index 4b81f9b2d..000000000
--- a/demo/macos/Flutter/Flutter-Debug.xcconfig
+++ /dev/null
@@ -1,2 +0,0 @@
-#include? "Pods/Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig"
-#include "ephemeral/Flutter-Generated.xcconfig"
diff --git a/demo/macos/Flutter/Flutter-Release.xcconfig b/demo/macos/Flutter/Flutter-Release.xcconfig
deleted file mode 100644
index 5caa9d157..000000000
--- a/demo/macos/Flutter/Flutter-Release.xcconfig
+++ /dev/null
@@ -1,2 +0,0 @@
-#include? "Pods/Target Support Files/Pods-Runner/Pods-Runner.release.xcconfig"
-#include "ephemeral/Flutter-Generated.xcconfig"
diff --git a/demo/macos/Flutter/GeneratedPluginRegistrant.swift b/demo/macos/Flutter/GeneratedPluginRegistrant.swift
deleted file mode 100644
index a6a258795..000000000
--- a/demo/macos/Flutter/GeneratedPluginRegistrant.swift
+++ /dev/null
@@ -1,14 +0,0 @@
-//
-// Generated file. Do not edit.
-//
-
-import FlutterMacOS
-import Foundation
-
-import desktop_window
-import path_provider_foundation
-
-func RegisterGeneratedPlugins(registry: FlutterPluginRegistry) {
- DesktopWindowPlugin.register(with: registry.registrar(forPlugin: "DesktopWindowPlugin"))
- PathProviderPlugin.register(with: registry.registrar(forPlugin: "PathProviderPlugin"))
-}
diff --git a/demo/macos/Podfile b/demo/macos/Podfile
deleted file mode 100644
index 049abe295..000000000
--- a/demo/macos/Podfile
+++ /dev/null
@@ -1,40 +0,0 @@
-platform :osx, '10.14'
-
-# CocoaPods analytics sends network stats synchronously affecting flutter build latency.
-ENV['COCOAPODS_DISABLE_STATS'] = 'true'
-
-project 'Runner', {
- 'Debug' => :debug,
- 'Profile' => :release,
- 'Release' => :release,
-}
-
-def flutter_root
- generated_xcode_build_settings_path = File.expand_path(File.join('..', 'Flutter', 'ephemeral', 'Flutter-Generated.xcconfig'), __FILE__)
- unless File.exist?(generated_xcode_build_settings_path)
- raise "#{generated_xcode_build_settings_path} must exist. If you're running pod install manually, make sure \"flutter pub get\" is executed first"
- end
-
- File.foreach(generated_xcode_build_settings_path) do |line|
- matches = line.match(/FLUTTER_ROOT\=(.*)/)
- return matches[1].strip if matches
- end
- raise "FLUTTER_ROOT not found in #{generated_xcode_build_settings_path}. Try deleting Flutter-Generated.xcconfig, then run \"flutter pub get\""
-end
-
-require File.expand_path(File.join('packages', 'flutter_tools', 'bin', 'podhelper'), flutter_root)
-
-flutter_macos_podfile_setup
-
-target 'Runner' do
- use_frameworks!
- use_modular_headers!
-
- flutter_install_all_macos_pods File.dirname(File.realpath(__FILE__))
-end
-
-post_install do |installer|
- installer.pods_project.targets.each do |target|
- flutter_additional_macos_build_settings(target)
- end
-end
diff --git a/demo/macos/Podfile.lock b/demo/macos/Podfile.lock
deleted file mode 100644
index 23ce6d555..000000000
--- a/demo/macos/Podfile.lock
+++ /dev/null
@@ -1,29 +0,0 @@
-PODS:
- - desktop_window (0.0.1):
- - FlutterMacOS
- - FlutterMacOS (1.0.0)
- - path_provider_foundation (0.0.1):
- - Flutter
- - FlutterMacOS
-
-DEPENDENCIES:
- - desktop_window (from `Flutter/ephemeral/.symlinks/plugins/desktop_window/macos`)
- - FlutterMacOS (from `Flutter/ephemeral`)
- - path_provider_foundation (from `Flutter/ephemeral/.symlinks/plugins/path_provider_foundation/darwin`)
-
-EXTERNAL SOURCES:
- desktop_window:
- :path: Flutter/ephemeral/.symlinks/plugins/desktop_window/macos
- FlutterMacOS:
- :path: Flutter/ephemeral
- path_provider_foundation:
- :path: Flutter/ephemeral/.symlinks/plugins/path_provider_foundation/darwin
-
-SPEC CHECKSUMS:
- desktop_window: fb7c4f12c1129f947ac482296b6f14059d57a3c3
- FlutterMacOS: 8f6f14fa908a6fb3fba0cd85dbd81ec4b251fb24
- path_provider_foundation: 29f094ae23ebbca9d3d0cec13889cd9060c0e943
-
-PODFILE CHECKSUM: 353c8bcc5d5b0994e508d035b5431cfe18c1dea7
-
-COCOAPODS: 1.13.0
diff --git a/demo/macos/Runner.xcodeproj/project.pbxproj b/demo/macos/Runner.xcodeproj/project.pbxproj
deleted file mode 100644
index eef3ddc64..000000000
--- a/demo/macos/Runner.xcodeproj/project.pbxproj
+++ /dev/null
@@ -1,633 +0,0 @@
-// !$*UTF8*$!
-{
- archiveVersion = 1;
- classes = {
- };
- objectVersion = 54;
- objects = {
-
-/* Begin PBXAggregateTarget section */
- 33CC111A2044C6BA0003C045 /* Flutter Assemble */ = {
- isa = PBXAggregateTarget;
- buildConfigurationList = 33CC111B2044C6BA0003C045 /* Build configuration list for PBXAggregateTarget "Flutter Assemble" */;
- buildPhases = (
- 33CC111E2044C6BF0003C045 /* ShellScript */,
- );
- dependencies = (
- );
- name = "Flutter Assemble";
- productName = FLX;
- };
-/* End PBXAggregateTarget section */
-
-/* Begin PBXBuildFile section */
- 313337F2DC14E90EF70AC78B /* Pods_Runner.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = E5959F34671D0971BFF36DC1 /* Pods_Runner.framework */; };
- 335BBD1B22A9A15E00E9071D /* GeneratedPluginRegistrant.swift in Sources */ = {isa = PBXBuildFile; fileRef = 335BBD1A22A9A15E00E9071D /* GeneratedPluginRegistrant.swift */; };
- 33CC10F12044A3C60003C045 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 33CC10F02044A3C60003C045 /* AppDelegate.swift */; };
- 33CC10F32044A3C60003C045 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 33CC10F22044A3C60003C045 /* Assets.xcassets */; };
- 33CC10F62044A3C60003C045 /* MainMenu.xib in Resources */ = {isa = PBXBuildFile; fileRef = 33CC10F42044A3C60003C045 /* MainMenu.xib */; };
- 33CC11132044BFA00003C045 /* MainFlutterWindow.swift in Sources */ = {isa = PBXBuildFile; fileRef = 33CC11122044BFA00003C045 /* MainFlutterWindow.swift */; };
-/* End PBXBuildFile section */
-
-/* Begin PBXContainerItemProxy section */
- 33CC111F2044C79F0003C045 /* PBXContainerItemProxy */ = {
- isa = PBXContainerItemProxy;
- containerPortal = 33CC10E52044A3C60003C045 /* Project object */;
- proxyType = 1;
- remoteGlobalIDString = 33CC111A2044C6BA0003C045;
- remoteInfo = FLX;
- };
-/* End PBXContainerItemProxy section */
-
-/* Begin PBXCopyFilesBuildPhase section */
- 33CC110E2044A8840003C045 /* Bundle Framework */ = {
- isa = PBXCopyFilesBuildPhase;
- buildActionMask = 2147483647;
- dstPath = "";
- dstSubfolderSpec = 10;
- files = (
- );
- name = "Bundle Framework";
- runOnlyForDeploymentPostprocessing = 0;
- };
-/* End PBXCopyFilesBuildPhase section */
-
-/* Begin PBXFileReference section */
- 31386F82314AF59F9C2B449C /* Pods-Runner.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Runner.debug.xcconfig"; path = "Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig"; sourceTree = ""; };
- 333000ED22D3DE5D00554162 /* Warnings.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; path = Warnings.xcconfig; sourceTree = ""; };
- 335BBD1A22A9A15E00E9071D /* GeneratedPluginRegistrant.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = GeneratedPluginRegistrant.swift; sourceTree = ""; };
- 33CC10ED2044A3C60003C045 /* demo.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = demo.app; sourceTree = BUILT_PRODUCTS_DIR; };
- 33CC10F02044A3C60003C045 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; };
- 33CC10F22044A3C60003C045 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; name = Assets.xcassets; path = Runner/Assets.xcassets; sourceTree = ""; };
- 33CC10F52044A3C60003C045 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/MainMenu.xib; sourceTree = ""; };
- 33CC10F72044A3C60003C045 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; name = Info.plist; path = Runner/Info.plist; sourceTree = ""; };
- 33CC11122044BFA00003C045 /* MainFlutterWindow.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = MainFlutterWindow.swift; sourceTree = ""; };
- 33CEB47222A05771004F2AC0 /* Flutter-Debug.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; path = "Flutter-Debug.xcconfig"; sourceTree = ""; };
- 33CEB47422A05771004F2AC0 /* Flutter-Release.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; path = "Flutter-Release.xcconfig"; sourceTree = ""; };
- 33CEB47722A0578A004F2AC0 /* Flutter-Generated.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; name = "Flutter-Generated.xcconfig"; path = "ephemeral/Flutter-Generated.xcconfig"; sourceTree = ""; };
- 33E51913231747F40026EE4D /* DebugProfile.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; path = DebugProfile.entitlements; sourceTree = ""; };
- 33E51914231749380026EE4D /* Release.entitlements */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.entitlements; path = Release.entitlements; sourceTree = ""; };
- 33E5194F232828860026EE4D /* AppInfo.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; path = AppInfo.xcconfig; sourceTree = ""; };
- 7AFA3C8E1D35360C0083082E /* Release.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; path = Release.xcconfig; sourceTree = ""; };
- 8C4C51CC1937103F14054E66 /* Pods-Runner.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Runner.release.xcconfig"; path = "Target Support Files/Pods-Runner/Pods-Runner.release.xcconfig"; sourceTree = ""; };
- 9740EEB21CF90195004384FC /* Debug.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; path = Debug.xcconfig; sourceTree = ""; };
- 9F4945A250D8A8BF560FB389 /* Pods-Runner.profile.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Runner.profile.xcconfig"; path = "Target Support Files/Pods-Runner/Pods-Runner.profile.xcconfig"; sourceTree = ""; };
- E5959F34671D0971BFF36DC1 /* Pods_Runner.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_Runner.framework; sourceTree = BUILT_PRODUCTS_DIR; };
-/* End PBXFileReference section */
-
-/* Begin PBXFrameworksBuildPhase section */
- 33CC10EA2044A3C60003C045 /* Frameworks */ = {
- isa = PBXFrameworksBuildPhase;
- buildActionMask = 2147483647;
- files = (
- 313337F2DC14E90EF70AC78B /* Pods_Runner.framework in Frameworks */,
- );
- runOnlyForDeploymentPostprocessing = 0;
- };
-/* End PBXFrameworksBuildPhase section */
-
-/* Begin PBXGroup section */
- 33BA886A226E78AF003329D5 /* Configs */ = {
- isa = PBXGroup;
- children = (
- 33E5194F232828860026EE4D /* AppInfo.xcconfig */,
- 9740EEB21CF90195004384FC /* Debug.xcconfig */,
- 7AFA3C8E1D35360C0083082E /* Release.xcconfig */,
- 333000ED22D3DE5D00554162 /* Warnings.xcconfig */,
- );
- path = Configs;
- sourceTree = "";
- };
- 33CC10E42044A3C60003C045 = {
- isa = PBXGroup;
- children = (
- 33FAB671232836740065AC1E /* Runner */,
- 33CEB47122A05771004F2AC0 /* Flutter */,
- 33CC10EE2044A3C60003C045 /* Products */,
- D73912EC22F37F3D000D13A0 /* Frameworks */,
- 9F99BEA64AA1AE140D962FCF /* Pods */,
- );
- sourceTree = "";
- };
- 33CC10EE2044A3C60003C045 /* Products */ = {
- isa = PBXGroup;
- children = (
- 33CC10ED2044A3C60003C045 /* demo.app */,
- );
- name = Products;
- sourceTree = "";
- };
- 33CC11242044D66E0003C045 /* Resources */ = {
- isa = PBXGroup;
- children = (
- 33CC10F22044A3C60003C045 /* Assets.xcassets */,
- 33CC10F42044A3C60003C045 /* MainMenu.xib */,
- 33CC10F72044A3C60003C045 /* Info.plist */,
- );
- name = Resources;
- path = ..;
- sourceTree = "";
- };
- 33CEB47122A05771004F2AC0 /* Flutter */ = {
- isa = PBXGroup;
- children = (
- 335BBD1A22A9A15E00E9071D /* GeneratedPluginRegistrant.swift */,
- 33CEB47222A05771004F2AC0 /* Flutter-Debug.xcconfig */,
- 33CEB47422A05771004F2AC0 /* Flutter-Release.xcconfig */,
- 33CEB47722A0578A004F2AC0 /* Flutter-Generated.xcconfig */,
- );
- path = Flutter;
- sourceTree = "";
- };
- 33FAB671232836740065AC1E /* Runner */ = {
- isa = PBXGroup;
- children = (
- 33CC10F02044A3C60003C045 /* AppDelegate.swift */,
- 33CC11122044BFA00003C045 /* MainFlutterWindow.swift */,
- 33E51913231747F40026EE4D /* DebugProfile.entitlements */,
- 33E51914231749380026EE4D /* Release.entitlements */,
- 33CC11242044D66E0003C045 /* Resources */,
- 33BA886A226E78AF003329D5 /* Configs */,
- );
- path = Runner;
- sourceTree = "";
- };
- 9F99BEA64AA1AE140D962FCF /* Pods */ = {
- isa = PBXGroup;
- children = (
- 31386F82314AF59F9C2B449C /* Pods-Runner.debug.xcconfig */,
- 8C4C51CC1937103F14054E66 /* Pods-Runner.release.xcconfig */,
- 9F4945A250D8A8BF560FB389 /* Pods-Runner.profile.xcconfig */,
- );
- name = Pods;
- path = Pods;
- sourceTree = "";
- };
- D73912EC22F37F3D000D13A0 /* Frameworks */ = {
- isa = PBXGroup;
- children = (
- E5959F34671D0971BFF36DC1 /* Pods_Runner.framework */,
- );
- name = Frameworks;
- sourceTree = "";
- };
-/* End PBXGroup section */
-
-/* Begin PBXNativeTarget section */
- 33CC10EC2044A3C60003C045 /* Runner */ = {
- isa = PBXNativeTarget;
- buildConfigurationList = 33CC10FB2044A3C60003C045 /* Build configuration list for PBXNativeTarget "Runner" */;
- buildPhases = (
- BE497127F055FCF50E7D8233 /* [CP] Check Pods Manifest.lock */,
- 33CC10E92044A3C60003C045 /* Sources */,
- 33CC10EA2044A3C60003C045 /* Frameworks */,
- 33CC10EB2044A3C60003C045 /* Resources */,
- 33CC110E2044A8840003C045 /* Bundle Framework */,
- 3399D490228B24CF009A79C7 /* ShellScript */,
- 0622198C8380952F5AFEF4C9 /* [CP] Embed Pods Frameworks */,
- );
- buildRules = (
- );
- dependencies = (
- 33CC11202044C79F0003C045 /* PBXTargetDependency */,
- );
- name = Runner;
- productName = Runner;
- productReference = 33CC10ED2044A3C60003C045 /* demo.app */;
- productType = "com.apple.product-type.application";
- };
-/* End PBXNativeTarget section */
-
-/* Begin PBXProject section */
- 33CC10E52044A3C60003C045 /* Project object */ = {
- isa = PBXProject;
- attributes = {
- LastSwiftUpdateCheck = 0920;
- LastUpgradeCheck = 1430;
- ORGANIZATIONNAME = "";
- TargetAttributes = {
- 33CC10EC2044A3C60003C045 = {
- CreatedOnToolsVersion = 9.2;
- LastSwiftMigration = 1100;
- ProvisioningStyle = Automatic;
- SystemCapabilities = {
- com.apple.Sandbox = {
- enabled = 1;
- };
- };
- };
- 33CC111A2044C6BA0003C045 = {
- CreatedOnToolsVersion = 9.2;
- ProvisioningStyle = Manual;
- };
- };
- };
- buildConfigurationList = 33CC10E82044A3C60003C045 /* Build configuration list for PBXProject "Runner" */;
- compatibilityVersion = "Xcode 9.3";
- developmentRegion = en;
- hasScannedForEncodings = 0;
- knownRegions = (
- en,
- Base,
- );
- mainGroup = 33CC10E42044A3C60003C045;
- productRefGroup = 33CC10EE2044A3C60003C045 /* Products */;
- projectDirPath = "";
- projectRoot = "";
- targets = (
- 33CC10EC2044A3C60003C045 /* Runner */,
- 33CC111A2044C6BA0003C045 /* Flutter Assemble */,
- );
- };
-/* End PBXProject section */
-
-/* Begin PBXResourcesBuildPhase section */
- 33CC10EB2044A3C60003C045 /* Resources */ = {
- isa = PBXResourcesBuildPhase;
- buildActionMask = 2147483647;
- files = (
- 33CC10F32044A3C60003C045 /* Assets.xcassets in Resources */,
- 33CC10F62044A3C60003C045 /* MainMenu.xib in Resources */,
- );
- runOnlyForDeploymentPostprocessing = 0;
- };
-/* End PBXResourcesBuildPhase section */
-
-/* Begin PBXShellScriptBuildPhase section */
- 0622198C8380952F5AFEF4C9 /* [CP] Embed Pods Frameworks */ = {
- isa = PBXShellScriptBuildPhase;
- buildActionMask = 2147483647;
- files = (
- );
- inputFileListPaths = (
- "${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-frameworks-${CONFIGURATION}-input-files.xcfilelist",
- );
- name = "[CP] Embed Pods Frameworks";
- outputFileListPaths = (
- "${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-frameworks-${CONFIGURATION}-output-files.xcfilelist",
- );
- runOnlyForDeploymentPostprocessing = 0;
- shellPath = /bin/sh;
- shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-frameworks.sh\"\n";
- showEnvVarsInLog = 0;
- };
- 3399D490228B24CF009A79C7 /* ShellScript */ = {
- isa = PBXShellScriptBuildPhase;
- alwaysOutOfDate = 1;
- buildActionMask = 2147483647;
- files = (
- );
- inputFileListPaths = (
- );
- inputPaths = (
- );
- outputFileListPaths = (
- );
- outputPaths = (
- );
- runOnlyForDeploymentPostprocessing = 0;
- shellPath = /bin/sh;
- shellScript = "echo \"$PRODUCT_NAME.app\" > \"$PROJECT_DIR\"/Flutter/ephemeral/.app_filename && \"$FLUTTER_ROOT\"/packages/flutter_tools/bin/macos_assemble.sh embed\n";
- };
- 33CC111E2044C6BF0003C045 /* ShellScript */ = {
- isa = PBXShellScriptBuildPhase;
- buildActionMask = 2147483647;
- files = (
- );
- inputFileListPaths = (
- Flutter/ephemeral/FlutterInputs.xcfilelist,
- );
- inputPaths = (
- Flutter/ephemeral/tripwire,
- );
- outputFileListPaths = (
- Flutter/ephemeral/FlutterOutputs.xcfilelist,
- );
- outputPaths = (
- );
- runOnlyForDeploymentPostprocessing = 0;
- shellPath = /bin/sh;
- shellScript = "\"$FLUTTER_ROOT\"/packages/flutter_tools/bin/macos_assemble.sh && touch Flutter/ephemeral/tripwire";
- };
- BE497127F055FCF50E7D8233 /* [CP] Check Pods Manifest.lock */ = {
- isa = PBXShellScriptBuildPhase;
- buildActionMask = 2147483647;
- files = (
- );
- inputFileListPaths = (
- );
- inputPaths = (
- "${PODS_PODFILE_DIR_PATH}/Podfile.lock",
- "${PODS_ROOT}/Manifest.lock",
- );
- name = "[CP] Check Pods Manifest.lock";
- outputFileListPaths = (
- );
- outputPaths = (
- "$(DERIVED_FILE_DIR)/Pods-Runner-checkManifestLockResult.txt",
- );
- runOnlyForDeploymentPostprocessing = 0;
- shellPath = /bin/sh;
- shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n";
- showEnvVarsInLog = 0;
- };
-/* End PBXShellScriptBuildPhase section */
-
-/* Begin PBXSourcesBuildPhase section */
- 33CC10E92044A3C60003C045 /* Sources */ = {
- isa = PBXSourcesBuildPhase;
- buildActionMask = 2147483647;
- files = (
- 33CC11132044BFA00003C045 /* MainFlutterWindow.swift in Sources */,
- 33CC10F12044A3C60003C045 /* AppDelegate.swift in Sources */,
- 335BBD1B22A9A15E00E9071D /* GeneratedPluginRegistrant.swift in Sources */,
- );
- runOnlyForDeploymentPostprocessing = 0;
- };
-/* End PBXSourcesBuildPhase section */
-
-/* Begin PBXTargetDependency section */
- 33CC11202044C79F0003C045 /* PBXTargetDependency */ = {
- isa = PBXTargetDependency;
- target = 33CC111A2044C6BA0003C045 /* Flutter Assemble */;
- targetProxy = 33CC111F2044C79F0003C045 /* PBXContainerItemProxy */;
- };
-/* End PBXTargetDependency section */
-
-/* Begin PBXVariantGroup section */
- 33CC10F42044A3C60003C045 /* MainMenu.xib */ = {
- isa = PBXVariantGroup;
- children = (
- 33CC10F52044A3C60003C045 /* Base */,
- );
- name = MainMenu.xib;
- path = Runner;
- sourceTree = "";
- };
-/* End PBXVariantGroup section */
-
-/* Begin XCBuildConfiguration section */
- 338D0CE9231458BD00FA5F75 /* Profile */ = {
- isa = XCBuildConfiguration;
- baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */;
- buildSettings = {
- ALWAYS_SEARCH_USER_PATHS = NO;
- CLANG_ANALYZER_NONNULL = YES;
- CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
- CLANG_CXX_LANGUAGE_STANDARD = "gnu++14";
- CLANG_CXX_LIBRARY = "libc++";
- CLANG_ENABLE_MODULES = YES;
- CLANG_ENABLE_OBJC_ARC = YES;
- CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
- CLANG_WARN_BOOL_CONVERSION = YES;
- CLANG_WARN_CONSTANT_CONVERSION = YES;
- CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
- CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
- CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
- CLANG_WARN_EMPTY_BODY = YES;
- CLANG_WARN_ENUM_CONVERSION = YES;
- CLANG_WARN_INFINITE_RECURSION = YES;
- CLANG_WARN_INT_CONVERSION = YES;
- CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
- CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
- CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
- CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
- CLANG_WARN_SUSPICIOUS_MOVE = YES;
- CODE_SIGN_IDENTITY = "-";
- COPY_PHASE_STRIP = NO;
- DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
- ENABLE_NS_ASSERTIONS = NO;
- ENABLE_STRICT_OBJC_MSGSEND = YES;
- GCC_C_LANGUAGE_STANDARD = gnu11;
- GCC_NO_COMMON_BLOCKS = YES;
- GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
- GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
- GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
- GCC_WARN_UNUSED_FUNCTION = YES;
- GCC_WARN_UNUSED_VARIABLE = YES;
- MACOSX_DEPLOYMENT_TARGET = 10.14;
- MTL_ENABLE_DEBUG_INFO = NO;
- SDKROOT = macosx;
- SWIFT_COMPILATION_MODE = wholemodule;
- SWIFT_OPTIMIZATION_LEVEL = "-O";
- };
- name = Profile;
- };
- 338D0CEA231458BD00FA5F75 /* Profile */ = {
- isa = XCBuildConfiguration;
- baseConfigurationReference = 33E5194F232828860026EE4D /* AppInfo.xcconfig */;
- buildSettings = {
- ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
- CLANG_ENABLE_MODULES = YES;
- CODE_SIGN_ENTITLEMENTS = Runner/DebugProfile.entitlements;
- CODE_SIGN_STYLE = Automatic;
- COMBINE_HIDPI_IMAGES = YES;
- INFOPLIST_FILE = Runner/Info.plist;
- LD_RUNPATH_SEARCH_PATHS = (
- "$(inherited)",
- "@executable_path/../Frameworks",
- );
- PROVISIONING_PROFILE_SPECIFIER = "";
- SWIFT_VERSION = 5.0;
- };
- name = Profile;
- };
- 338D0CEB231458BD00FA5F75 /* Profile */ = {
- isa = XCBuildConfiguration;
- buildSettings = {
- CODE_SIGN_STYLE = Manual;
- PRODUCT_NAME = "$(TARGET_NAME)";
- };
- name = Profile;
- };
- 33CC10F92044A3C60003C045 /* Debug */ = {
- isa = XCBuildConfiguration;
- baseConfigurationReference = 9740EEB21CF90195004384FC /* Debug.xcconfig */;
- buildSettings = {
- ALWAYS_SEARCH_USER_PATHS = NO;
- CLANG_ANALYZER_NONNULL = YES;
- CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
- CLANG_CXX_LANGUAGE_STANDARD = "gnu++14";
- CLANG_CXX_LIBRARY = "libc++";
- CLANG_ENABLE_MODULES = YES;
- CLANG_ENABLE_OBJC_ARC = YES;
- CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
- CLANG_WARN_BOOL_CONVERSION = YES;
- CLANG_WARN_CONSTANT_CONVERSION = YES;
- CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
- CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
- CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
- CLANG_WARN_EMPTY_BODY = YES;
- CLANG_WARN_ENUM_CONVERSION = YES;
- CLANG_WARN_INFINITE_RECURSION = YES;
- CLANG_WARN_INT_CONVERSION = YES;
- CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
- CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
- CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
- CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
- CLANG_WARN_SUSPICIOUS_MOVE = YES;
- CODE_SIGN_IDENTITY = "-";
- COPY_PHASE_STRIP = NO;
- DEBUG_INFORMATION_FORMAT = dwarf;
- ENABLE_STRICT_OBJC_MSGSEND = YES;
- ENABLE_TESTABILITY = YES;
- GCC_C_LANGUAGE_STANDARD = gnu11;
- GCC_DYNAMIC_NO_PIC = NO;
- GCC_NO_COMMON_BLOCKS = YES;
- GCC_OPTIMIZATION_LEVEL = 0;
- GCC_PREPROCESSOR_DEFINITIONS = (
- "DEBUG=1",
- "$(inherited)",
- );
- GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
- GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
- GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
- GCC_WARN_UNUSED_FUNCTION = YES;
- GCC_WARN_UNUSED_VARIABLE = YES;
- MACOSX_DEPLOYMENT_TARGET = 10.14;
- MTL_ENABLE_DEBUG_INFO = YES;
- ONLY_ACTIVE_ARCH = YES;
- SDKROOT = macosx;
- SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG;
- SWIFT_OPTIMIZATION_LEVEL = "-Onone";
- };
- name = Debug;
- };
- 33CC10FA2044A3C60003C045 /* Release */ = {
- isa = XCBuildConfiguration;
- baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */;
- buildSettings = {
- ALWAYS_SEARCH_USER_PATHS = NO;
- CLANG_ANALYZER_NONNULL = YES;
- CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
- CLANG_CXX_LANGUAGE_STANDARD = "gnu++14";
- CLANG_CXX_LIBRARY = "libc++";
- CLANG_ENABLE_MODULES = YES;
- CLANG_ENABLE_OBJC_ARC = YES;
- CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
- CLANG_WARN_BOOL_CONVERSION = YES;
- CLANG_WARN_CONSTANT_CONVERSION = YES;
- CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
- CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
- CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
- CLANG_WARN_EMPTY_BODY = YES;
- CLANG_WARN_ENUM_CONVERSION = YES;
- CLANG_WARN_INFINITE_RECURSION = YES;
- CLANG_WARN_INT_CONVERSION = YES;
- CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
- CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
- CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
- CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
- CLANG_WARN_SUSPICIOUS_MOVE = YES;
- CODE_SIGN_IDENTITY = "-";
- COPY_PHASE_STRIP = NO;
- DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
- ENABLE_NS_ASSERTIONS = NO;
- ENABLE_STRICT_OBJC_MSGSEND = YES;
- GCC_C_LANGUAGE_STANDARD = gnu11;
- GCC_NO_COMMON_BLOCKS = YES;
- GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
- GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
- GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
- GCC_WARN_UNUSED_FUNCTION = YES;
- GCC_WARN_UNUSED_VARIABLE = YES;
- MACOSX_DEPLOYMENT_TARGET = 10.14;
- MTL_ENABLE_DEBUG_INFO = NO;
- SDKROOT = macosx;
- SWIFT_COMPILATION_MODE = wholemodule;
- SWIFT_OPTIMIZATION_LEVEL = "-O";
- };
- name = Release;
- };
- 33CC10FC2044A3C60003C045 /* Debug */ = {
- isa = XCBuildConfiguration;
- baseConfigurationReference = 33E5194F232828860026EE4D /* AppInfo.xcconfig */;
- buildSettings = {
- ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
- CLANG_ENABLE_MODULES = YES;
- CODE_SIGN_ENTITLEMENTS = Runner/DebugProfile.entitlements;
- CODE_SIGN_STYLE = Automatic;
- COMBINE_HIDPI_IMAGES = YES;
- INFOPLIST_FILE = Runner/Info.plist;
- LD_RUNPATH_SEARCH_PATHS = (
- "$(inherited)",
- "@executable_path/../Frameworks",
- );
- PROVISIONING_PROFILE_SPECIFIER = "";
- SWIFT_OPTIMIZATION_LEVEL = "-Onone";
- SWIFT_VERSION = 5.0;
- };
- name = Debug;
- };
- 33CC10FD2044A3C60003C045 /* Release */ = {
- isa = XCBuildConfiguration;
- baseConfigurationReference = 33E5194F232828860026EE4D /* AppInfo.xcconfig */;
- buildSettings = {
- ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
- CLANG_ENABLE_MODULES = YES;
- CODE_SIGN_ENTITLEMENTS = Runner/Release.entitlements;
- CODE_SIGN_STYLE = Automatic;
- COMBINE_HIDPI_IMAGES = YES;
- INFOPLIST_FILE = Runner/Info.plist;
- LD_RUNPATH_SEARCH_PATHS = (
- "$(inherited)",
- "@executable_path/../Frameworks",
- );
- PROVISIONING_PROFILE_SPECIFIER = "";
- SWIFT_VERSION = 5.0;
- };
- name = Release;
- };
- 33CC111C2044C6BA0003C045 /* Debug */ = {
- isa = XCBuildConfiguration;
- buildSettings = {
- CODE_SIGN_STYLE = Manual;
- PRODUCT_NAME = "$(TARGET_NAME)";
- };
- name = Debug;
- };
- 33CC111D2044C6BA0003C045 /* Release */ = {
- isa = XCBuildConfiguration;
- buildSettings = {
- CODE_SIGN_STYLE = Automatic;
- PRODUCT_NAME = "$(TARGET_NAME)";
- };
- name = Release;
- };
-/* End XCBuildConfiguration section */
-
-/* Begin XCConfigurationList section */
- 33CC10E82044A3C60003C045 /* Build configuration list for PBXProject "Runner" */ = {
- isa = XCConfigurationList;
- buildConfigurations = (
- 33CC10F92044A3C60003C045 /* Debug */,
- 33CC10FA2044A3C60003C045 /* Release */,
- 338D0CE9231458BD00FA5F75 /* Profile */,
- );
- defaultConfigurationIsVisible = 0;
- defaultConfigurationName = Release;
- };
- 33CC10FB2044A3C60003C045 /* Build configuration list for PBXNativeTarget "Runner" */ = {
- isa = XCConfigurationList;
- buildConfigurations = (
- 33CC10FC2044A3C60003C045 /* Debug */,
- 33CC10FD2044A3C60003C045 /* Release */,
- 338D0CEA231458BD00FA5F75 /* Profile */,
- );
- defaultConfigurationIsVisible = 0;
- defaultConfigurationName = Release;
- };
- 33CC111B2044C6BA0003C045 /* Build configuration list for PBXAggregateTarget "Flutter Assemble" */ = {
- isa = XCConfigurationList;
- buildConfigurations = (
- 33CC111C2044C6BA0003C045 /* Debug */,
- 33CC111D2044C6BA0003C045 /* Release */,
- 338D0CEB231458BD00FA5F75 /* Profile */,
- );
- defaultConfigurationIsVisible = 0;
- defaultConfigurationName = Release;
- };
-/* End XCConfigurationList section */
- };
- rootObject = 33CC10E52044A3C60003C045 /* Project object */;
-}
diff --git a/demo/macos/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/demo/macos/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist
deleted file mode 100644
index 18d981003..000000000
--- a/demo/macos/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist
+++ /dev/null
@@ -1,8 +0,0 @@
-
-
-
-
- IDEDidComputeMac32BitWarning
-
-
-
diff --git a/demo/macos/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme b/demo/macos/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme
deleted file mode 100644
index 15b420ad7..000000000
--- a/demo/macos/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme
+++ /dev/null
@@ -1,89 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/demo/macos/Runner.xcworkspace/contents.xcworkspacedata b/demo/macos/Runner.xcworkspace/contents.xcworkspacedata
deleted file mode 100644
index 21a3cc14c..000000000
--- a/demo/macos/Runner.xcworkspace/contents.xcworkspacedata
+++ /dev/null
@@ -1,10 +0,0 @@
-
-
-
-
-
-
-
diff --git a/demo/macos/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/demo/macos/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist
deleted file mode 100644
index 18d981003..000000000
--- a/demo/macos/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist
+++ /dev/null
@@ -1,8 +0,0 @@
-
-
-
-
- IDEDidComputeMac32BitWarning
-
-
-
diff --git a/demo/macos/Runner/AppDelegate.swift b/demo/macos/Runner/AppDelegate.swift
deleted file mode 100644
index d53ef6437..000000000
--- a/demo/macos/Runner/AppDelegate.swift
+++ /dev/null
@@ -1,9 +0,0 @@
-import Cocoa
-import FlutterMacOS
-
-@NSApplicationMain
-class AppDelegate: FlutterAppDelegate {
- override func applicationShouldTerminateAfterLastWindowClosed(_ sender: NSApplication) -> Bool {
- return true
- }
-}
diff --git a/demo/macos/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json b/demo/macos/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json
deleted file mode 100644
index a2ec33f19..000000000
--- a/demo/macos/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json
+++ /dev/null
@@ -1,68 +0,0 @@
-{
- "images" : [
- {
- "size" : "16x16",
- "idiom" : "mac",
- "filename" : "app_icon_16.png",
- "scale" : "1x"
- },
- {
- "size" : "16x16",
- "idiom" : "mac",
- "filename" : "app_icon_32.png",
- "scale" : "2x"
- },
- {
- "size" : "32x32",
- "idiom" : "mac",
- "filename" : "app_icon_32.png",
- "scale" : "1x"
- },
- {
- "size" : "32x32",
- "idiom" : "mac",
- "filename" : "app_icon_64.png",
- "scale" : "2x"
- },
- {
- "size" : "128x128",
- "idiom" : "mac",
- "filename" : "app_icon_128.png",
- "scale" : "1x"
- },
- {
- "size" : "128x128",
- "idiom" : "mac",
- "filename" : "app_icon_256.png",
- "scale" : "2x"
- },
- {
- "size" : "256x256",
- "idiom" : "mac",
- "filename" : "app_icon_256.png",
- "scale" : "1x"
- },
- {
- "size" : "256x256",
- "idiom" : "mac",
- "filename" : "app_icon_512.png",
- "scale" : "2x"
- },
- {
- "size" : "512x512",
- "idiom" : "mac",
- "filename" : "app_icon_512.png",
- "scale" : "1x"
- },
- {
- "size" : "512x512",
- "idiom" : "mac",
- "filename" : "app_icon_1024.png",
- "scale" : "2x"
- }
- ],
- "info" : {
- "version" : 1,
- "author" : "xcode"
- }
-}
diff --git a/demo/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_1024.png b/demo/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_1024.png
deleted file mode 100644
index 3c4935a7c..000000000
Binary files a/demo/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_1024.png and /dev/null differ
diff --git a/demo/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_128.png b/demo/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_128.png
deleted file mode 100644
index ed4cc1642..000000000
Binary files a/demo/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_128.png and /dev/null differ
diff --git a/demo/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_16.png b/demo/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_16.png
deleted file mode 100644
index 483be6138..000000000
Binary files a/demo/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_16.png and /dev/null differ
diff --git a/demo/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_256.png b/demo/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_256.png
deleted file mode 100644
index bcbf36df2..000000000
Binary files a/demo/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_256.png and /dev/null differ
diff --git a/demo/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_32.png b/demo/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_32.png
deleted file mode 100644
index 9c0a65286..000000000
Binary files a/demo/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_32.png and /dev/null differ
diff --git a/demo/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_512.png b/demo/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_512.png
deleted file mode 100644
index e71a72613..000000000
Binary files a/demo/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_512.png and /dev/null differ
diff --git a/demo/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_64.png b/demo/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_64.png
deleted file mode 100644
index 8a31fe2dd..000000000
Binary files a/demo/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_64.png and /dev/null differ
diff --git a/demo/macos/Runner/Base.lproj/MainMenu.xib b/demo/macos/Runner/Base.lproj/MainMenu.xib
deleted file mode 100644
index 537341abf..000000000
--- a/demo/macos/Runner/Base.lproj/MainMenu.xib
+++ /dev/null
@@ -1,339 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/demo/macos/Runner/Configs/AppInfo.xcconfig b/demo/macos/Runner/Configs/AppInfo.xcconfig
deleted file mode 100644
index e263e4152..000000000
--- a/demo/macos/Runner/Configs/AppInfo.xcconfig
+++ /dev/null
@@ -1,14 +0,0 @@
-// Application-level settings for the Runner target.
-//
-// This may be replaced with something auto-generated from metadata (e.g., pubspec.yaml) in the
-// future. If not, the values below would default to using the project name when this becomes a
-// 'flutter create' template.
-
-// The application's name. By default this is also the title of the Flutter window.
-PRODUCT_NAME = demo
-
-// The application's bundle identifier
-PRODUCT_BUNDLE_IDENTIFIER = com.example.demo
-
-// The copyright displayed in application information
-PRODUCT_COPYRIGHT = Copyright © 2021 com.example. All rights reserved.
diff --git a/demo/macos/Runner/Configs/Debug.xcconfig b/demo/macos/Runner/Configs/Debug.xcconfig
deleted file mode 100644
index 36b0fd946..000000000
--- a/demo/macos/Runner/Configs/Debug.xcconfig
+++ /dev/null
@@ -1,2 +0,0 @@
-#include "../../Flutter/Flutter-Debug.xcconfig"
-#include "Warnings.xcconfig"
diff --git a/demo/macos/Runner/Configs/Release.xcconfig b/demo/macos/Runner/Configs/Release.xcconfig
deleted file mode 100644
index dff4f4956..000000000
--- a/demo/macos/Runner/Configs/Release.xcconfig
+++ /dev/null
@@ -1,2 +0,0 @@
-#include "../../Flutter/Flutter-Release.xcconfig"
-#include "Warnings.xcconfig"
diff --git a/demo/macos/Runner/Configs/Warnings.xcconfig b/demo/macos/Runner/Configs/Warnings.xcconfig
deleted file mode 100644
index 42bcbf478..000000000
--- a/demo/macos/Runner/Configs/Warnings.xcconfig
+++ /dev/null
@@ -1,13 +0,0 @@
-WARNING_CFLAGS = -Wall -Wconditional-uninitialized -Wnullable-to-nonnull-conversion -Wmissing-method-return-type -Woverlength-strings
-GCC_WARN_UNDECLARED_SELECTOR = YES
-CLANG_UNDEFINED_BEHAVIOR_SANITIZER_NULLABILITY = YES
-CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE
-CLANG_WARN__DUPLICATE_METHOD_MATCH = YES
-CLANG_WARN_PRAGMA_PACK = YES
-CLANG_WARN_STRICT_PROTOTYPES = YES
-CLANG_WARN_COMMA = YES
-GCC_WARN_STRICT_SELECTOR_MATCH = YES
-CLANG_WARN_OBJC_REPEATED_USE_OF_WEAK = YES
-CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES
-GCC_WARN_SHADOW = YES
-CLANG_WARN_UNREACHABLE_CODE = YES
diff --git a/demo/macos/Runner/DebugProfile.entitlements b/demo/macos/Runner/DebugProfile.entitlements
deleted file mode 100644
index 08c3ab17c..000000000
--- a/demo/macos/Runner/DebugProfile.entitlements
+++ /dev/null
@@ -1,14 +0,0 @@
-
-
-
-
- com.apple.security.app-sandbox
-
- com.apple.security.cs.allow-jit
-
- com.apple.security.network.server
-
- com.apple.security.network.client
-
-
-
diff --git a/demo/macos/Runner/Info.plist b/demo/macos/Runner/Info.plist
deleted file mode 100644
index 4789daa6a..000000000
--- a/demo/macos/Runner/Info.plist
+++ /dev/null
@@ -1,32 +0,0 @@
-
-
-
-
- CFBundleDevelopmentRegion
- $(DEVELOPMENT_LANGUAGE)
- CFBundleExecutable
- $(EXECUTABLE_NAME)
- CFBundleIconFile
-
- CFBundleIdentifier
- $(PRODUCT_BUNDLE_IDENTIFIER)
- CFBundleInfoDictionaryVersion
- 6.0
- CFBundleName
- $(PRODUCT_NAME)
- CFBundlePackageType
- APPL
- CFBundleShortVersionString
- $(FLUTTER_BUILD_NAME)
- CFBundleVersion
- $(FLUTTER_BUILD_NUMBER)
- LSMinimumSystemVersion
- $(MACOSX_DEPLOYMENT_TARGET)
- NSHumanReadableCopyright
- $(PRODUCT_COPYRIGHT)
- NSMainNibFile
- MainMenu
- NSPrincipalClass
- NSApplication
-
-
diff --git a/demo/macos/Runner/MainFlutterWindow.swift b/demo/macos/Runner/MainFlutterWindow.swift
deleted file mode 100644
index 2722837ec..000000000
--- a/demo/macos/Runner/MainFlutterWindow.swift
+++ /dev/null
@@ -1,15 +0,0 @@
-import Cocoa
-import FlutterMacOS
-
-class MainFlutterWindow: NSWindow {
- override func awakeFromNib() {
- let flutterViewController = FlutterViewController.init()
- let windowFrame = self.frame
- self.contentViewController = flutterViewController
- self.setFrame(windowFrame, display: true)
-
- RegisterGeneratedPlugins(registry: flutterViewController)
-
- super.awakeFromNib()
- }
-}
diff --git a/demo/macos/Runner/Release.entitlements b/demo/macos/Runner/Release.entitlements
deleted file mode 100644
index 852fa1a47..000000000
--- a/demo/macos/Runner/Release.entitlements
+++ /dev/null
@@ -1,8 +0,0 @@
-
-
-
-
- com.apple.security.app-sandbox
-
-
-
diff --git a/demo/pubspec.lock b/demo/pubspec.lock
deleted file mode 100644
index b7cc00c8f..000000000
--- a/demo/pubspec.lock
+++ /dev/null
@@ -1,865 +0,0 @@
-# Generated by pub
-# See https://dart.dev/tools/pub/glossary#lockfile
-packages:
- _fe_analyzer_shared:
- dependency: transitive
- description:
- name: _fe_analyzer_shared
- sha256: eb376e9acf6938204f90eb3b1f00b578640d3188b4c8a8ec054f9f479af8d051
- url: "https://pub.dev"
- source: hosted
- version: "64.0.0"
- accessibility_tools:
- dependency: transitive
- description:
- name: accessibility_tools
- sha256: "0a16adc8dfa3a7ebd38775135d86443011a65d4ecbb438913e4992b5d29135fe"
- url: "https://pub.dev"
- source: hosted
- version: "1.0.0"
- adaptive_breakpoints:
- dependency: transitive
- description:
- name: adaptive_breakpoints
- sha256: "3aa6ef09074fe7824dfdc9a6d9f955c8a3bae0fb71c495cbd72f471a87699b4f"
- url: "https://pub.dev"
- source: hosted
- version: "0.1.6"
- adaptive_navigation:
- dependency: "direct main"
- description:
- name: adaptive_navigation
- sha256: "271d3e54147ce37b389c3d7d19777b4340e4ccd440d0349457c8b8db197b1c41"
- url: "https://pub.dev"
- source: hosted
- version: "0.0.9"
- analyzer:
- dependency: transitive
- description:
- name: analyzer
- sha256: "69f54f967773f6c26c7dcb13e93d7ccee8b17a641689da39e878d5cf13b06893"
- url: "https://pub.dev"
- source: hosted
- version: "6.2.0"
- archive:
- dependency: transitive
- description:
- name: archive
- sha256: e0902a06f0e00414e4e3438a084580161279f137aeb862274710f29ec10cf01e
- url: "https://pub.dev"
- source: hosted
- version: "3.3.9"
- args:
- dependency: transitive
- description:
- name: args
- sha256: eef6c46b622e0494a36c5a12d10d77fb4e855501a91c1b9ef9339326e58f0596
- url: "https://pub.dev"
- source: hosted
- version: "2.4.2"
- async:
- dependency: transitive
- description:
- name: async
- sha256: "947bfcf187f74dbc5e146c9eb9c0f10c9f8b30743e341481c1e2ed3ecc18c20c"
- url: "https://pub.dev"
- source: hosted
- version: "2.11.0"
- boolean_selector:
- dependency: transitive
- description:
- name: boolean_selector
- sha256: "6cfb5af12253eaf2b368f07bacc5a80d1301a071c73360d746b7f2e32d762c66"
- url: "https://pub.dev"
- source: hosted
- version: "2.1.1"
- build:
- dependency: transitive
- description:
- name: build
- sha256: "80184af8b6cb3e5c1c4ec6d8544d27711700bc3e6d2efad04238c7b5290889f0"
- url: "https://pub.dev"
- source: hosted
- version: "2.4.1"
- build_config:
- dependency: transitive
- description:
- name: build_config
- sha256: bf80fcfb46a29945b423bd9aad884590fb1dc69b330a4d4700cac476af1708d1
- url: "https://pub.dev"
- source: hosted
- version: "1.1.1"
- build_daemon:
- dependency: transitive
- description:
- name: build_daemon
- sha256: "0343061a33da9c5810b2d6cee51945127d8f4c060b7fbdd9d54917f0a3feaaa1"
- url: "https://pub.dev"
- source: hosted
- version: "4.0.1"
- build_resolvers:
- dependency: transitive
- description:
- name: build_resolvers
- sha256: "64e12b0521812d1684b1917bc80945625391cb9bdd4312536b1d69dcb6133ed8"
- url: "https://pub.dev"
- source: hosted
- version: "2.4.1"
- build_runner:
- dependency: "direct dev"
- description:
- name: build_runner
- sha256: "67d591d602906ef9201caf93452495ad1812bea2074f04e25dbd7c133785821b"
- url: "https://pub.dev"
- source: hosted
- version: "2.4.7"
- build_runner_core:
- dependency: transitive
- description:
- name: build_runner_core
- sha256: c9e32d21dd6626b5c163d48b037ce906bbe428bc23ab77bcd77bb21e593b6185
- url: "https://pub.dev"
- source: hosted
- version: "7.2.11"
- built_collection:
- dependency: transitive
- description:
- name: built_collection
- sha256: "376e3dd27b51ea877c28d525560790aee2e6fbb5f20e2f85d5081027d94e2100"
- url: "https://pub.dev"
- source: hosted
- version: "5.1.1"
- built_value:
- dependency: transitive
- description:
- name: built_value
- sha256: "69acb7007eb2a31dc901512bfe0f7b767168be34cb734835d54c070bfa74c1b2"
- url: "https://pub.dev"
- source: hosted
- version: "8.8.0"
- characters:
- dependency: transitive
- description:
- name: characters
- sha256: "04a925763edad70e8443c99234dc3328f442e811f1d8fd1a72f1c8ad0f69a605"
- url: "https://pub.dev"
- source: hosted
- version: "1.3.0"
- checked_yaml:
- dependency: transitive
- description:
- name: checked_yaml
- sha256: feb6bed21949061731a7a75fc5d2aa727cf160b91af9a3e464c5e3a32e28b5ff
- url: "https://pub.dev"
- source: hosted
- version: "2.0.3"
- cli_util:
- dependency: transitive
- description:
- name: cli_util
- sha256: "66f86e916d285c1a93d3b79587d94bd71984a66aac4ff74e524cfa7877f1395c"
- url: "https://pub.dev"
- source: hosted
- version: "0.3.5"
- clock:
- dependency: transitive
- description:
- name: clock
- sha256: cb6d7f03e1de671e34607e909a7213e31d7752be4fb66a86d29fe1eb14bfb5cf
- url: "https://pub.dev"
- source: hosted
- version: "1.1.1"
- code_builder:
- dependency: transitive
- description:
- name: code_builder
- sha256: b2151ce26a06171005b379ecff6e08d34c470180ffe16b8e14b6d52be292b55f
- url: "https://pub.dev"
- source: hosted
- version: "4.8.0"
- collection:
- dependency: transitive
- description:
- name: collection
- sha256: f092b211a4319e98e5ff58223576de6c2803db36221657b46c82574721240687
- url: "https://pub.dev"
- source: hosted
- version: "1.17.2"
- community_material_icon:
- dependency: "direct main"
- description:
- name: community_material_icon
- sha256: bb389689f6278158d7b9d9b0c9433e603933283104fea226594590f61503fd08
- url: "https://pub.dev"
- source: hosted
- version: "5.9.55"
- convert:
- dependency: transitive
- description:
- name: convert
- sha256: "0f08b14755d163f6e2134cb58222dd25ea2a2ee8a195e53983d57c075324d592"
- url: "https://pub.dev"
- source: hosted
- version: "3.1.1"
- crypto:
- dependency: transitive
- description:
- name: crypto
- sha256: ff625774173754681d66daaf4a448684fb04b78f902da9cb3d308c19cc5e8bab
- url: "https://pub.dev"
- source: hosted
- version: "3.0.3"
- csslib:
- dependency: transitive
- description:
- name: csslib
- sha256: "706b5707578e0c1b4b7550f64078f0a0f19dec3f50a178ffae7006b0a9ca58fb"
- url: "https://pub.dev"
- source: hosted
- version: "1.0.0"
- cupertino_icons:
- dependency: "direct main"
- description:
- name: cupertino_icons
- sha256: d57953e10f9f8327ce64a508a355f0b1ec902193f66288e8cb5070e7c47eeb2d
- url: "https://pub.dev"
- source: hosted
- version: "1.0.6"
- dart_style:
- dependency: transitive
- description:
- name: dart_style
- sha256: "40ae61a5d43feea6d24bd22c0537a6629db858963b99b4bc1c3db80676f32368"
- url: "https://pub.dev"
- source: hosted
- version: "2.3.4"
- desktop_window:
- dependency: "direct main"
- description:
- name: desktop_window
- sha256: "6256fb6feb7b5ec1311c76a3503f89202825bfe92c0458ec5fe7a728ffa216d5"
- url: "https://pub.dev"
- source: hosted
- version: "0.4.0"
- device_frame:
- dependency: transitive
- description:
- name: device_frame
- sha256: afe76182aec178d171953d9b4a50a43c57c7cf3c77d8b09a48bf30c8fa04dd9d
- url: "https://pub.dev"
- source: hosted
- version: "1.1.0"
- fake_async:
- dependency: transitive
- description:
- name: fake_async
- sha256: "511392330127add0b769b75a987850d136345d9227c6b94c96a04cf4a391bf78"
- url: "https://pub.dev"
- source: hosted
- version: "1.3.1"
- ffi:
- dependency: transitive
- description:
- name: ffi
- sha256: "7bf0adc28a23d395f19f3f1eb21dd7cfd1dd9f8e1c50051c069122e6853bc878"
- url: "https://pub.dev"
- source: hosted
- version: "2.1.0"
- file:
- dependency: transitive
- description:
- name: file
- sha256: "5fc22d7c25582e38ad9a8515372cd9a93834027aacf1801cf01164dac0ffa08c"
- url: "https://pub.dev"
- source: hosted
- version: "7.0.0"
- fixnum:
- dependency: transitive
- description:
- name: fixnum
- sha256: "25517a4deb0c03aa0f32fd12db525856438902d9c16536311e76cdc57b31d7d1"
- url: "https://pub.dev"
- source: hosted
- version: "1.1.0"
- flutter:
- dependency: "direct main"
- description: flutter
- source: sdk
- version: "0.0.0"
- flutter_hooks:
- dependency: "direct main"
- description:
- name: flutter_hooks
- sha256: "6a126f703b89499818d73305e4ce1e3de33b4ae1c5512e3b8eab4b986f46774c"
- url: "https://pub.dev"
- source: hosted
- version: "0.18.6"
- flutter_launcher_icons:
- dependency: "direct dev"
- description:
- name: flutter_launcher_icons
- sha256: a9de6706cd844668beac27c0aed5910fa0534832b3c2cad61a5fd977fce82a5d
- url: "https://pub.dev"
- source: hosted
- version: "0.10.0"
- flutter_lints:
- dependency: "direct dev"
- description:
- name: flutter_lints
- sha256: a25a15ebbdfc33ab1cd26c63a6ee519df92338a9c10f122adda92938253bef04
- url: "https://pub.dev"
- source: hosted
- version: "2.0.3"
- flutter_native_splash:
- dependency: "direct dev"
- description:
- name: flutter_native_splash
- sha256: "6777a3abb974021a39b5fdd2d46a03ca390e03903b6351f21d10e7ecc969f12d"
- url: "https://pub.dev"
- source: hosted
- version: "2.2.16"
- flutter_riverpod:
- dependency: transitive
- description:
- name: flutter_riverpod
- sha256: "1bd39b04f1bcd217a969589777ca6bd642d116e3e5de65c3e6a8e8bdd8b178ec"
- url: "https://pub.dev"
- source: hosted
- version: "2.4.0"
- flutter_test:
- dependency: "direct dev"
- description: flutter
- source: sdk
- version: "0.0.0"
- flutter_web_plugins:
- dependency: transitive
- description: flutter
- source: sdk
- version: "0.0.0"
- freezed_annotation:
- dependency: transitive
- description:
- name: freezed_annotation
- sha256: c3fd9336eb55a38cc1bbd79ab17573113a8deccd0ecbbf926cca3c62803b5c2d
- url: "https://pub.dev"
- source: hosted
- version: "2.4.1"
- frontend_server_client:
- dependency: transitive
- description:
- name: frontend_server_client
- sha256: "408e3ca148b31c20282ad6f37ebfa6f4bdc8fede5b74bc2f08d9d92b55db3612"
- url: "https://pub.dev"
- source: hosted
- version: "3.2.0"
- glob:
- dependency: transitive
- description:
- name: glob
- sha256: "0e7014b3b7d4dac1ca4d6114f82bf1782ee86745b9b42a92c9289c23d8a0ab63"
- url: "https://pub.dev"
- source: hosted
- version: "2.1.2"
- google_fonts:
- dependency: "direct main"
- description:
- name: google_fonts
- sha256: e20ff62b158b96f392bfc8afe29dee1503c94fbea2cbe8186fd59b756b8ae982
- url: "https://pub.dev"
- source: hosted
- version: "5.1.0"
- graphs:
- dependency: transitive
- description:
- name: graphs
- sha256: aedc5a15e78fc65a6e23bcd927f24c64dd995062bcd1ca6eda65a3cff92a4d19
- url: "https://pub.dev"
- source: hosted
- version: "2.3.1"
- hooks_riverpod:
- dependency: "direct main"
- description:
- name: hooks_riverpod
- sha256: ad7b877c3687e38764633d221a1f65491bc7a540e724101e9a404a84db2a4276
- url: "https://pub.dev"
- source: hosted
- version: "2.4.0"
- html:
- dependency: transitive
- description:
- name: html
- sha256: "3a7812d5bcd2894edf53dfaf8cd640876cf6cef50a8f238745c8b8120ea74d3a"
- url: "https://pub.dev"
- source: hosted
- version: "0.15.4"
- http:
- dependency: transitive
- description:
- name: http
- sha256: "759d1a329847dd0f39226c688d3e06a6b8679668e350e2891a6474f8b4bb8525"
- url: "https://pub.dev"
- source: hosted
- version: "1.1.0"
- http_multi_server:
- dependency: transitive
- description:
- name: http_multi_server
- sha256: "97486f20f9c2f7be8f514851703d0119c3596d14ea63227af6f7a481ef2b2f8b"
- url: "https://pub.dev"
- source: hosted
- version: "3.2.1"
- http_parser:
- dependency: transitive
- description:
- name: http_parser
- sha256: "2aa08ce0341cc9b354a498388e30986515406668dbcc4f7c950c3e715496693b"
- url: "https://pub.dev"
- source: hosted
- version: "4.0.2"
- image:
- dependency: transitive
- description:
- name: image
- sha256: "8e9d133755c3e84c73288363e6343157c383a0c6c56fc51afcc5d4d7180306d6"
- url: "https://pub.dev"
- source: hosted
- version: "3.3.0"
- inspector:
- dependency: transitive
- description:
- name: inspector
- sha256: "40ba0ac1c819c85139bfec9d1e283804581a8985c91f19d00e93212cf29226b1"
- url: "https://pub.dev"
- source: hosted
- version: "2.1.0"
- io:
- dependency: transitive
- description:
- name: io
- sha256: "2ec25704aba361659e10e3e5f5d672068d332fc8ac516421d483a11e5cbd061e"
- url: "https://pub.dev"
- source: hosted
- version: "1.0.4"
- js:
- dependency: transitive
- description:
- name: js
- sha256: f2c445dce49627136094980615a031419f7f3eb393237e4ecd97ac15dea343f3
- url: "https://pub.dev"
- source: hosted
- version: "0.6.7"
- json_annotation:
- dependency: transitive
- description:
- name: json_annotation
- sha256: b10a7b2ff83d83c777edba3c6a0f97045ddadd56c944e1a23a3fdf43a1bf4467
- url: "https://pub.dev"
- source: hosted
- version: "4.8.1"
- lints:
- dependency: transitive
- description:
- name: lints
- sha256: "0a217c6c989d21039f1498c3ed9f3ed71b354e69873f13a8dfc3c9fe76f1b452"
- url: "https://pub.dev"
- source: hosted
- version: "2.1.1"
- logging:
- dependency: transitive
- description:
- name: logging
- sha256: "623a88c9594aa774443aa3eb2d41807a48486b5613e67599fb4c41c0ad47c340"
- url: "https://pub.dev"
- source: hosted
- version: "1.2.0"
- matcher:
- dependency: transitive
- description:
- name: matcher
- sha256: "1803e76e6653768d64ed8ff2e1e67bea3ad4b923eb5c56a295c3e634bad5960e"
- url: "https://pub.dev"
- source: hosted
- version: "0.12.16"
- material_color_utilities:
- dependency: transitive
- description:
- name: material_color_utilities
- sha256: "9528f2f296073ff54cb9fee677df673ace1218163c3bc7628093e7eed5203d41"
- url: "https://pub.dev"
- source: hosted
- version: "0.5.0"
- meta:
- dependency: transitive
- description:
- name: meta
- sha256: "3c74dbf8763d36539f114c799d8a2d87343b5067e9d796ca22b5eb8437090ee3"
- url: "https://pub.dev"
- source: hosted
- version: "1.9.1"
- mime:
- dependency: transitive
- description:
- name: mime
- sha256: e4ff8e8564c03f255408decd16e7899da1733852a9110a58fe6d1b817684a63e
- url: "https://pub.dev"
- source: hosted
- version: "1.0.4"
- mix:
- dependency: "direct main"
- description:
- path: ".."
- relative: true
- source: path
- version: "1.0.0-beta.3"
- nested:
- dependency: transitive
- description:
- name: nested
- sha256: "03bac4c528c64c95c722ec99280375a6f2fc708eec17c7b3f07253b626cd2a20"
- url: "https://pub.dev"
- source: hosted
- version: "1.0.0"
- package_config:
- dependency: transitive
- description:
- name: package_config
- sha256: "1c5b77ccc91e4823a5af61ee74e6b972db1ef98c2ff5a18d3161c982a55448bd"
- url: "https://pub.dev"
- source: hosted
- version: "2.1.0"
- path:
- dependency: transitive
- description:
- name: path
- sha256: "8829d8a55c13fc0e37127c29fedf290c102f4e40ae94ada574091fe0ff96c917"
- url: "https://pub.dev"
- source: hosted
- version: "1.8.3"
- path_provider:
- dependency: transitive
- description:
- name: path_provider
- sha256: a1aa8aaa2542a6bc57e381f132af822420216c80d4781f7aa085ca3229208aaa
- url: "https://pub.dev"
- source: hosted
- version: "2.1.1"
- path_provider_android:
- dependency: transitive
- description:
- name: path_provider_android
- sha256: "6b8b19bd80da4f11ce91b2d1fb931f3006911477cec227cce23d3253d80df3f1"
- url: "https://pub.dev"
- source: hosted
- version: "2.2.0"
- path_provider_foundation:
- dependency: transitive
- description:
- name: path_provider_foundation
- sha256: "19314d595120f82aca0ba62787d58dde2cc6b5df7d2f0daf72489e38d1b57f2d"
- url: "https://pub.dev"
- source: hosted
- version: "2.3.1"
- path_provider_linux:
- dependency: transitive
- description:
- name: path_provider_linux
- sha256: f7a1fe3a634fe7734c8d3f2766ad746ae2a2884abe22e241a8b301bf5cac3279
- url: "https://pub.dev"
- source: hosted
- version: "2.2.1"
- path_provider_platform_interface:
- dependency: transitive
- description:
- name: path_provider_platform_interface
- sha256: "94b1e0dd80970c1ce43d5d4e050a9918fce4f4a775e6142424c30a29a363265c"
- url: "https://pub.dev"
- source: hosted
- version: "2.1.1"
- path_provider_windows:
- dependency: transitive
- description:
- name: path_provider_windows
- sha256: "8bc9f22eee8690981c22aa7fc602f5c85b497a6fb2ceb35ee5a5e5ed85ad8170"
- url: "https://pub.dev"
- source: hosted
- version: "2.2.1"
- petitparser:
- dependency: transitive
- description:
- name: petitparser
- sha256: cb3798bef7fc021ac45b308f4b51208a152792445cce0448c9a4ba5879dd8750
- url: "https://pub.dev"
- source: hosted
- version: "5.4.0"
- platform:
- dependency: transitive
- description:
- name: platform
- sha256: ae68c7bfcd7383af3629daafb32fb4e8681c7154428da4febcff06200585f102
- url: "https://pub.dev"
- source: hosted
- version: "3.1.2"
- plugin_platform_interface:
- dependency: transitive
- description:
- name: plugin_platform_interface
- sha256: da3fdfeccc4d4ff2da8f8c556704c08f912542c5fb3cf2233ed75372384a034d
- url: "https://pub.dev"
- source: hosted
- version: "2.1.6"
- pointycastle:
- dependency: transitive
- description:
- name: pointycastle
- sha256: "7c1e5f0d23c9016c5bbd8b1473d0d3fb3fc851b876046039509e18e0c7485f2c"
- url: "https://pub.dev"
- source: hosted
- version: "3.7.3"
- pool:
- dependency: transitive
- description:
- name: pool
- sha256: "20fe868b6314b322ea036ba325e6fc0711a22948856475e2c2b6306e8ab39c2a"
- url: "https://pub.dev"
- source: hosted
- version: "1.5.1"
- pub_semver:
- dependency: transitive
- description:
- name: pub_semver
- sha256: "40d3ab1bbd474c4c2328c91e3a7df8c6dd629b79ece4c4bd04bee496a224fb0c"
- url: "https://pub.dev"
- source: hosted
- version: "2.1.4"
- pubspec_parse:
- dependency: transitive
- description:
- name: pubspec_parse
- sha256: c63b2876e58e194e4b0828fcb080ad0e06d051cb607a6be51a9e084f47cb9367
- url: "https://pub.dev"
- source: hosted
- version: "1.2.3"
- resizable_widget:
- dependency: transitive
- description:
- name: resizable_widget
- sha256: db2919754b93f386b9b3fb15e9f48f6c9d6d41f00a24397629133c99df86606a
- url: "https://pub.dev"
- source: hosted
- version: "1.0.5"
- riverpod:
- dependency: transitive
- description:
- name: riverpod
- sha256: a600120d6f213a9922860eea1abc32597436edd5b2c4e73b91410f8c2af67d22
- url: "https://pub.dev"
- source: hosted
- version: "2.4.0"
- shelf:
- dependency: transitive
- description:
- name: shelf
- sha256: ad29c505aee705f41a4d8963641f91ac4cee3c8fad5947e033390a7bd8180fa4
- url: "https://pub.dev"
- source: hosted
- version: "1.4.1"
- shelf_web_socket:
- dependency: transitive
- description:
- name: shelf_web_socket
- sha256: "9ca081be41c60190ebcb4766b2486a7d50261db7bd0f5d9615f2d653637a84c1"
- url: "https://pub.dev"
- source: hosted
- version: "1.0.4"
- sky_engine:
- dependency: transitive
- description: flutter
- source: sdk
- version: "0.0.99"
- source_gen:
- dependency: transitive
- description:
- name: source_gen
- sha256: fc0da689e5302edb6177fdd964efcb7f58912f43c28c2047a808f5bfff643d16
- url: "https://pub.dev"
- source: hosted
- version: "1.4.0"
- source_span:
- dependency: transitive
- description:
- name: source_span
- sha256: "53e943d4206a5e30df338fd4c6e7a077e02254531b138a15aec3bd143c1a8b3c"
- url: "https://pub.dev"
- source: hosted
- version: "1.10.0"
- stack_trace:
- dependency: transitive
- description:
- name: stack_trace
- sha256: c3c7d8edb15bee7f0f74debd4b9c5f3c2ea86766fe4178eb2a18eb30a0bdaed5
- url: "https://pub.dev"
- source: hosted
- version: "1.11.0"
- state_notifier:
- dependency: transitive
- description:
- name: state_notifier
- sha256: b8677376aa54f2d7c58280d5a007f9e8774f1968d1fb1c096adcb4792fba29bb
- url: "https://pub.dev"
- source: hosted
- version: "1.0.0"
- stream_channel:
- dependency: transitive
- description:
- name: stream_channel
- sha256: "83615bee9045c1d322bbbd1ba209b7a749c2cbcdcb3fdd1df8eb488b3279c1c8"
- url: "https://pub.dev"
- source: hosted
- version: "2.1.1"
- stream_transform:
- dependency: transitive
- description:
- name: stream_transform
- sha256: "14a00e794c7c11aa145a170587321aedce29769c08d7f58b1d141da75e3b1c6f"
- url: "https://pub.dev"
- source: hosted
- version: "2.1.0"
- string_scanner:
- dependency: transitive
- description:
- name: string_scanner
- sha256: "556692adab6cfa87322a115640c11f13cb77b3f076ddcc5d6ae3c20242bedcde"
- url: "https://pub.dev"
- source: hosted
- version: "1.2.0"
- term_glyph:
- dependency: transitive
- description:
- name: term_glyph
- sha256: a29248a84fbb7c79282b40b8c72a1209db169a2e0542bce341da992fe1bc7e84
- url: "https://pub.dev"
- source: hosted
- version: "1.2.1"
- test_api:
- dependency: transitive
- description:
- name: test_api
- sha256: "75760ffd7786fffdfb9597c35c5b27eaeec82be8edfb6d71d32651128ed7aab8"
- url: "https://pub.dev"
- source: hosted
- version: "0.6.0"
- timing:
- dependency: transitive
- description:
- name: timing
- sha256: "70a3b636575d4163c477e6de42f247a23b315ae20e86442bebe32d3cabf61c32"
- url: "https://pub.dev"
- source: hosted
- version: "1.0.1"
- typed_data:
- dependency: transitive
- description:
- name: typed_data
- sha256: facc8d6582f16042dd49f2463ff1bd6e2c9ef9f3d5da3d9b087e244a7b564b3c
- url: "https://pub.dev"
- source: hosted
- version: "1.3.2"
- universal_io:
- dependency: transitive
- description:
- name: universal_io
- sha256: "1722b2dcc462b4b2f3ee7d188dad008b6eb4c40bbd03a3de451d82c78bba9aad"
- url: "https://pub.dev"
- source: hosted
- version: "2.2.2"
- vector_math:
- dependency: transitive
- description:
- name: vector_math
- sha256: "80b3257d1492ce4d091729e3a67a60407d227c27241d6927be0130c98e741803"
- url: "https://pub.dev"
- source: hosted
- version: "2.1.4"
- watcher:
- dependency: transitive
- description:
- name: watcher
- sha256: "3d2ad6751b3c16cf07c7fca317a1413b3f26530319181b37e3b9039b84fc01d8"
- url: "https://pub.dev"
- source: hosted
- version: "1.1.0"
- web:
- dependency: transitive
- description:
- name: web
- sha256: dc8ccd225a2005c1be616fe02951e2e342092edf968cf0844220383757ef8f10
- url: "https://pub.dev"
- source: hosted
- version: "0.1.4-beta"
- web_socket_channel:
- dependency: transitive
- description:
- name: web_socket_channel
- sha256: d88238e5eac9a42bb43ca4e721edba3c08c6354d4a53063afaa568516217621b
- url: "https://pub.dev"
- source: hosted
- version: "2.4.0"
- widgetbook:
- dependency: "direct main"
- description:
- name: widgetbook
- sha256: "37bb71322ed2b024b4b321f9ac0791f6b4510a9abcd42a108c11bec97ac4688a"
- url: "https://pub.dev"
- source: hosted
- version: "3.5.0"
- widgetbook_annotation:
- dependency: "direct main"
- description:
- name: widgetbook_annotation
- sha256: c2d881d0241525b36aa3777d0ac406d198528ed28b84ca73b7dd9f59189d6bb0
- url: "https://pub.dev"
- source: hosted
- version: "3.1.0"
- widgetbook_generator:
- dependency: "direct dev"
- description:
- name: widgetbook_generator
- sha256: e60bb3ca46246bc8d5d3a0bed1994d90268b4913704a298093fcf7b6d781c6e0
- url: "https://pub.dev"
- source: hosted
- version: "3.3.0"
- win32:
- dependency: transitive
- description:
- name: win32
- sha256: "9e82a402b7f3d518fb9c02d0e9ae45952df31b9bf34d77baf19da2de03fc2aaa"
- url: "https://pub.dev"
- source: hosted
- version: "5.0.7"
- xdg_directories:
- dependency: transitive
- description:
- name: xdg_directories
- sha256: "589ada45ba9e39405c198fe34eb0f607cddb2108527e658136120892beac46d2"
- url: "https://pub.dev"
- source: hosted
- version: "1.0.3"
- xml:
- dependency: transitive
- description:
- name: xml
- sha256: "5bc72e1e45e941d825fd7468b9b4cc3b9327942649aeb6fc5cdbf135f0a86e84"
- url: "https://pub.dev"
- source: hosted
- version: "6.3.0"
- yaml:
- dependency: transitive
- description:
- name: yaml
- sha256: "75769501ea3489fca56601ff33454fe45507ea3bfb014161abc3b43ae25989d5"
- url: "https://pub.dev"
- source: hosted
- version: "3.1.2"
-sdks:
- dart: ">=3.1.0-185.0.dev <4.0.0"
- flutter: ">=3.10.0"
diff --git a/demo/pubspec.yaml b/demo/pubspec.yaml
deleted file mode 100644
index 0781eae19..000000000
--- a/demo/pubspec.yaml
+++ /dev/null
@@ -1,45 +0,0 @@
-name: demo
-description: A new Flutter project.
-publish_to: "none"
-version: 1.0.0+1
-
-environment:
- sdk: ">=2.17.0 <3.0.0"
-
-dependencies:
- flutter:
- sdk: flutter
- mix:
- path: ../
-
- cupertino_icons: ^1.0.5
- flutter_hooks: ^0.18.5+1
- hooks_riverpod: ^2.1.1
-
- adaptive_navigation: ^0.0.7
- google_fonts: ^5.1.0
- desktop_window: ^0.4.0
- community_material_icon: ^5.9.55
- widgetbook_annotation: ^3.1.0
- widgetbook: ^3.5.0
-
-dev_dependencies:
- flutter_test:
- sdk: flutter
- flutter_lints: ^2.0.1
- flutter_launcher_icons: ^0.10.0
- flutter_native_splash: ^2.2.11
- widgetbook_generator: ^3.3.0
- build_runner: ^2.4.7
-
-flutter:
- uses-material-design: true
-
-flutter_icons:
- android: "launcher_icon"
- ios: true
- image_path: "assets/logo.png"
-
-flutter_native_splash:
- color: "#ffffff"
- image: "assets/logo.png"
diff --git a/demo/test/widget_test.dart b/demo/test/widget_test.dart
deleted file mode 100644
index cc04fc8e6..000000000
--- a/demo/test/widget_test.dart
+++ /dev/null
@@ -1,14 +0,0 @@
-// This is a basic Flutter widget test.
-//
-// To perform an interaction with a widget in your test, use the WidgetTester
-// utility that Flutter provides. For example, you can send tap and scroll
-// gestures. You can also use WidgetTester to find child widgets in the widget
-// tree, read text, and verify that the values of widget properties are correct.
-
-import 'package:flutter_test/flutter_test.dart';
-
-void main() {
- testWidgets('Counter increments smoke test', (WidgetTester tester) async {
- return;
- });
-}
diff --git a/demo/web/favicon.ico b/demo/web/favicon.ico
deleted file mode 100644
index 5cfd2d669..000000000
Binary files a/demo/web/favicon.ico and /dev/null differ
diff --git a/demo/web/favicon.png b/demo/web/favicon.png
deleted file mode 100644
index 8aaa46ac1..000000000
Binary files a/demo/web/favicon.png and /dev/null differ
diff --git a/demo/web/icons/Icon-192.png b/demo/web/icons/Icon-192.png
deleted file mode 100644
index b749bfef0..000000000
Binary files a/demo/web/icons/Icon-192.png and /dev/null differ
diff --git a/demo/web/icons/Icon-512.png b/demo/web/icons/Icon-512.png
deleted file mode 100644
index 88cfd48df..000000000
Binary files a/demo/web/icons/Icon-512.png and /dev/null differ
diff --git a/demo/web/icons/Icon-maskable-192.png b/demo/web/icons/Icon-maskable-192.png
deleted file mode 100644
index eb9b4d76e..000000000
Binary files a/demo/web/icons/Icon-maskable-192.png and /dev/null differ
diff --git a/demo/web/icons/Icon-maskable-512.png b/demo/web/icons/Icon-maskable-512.png
deleted file mode 100644
index d69c56691..000000000
Binary files a/demo/web/icons/Icon-maskable-512.png and /dev/null differ
diff --git a/demo/web/index.html b/demo/web/index.html
deleted file mode 100644
index 07cb18706..000000000
--- a/demo/web/index.html
+++ /dev/null
@@ -1,112 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Mix Gallery
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/demo/web/manifest.json b/demo/web/manifest.json
deleted file mode 100644
index 996e6f5d4..000000000
--- a/demo/web/manifest.json
+++ /dev/null
@@ -1,35 +0,0 @@
-{
- "name": "Mix Demo",
- "short_name": "Mix Demo",
- "start_url": ".",
- "display": "standalone",
- "background_color": "#0175C2",
- "theme_color": "#0175C2",
- "description": "A Mix demo project",
- "orientation": "portrait-primary",
- "prefer_related_applications": false,
- "icons": [
- {
- "src": "icons/Icon-192.png",
- "sizes": "192x192",
- "type": "image/png"
- },
- {
- "src": "icons/Icon-512.png",
- "sizes": "512x512",
- "type": "image/png"
- },
- {
- "src": "icons/Icon-maskable-192.png",
- "sizes": "192x192",
- "type": "image/png",
- "purpose": "maskable"
- },
- {
- "src": "icons/Icon-maskable-512.png",
- "sizes": "512x512",
- "type": "image/png",
- "purpose": "maskable"
- }
- ]
-}
diff --git a/demo/web/splash/img/dark-1x.png b/demo/web/splash/img/dark-1x.png
deleted file mode 100644
index 2abd57cf5..000000000
Binary files a/demo/web/splash/img/dark-1x.png and /dev/null differ
diff --git a/demo/web/splash/img/dark-2x.png b/demo/web/splash/img/dark-2x.png
deleted file mode 100644
index 9b9c6cee2..000000000
Binary files a/demo/web/splash/img/dark-2x.png and /dev/null differ
diff --git a/demo/web/splash/img/dark-3x.png b/demo/web/splash/img/dark-3x.png
deleted file mode 100644
index 8f828877a..000000000
Binary files a/demo/web/splash/img/dark-3x.png and /dev/null differ
diff --git a/demo/web/splash/img/dark-4x.png b/demo/web/splash/img/dark-4x.png
deleted file mode 100644
index e07ba6f07..000000000
Binary files a/demo/web/splash/img/dark-4x.png and /dev/null differ
diff --git a/demo/web/splash/img/light-1x.png b/demo/web/splash/img/light-1x.png
deleted file mode 100644
index 2abd57cf5..000000000
Binary files a/demo/web/splash/img/light-1x.png and /dev/null differ
diff --git a/demo/web/splash/img/light-2x.png b/demo/web/splash/img/light-2x.png
deleted file mode 100644
index 9b9c6cee2..000000000
Binary files a/demo/web/splash/img/light-2x.png and /dev/null differ
diff --git a/demo/web/splash/img/light-3x.png b/demo/web/splash/img/light-3x.png
deleted file mode 100644
index 8f828877a..000000000
Binary files a/demo/web/splash/img/light-3x.png and /dev/null differ
diff --git a/demo/web/splash/img/light-4x.png b/demo/web/splash/img/light-4x.png
deleted file mode 100644
index e07ba6f07..000000000
Binary files a/demo/web/splash/img/light-4x.png and /dev/null differ
diff --git a/demo/web/splash/splash.js b/demo/web/splash/splash.js
deleted file mode 100644
index 898c454fb..000000000
--- a/demo/web/splash/splash.js
+++ /dev/null
@@ -1,7 +0,0 @@
-function removeSplashFromWeb() {
- const elem = document.getElementById("splash");
- if (elem) {
- elem.remove();
- }
- document.body.style.background = "transparent";
-}
diff --git a/demo/web/splash/style.css b/demo/web/splash/style.css
deleted file mode 100644
index 33904b3b6..000000000
--- a/demo/web/splash/style.css
+++ /dev/null
@@ -1,43 +0,0 @@
-body {
- margin:0;
- height:100%;
- background: #ffffff;
-
- background-size: 100% 100%;
-}
-
-.center {
- margin: 0;
- position: absolute;
- top: 50%;
- left: 50%;
- -ms-transform: translate(-50%, -50%);
- transform: translate(-50%, -50%);
-}
-
-.contain {
- display:block;
- width:100%; height:100%;
- object-fit: contain;
-}
-
-.stretch {
- display:block;
- width:100%; height:100%;
-}
-
-.cover {
- display:block;
- width:100%; height:100%;
- object-fit: cover;
-}
-
-@media (prefers-color-scheme: dark) {
- body {
- margin:0;
- height:100%;
- background: #ffffff;
-
- background-size: 100% 100%;
- }
-}
diff --git a/demo/windows/.gitignore b/demo/windows/.gitignore
deleted file mode 100644
index d492d0d98..000000000
--- a/demo/windows/.gitignore
+++ /dev/null
@@ -1,17 +0,0 @@
-flutter/ephemeral/
-
-# Visual Studio user-specific files.
-*.suo
-*.user
-*.userosscache
-*.sln.docstates
-
-# Visual Studio build-related files.
-x64/
-x86/
-
-# Visual Studio cache files
-# files ending in .cache can be ignored
-*.[Cc]ache
-# but keep track of directories ending in .cache
-!*.[Cc]ache/
diff --git a/demo/windows/CMakeLists.txt b/demo/windows/CMakeLists.txt
deleted file mode 100644
index 320a4c3d6..000000000
--- a/demo/windows/CMakeLists.txt
+++ /dev/null
@@ -1,95 +0,0 @@
-cmake_minimum_required(VERSION 3.15)
-project(demo LANGUAGES CXX)
-
-set(BINARY_NAME "demo")
-
-cmake_policy(SET CMP0063 NEW)
-
-set(CMAKE_INSTALL_RPATH "$ORIGIN/lib")
-
-# Configure build options.
-get_property(IS_MULTICONFIG GLOBAL PROPERTY GENERATOR_IS_MULTI_CONFIG)
-if(IS_MULTICONFIG)
- set(CMAKE_CONFIGURATION_TYPES "Debug;Profile;Release"
- CACHE STRING "" FORCE)
-else()
- if(NOT CMAKE_BUILD_TYPE AND NOT CMAKE_CONFIGURATION_TYPES)
- set(CMAKE_BUILD_TYPE "Debug" CACHE
- STRING "Flutter build mode" FORCE)
- set_property(CACHE CMAKE_BUILD_TYPE PROPERTY STRINGS
- "Debug" "Profile" "Release")
- endif()
-endif()
-
-set(CMAKE_EXE_LINKER_FLAGS_PROFILE "${CMAKE_EXE_LINKER_FLAGS_RELEASE}")
-set(CMAKE_SHARED_LINKER_FLAGS_PROFILE "${CMAKE_SHARED_LINKER_FLAGS_RELEASE}")
-set(CMAKE_C_FLAGS_PROFILE "${CMAKE_C_FLAGS_RELEASE}")
-set(CMAKE_CXX_FLAGS_PROFILE "${CMAKE_CXX_FLAGS_RELEASE}")
-
-# Use Unicode for all projects.
-add_definitions(-DUNICODE -D_UNICODE)
-
-# Compilation settings that should be applied to most targets.
-function(APPLY_STANDARD_SETTINGS TARGET)
- target_compile_features(${TARGET} PUBLIC cxx_std_17)
- target_compile_options(${TARGET} PRIVATE /W4 /WX /wd"4100")
- target_compile_options(${TARGET} PRIVATE /EHsc)
- target_compile_definitions(${TARGET} PRIVATE "_HAS_EXCEPTIONS=0")
- target_compile_definitions(${TARGET} PRIVATE "$<$:_DEBUG>")
-endfunction()
-
-set(FLUTTER_MANAGED_DIR "${CMAKE_CURRENT_SOURCE_DIR}/flutter")
-
-# Flutter library and tool build rules.
-add_subdirectory(${FLUTTER_MANAGED_DIR})
-
-# Application build
-add_subdirectory("runner")
-
-# Generated plugin build rules, which manage building the plugins and adding
-# them to the application.
-include(flutter/generated_plugins.cmake)
-
-
-# === Installation ===
-# Support files are copied into place next to the executable, so that it can
-# run in place. This is done instead of making a separate bundle (as on Linux)
-# so that building and running from within Visual Studio will work.
-set(BUILD_BUNDLE_DIR "$")
-# Make the "install" step default, as it's required to run.
-set(CMAKE_VS_INCLUDE_INSTALL_TO_DEFAULT_BUILD 1)
-if(CMAKE_INSTALL_PREFIX_INITIALIZED_TO_DEFAULT)
- set(CMAKE_INSTALL_PREFIX "${BUILD_BUNDLE_DIR}" CACHE PATH "..." FORCE)
-endif()
-
-set(INSTALL_BUNDLE_DATA_DIR "${CMAKE_INSTALL_PREFIX}/data")
-set(INSTALL_BUNDLE_LIB_DIR "${CMAKE_INSTALL_PREFIX}")
-
-install(TARGETS ${BINARY_NAME} RUNTIME DESTINATION "${CMAKE_INSTALL_PREFIX}"
- COMPONENT Runtime)
-
-install(FILES "${FLUTTER_ICU_DATA_FILE}" DESTINATION "${INSTALL_BUNDLE_DATA_DIR}"
- COMPONENT Runtime)
-
-install(FILES "${FLUTTER_LIBRARY}" DESTINATION "${INSTALL_BUNDLE_LIB_DIR}"
- COMPONENT Runtime)
-
-if(PLUGIN_BUNDLED_LIBRARIES)
- install(FILES "${PLUGIN_BUNDLED_LIBRARIES}"
- DESTINATION "${INSTALL_BUNDLE_LIB_DIR}"
- COMPONENT Runtime)
-endif()
-
-# Fully re-copy the assets directory on each build to avoid having stale files
-# from a previous install.
-set(FLUTTER_ASSET_DIR_NAME "flutter_assets")
-install(CODE "
- file(REMOVE_RECURSE \"${INSTALL_BUNDLE_DATA_DIR}/${FLUTTER_ASSET_DIR_NAME}\")
- " COMPONENT Runtime)
-install(DIRECTORY "${PROJECT_BUILD_DIR}/${FLUTTER_ASSET_DIR_NAME}"
- DESTINATION "${INSTALL_BUNDLE_DATA_DIR}" COMPONENT Runtime)
-
-# Install the AOT library on non-Debug builds only.
-install(FILES "${AOT_LIBRARY}" DESTINATION "${INSTALL_BUNDLE_DATA_DIR}"
- CONFIGURATIONS Profile;Release
- COMPONENT Runtime)
diff --git a/demo/windows/flutter/CMakeLists.txt b/demo/windows/flutter/CMakeLists.txt
deleted file mode 100644
index b02c5485c..000000000
--- a/demo/windows/flutter/CMakeLists.txt
+++ /dev/null
@@ -1,103 +0,0 @@
-cmake_minimum_required(VERSION 3.15)
-
-set(EPHEMERAL_DIR "${CMAKE_CURRENT_SOURCE_DIR}/ephemeral")
-
-# Configuration provided via flutter tool.
-include(${EPHEMERAL_DIR}/generated_config.cmake)
-
-# TODO: Move the rest of this into files in ephemeral. See
-# https://github.com/flutter/flutter/issues/57146.
-set(WRAPPER_ROOT "${EPHEMERAL_DIR}/cpp_client_wrapper")
-
-# === Flutter Library ===
-set(FLUTTER_LIBRARY "${EPHEMERAL_DIR}/flutter_windows.dll")
-
-# Published to parent scope for install step.
-set(FLUTTER_LIBRARY ${FLUTTER_LIBRARY} PARENT_SCOPE)
-set(FLUTTER_ICU_DATA_FILE "${EPHEMERAL_DIR}/icudtl.dat" PARENT_SCOPE)
-set(PROJECT_BUILD_DIR "${PROJECT_DIR}/build/" PARENT_SCOPE)
-set(AOT_LIBRARY "${PROJECT_DIR}/build/windows/app.so" PARENT_SCOPE)
-
-list(APPEND FLUTTER_LIBRARY_HEADERS
- "flutter_export.h"
- "flutter_windows.h"
- "flutter_messenger.h"
- "flutter_plugin_registrar.h"
- "flutter_texture_registrar.h"
-)
-list(TRANSFORM FLUTTER_LIBRARY_HEADERS PREPEND "${EPHEMERAL_DIR}/")
-add_library(flutter INTERFACE)
-target_include_directories(flutter INTERFACE
- "${EPHEMERAL_DIR}"
-)
-target_link_libraries(flutter INTERFACE "${FLUTTER_LIBRARY}.lib")
-add_dependencies(flutter flutter_assemble)
-
-# === Wrapper ===
-list(APPEND CPP_WRAPPER_SOURCES_CORE
- "core_implementations.cc"
- "standard_codec.cc"
-)
-list(TRANSFORM CPP_WRAPPER_SOURCES_CORE PREPEND "${WRAPPER_ROOT}/")
-list(APPEND CPP_WRAPPER_SOURCES_PLUGIN
- "plugin_registrar.cc"
-)
-list(TRANSFORM CPP_WRAPPER_SOURCES_PLUGIN PREPEND "${WRAPPER_ROOT}/")
-list(APPEND CPP_WRAPPER_SOURCES_APP
- "flutter_engine.cc"
- "flutter_view_controller.cc"
-)
-list(TRANSFORM CPP_WRAPPER_SOURCES_APP PREPEND "${WRAPPER_ROOT}/")
-
-# Wrapper sources needed for a plugin.
-add_library(flutter_wrapper_plugin STATIC
- ${CPP_WRAPPER_SOURCES_CORE}
- ${CPP_WRAPPER_SOURCES_PLUGIN}
-)
-apply_standard_settings(flutter_wrapper_plugin)
-set_target_properties(flutter_wrapper_plugin PROPERTIES
- POSITION_INDEPENDENT_CODE ON)
-set_target_properties(flutter_wrapper_plugin PROPERTIES
- CXX_VISIBILITY_PRESET hidden)
-target_link_libraries(flutter_wrapper_plugin PUBLIC flutter)
-target_include_directories(flutter_wrapper_plugin PUBLIC
- "${WRAPPER_ROOT}/include"
-)
-add_dependencies(flutter_wrapper_plugin flutter_assemble)
-
-# Wrapper sources needed for the runner.
-add_library(flutter_wrapper_app STATIC
- ${CPP_WRAPPER_SOURCES_CORE}
- ${CPP_WRAPPER_SOURCES_APP}
-)
-apply_standard_settings(flutter_wrapper_app)
-target_link_libraries(flutter_wrapper_app PUBLIC flutter)
-target_include_directories(flutter_wrapper_app PUBLIC
- "${WRAPPER_ROOT}/include"
-)
-add_dependencies(flutter_wrapper_app flutter_assemble)
-
-# === Flutter tool backend ===
-# _phony_ is a non-existent file to force this command to run every time,
-# since currently there's no way to get a full input/output list from the
-# flutter tool.
-set(PHONY_OUTPUT "${CMAKE_CURRENT_BINARY_DIR}/_phony_")
-set_source_files_properties("${PHONY_OUTPUT}" PROPERTIES SYMBOLIC TRUE)
-add_custom_command(
- OUTPUT ${FLUTTER_LIBRARY} ${FLUTTER_LIBRARY_HEADERS}
- ${CPP_WRAPPER_SOURCES_CORE} ${CPP_WRAPPER_SOURCES_PLUGIN}
- ${CPP_WRAPPER_SOURCES_APP}
- ${PHONY_OUTPUT}
- COMMAND ${CMAKE_COMMAND} -E env
- ${FLUTTER_TOOL_ENVIRONMENT}
- "${FLUTTER_ROOT}/packages/flutter_tools/bin/tool_backend.bat"
- windows-x64 $
- VERBATIM
-)
-add_custom_target(flutter_assemble DEPENDS
- "${FLUTTER_LIBRARY}"
- ${FLUTTER_LIBRARY_HEADERS}
- ${CPP_WRAPPER_SOURCES_CORE}
- ${CPP_WRAPPER_SOURCES_PLUGIN}
- ${CPP_WRAPPER_SOURCES_APP}
-)
diff --git a/demo/windows/flutter/generated_plugin_registrant.cc b/demo/windows/flutter/generated_plugin_registrant.cc
deleted file mode 100644
index 1923f2942..000000000
--- a/demo/windows/flutter/generated_plugin_registrant.cc
+++ /dev/null
@@ -1,14 +0,0 @@
-//
-// Generated file. Do not edit.
-//
-
-// clang-format off
-
-#include "generated_plugin_registrant.h"
-
-#include
-
-void RegisterPlugins(flutter::PluginRegistry* registry) {
- DesktopWindowPluginRegisterWithRegistrar(
- registry->GetRegistrarForPlugin("DesktopWindowPlugin"));
-}
diff --git a/demo/windows/flutter/generated_plugin_registrant.h b/demo/windows/flutter/generated_plugin_registrant.h
deleted file mode 100644
index dc139d85a..000000000
--- a/demo/windows/flutter/generated_plugin_registrant.h
+++ /dev/null
@@ -1,15 +0,0 @@
-//
-// Generated file. Do not edit.
-//
-
-// clang-format off
-
-#ifndef GENERATED_PLUGIN_REGISTRANT_
-#define GENERATED_PLUGIN_REGISTRANT_
-
-#include
-
-// Registers Flutter plugins.
-void RegisterPlugins(flutter::PluginRegistry* registry);
-
-#endif // GENERATED_PLUGIN_REGISTRANT_
diff --git a/demo/windows/flutter/generated_plugins.cmake b/demo/windows/flutter/generated_plugins.cmake
deleted file mode 100644
index 5601eb611..000000000
--- a/demo/windows/flutter/generated_plugins.cmake
+++ /dev/null
@@ -1,24 +0,0 @@
-#
-# Generated file, do not edit.
-#
-
-list(APPEND FLUTTER_PLUGIN_LIST
- desktop_window
-)
-
-list(APPEND FLUTTER_FFI_PLUGIN_LIST
-)
-
-set(PLUGIN_BUNDLED_LIBRARIES)
-
-foreach(plugin ${FLUTTER_PLUGIN_LIST})
- add_subdirectory(flutter/ephemeral/.plugin_symlinks/${plugin}/windows plugins/${plugin})
- target_link_libraries(${BINARY_NAME} PRIVATE ${plugin}_plugin)
- list(APPEND PLUGIN_BUNDLED_LIBRARIES $)
- list(APPEND PLUGIN_BUNDLED_LIBRARIES ${${plugin}_bundled_libraries})
-endforeach(plugin)
-
-foreach(ffi_plugin ${FLUTTER_FFI_PLUGIN_LIST})
- add_subdirectory(flutter/ephemeral/.plugin_symlinks/${ffi_plugin}/windows plugins/${ffi_plugin})
- list(APPEND PLUGIN_BUNDLED_LIBRARIES ${${ffi_plugin}_bundled_libraries})
-endforeach(ffi_plugin)
diff --git a/demo/windows/runner/CMakeLists.txt b/demo/windows/runner/CMakeLists.txt
deleted file mode 100644
index 0b899a0bc..000000000
--- a/demo/windows/runner/CMakeLists.txt
+++ /dev/null
@@ -1,17 +0,0 @@
-cmake_minimum_required(VERSION 3.15)
-project(runner LANGUAGES CXX)
-
-add_executable(${BINARY_NAME} WIN32
- "flutter_window.cpp"
- "main.cpp"
- "utils.cpp"
- "win32_window.cpp"
- "${FLUTTER_MANAGED_DIR}/generated_plugin_registrant.cc"
- "Runner.rc"
- "runner.exe.manifest"
-)
-apply_standard_settings(${BINARY_NAME})
-target_compile_definitions(${BINARY_NAME} PRIVATE "NOMINMAX")
-target_link_libraries(${BINARY_NAME} PRIVATE flutter flutter_wrapper_app)
-target_include_directories(${BINARY_NAME} PRIVATE "${CMAKE_SOURCE_DIR}")
-add_dependencies(${BINARY_NAME} flutter_assemble)
diff --git a/demo/windows/runner/Runner.rc b/demo/windows/runner/Runner.rc
deleted file mode 100644
index 3f19086a6..000000000
--- a/demo/windows/runner/Runner.rc
+++ /dev/null
@@ -1,121 +0,0 @@
-// Microsoft Visual C++ generated resource script.
-//
-#pragma code_page(65001)
-#include "resource.h"
-
-#define APSTUDIO_READONLY_SYMBOLS
-/////////////////////////////////////////////////////////////////////////////
-//
-// Generated from the TEXTINCLUDE 2 resource.
-//
-#include "winres.h"
-
-/////////////////////////////////////////////////////////////////////////////
-#undef APSTUDIO_READONLY_SYMBOLS
-
-/////////////////////////////////////////////////////////////////////////////
-// English (United States) resources
-
-#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
-LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
-
-#ifdef APSTUDIO_INVOKED
-/////////////////////////////////////////////////////////////////////////////
-//
-// TEXTINCLUDE
-//
-
-1 TEXTINCLUDE
-BEGIN
- "resource.h\0"
-END
-
-2 TEXTINCLUDE
-BEGIN
- "#include ""winres.h""\r\n"
- "\0"
-END
-
-3 TEXTINCLUDE
-BEGIN
- "\r\n"
- "\0"
-END
-
-#endif // APSTUDIO_INVOKED
-
-
-/////////////////////////////////////////////////////////////////////////////
-//
-// Icon
-//
-
-// Icon with lowest ID value placed first to ensure application icon
-// remains consistent on all systems.
-IDI_APP_ICON ICON "resources\\app_icon.ico"
-
-
-/////////////////////////////////////////////////////////////////////////////
-//
-// Version
-//
-
-#ifdef FLUTTER_BUILD_NUMBER
-#define VERSION_AS_NUMBER FLUTTER_BUILD_NUMBER
-#else
-#define VERSION_AS_NUMBER 1,0,0
-#endif
-
-#ifdef FLUTTER_BUILD_NAME
-#define VERSION_AS_STRING #FLUTTER_BUILD_NAME
-#else
-#define VERSION_AS_STRING "1.0.0"
-#endif
-
-VS_VERSION_INFO VERSIONINFO
- FILEVERSION VERSION_AS_NUMBER
- PRODUCTVERSION VERSION_AS_NUMBER
- FILEFLAGSMASK VS_FFI_FILEFLAGSMASK
-#ifdef _DEBUG
- FILEFLAGS VS_FF_DEBUG
-#else
- FILEFLAGS 0x0L
-#endif
- FILEOS VOS__WINDOWS32
- FILETYPE VFT_APP
- FILESUBTYPE 0x0L
-BEGIN
- BLOCK "StringFileInfo"
- BEGIN
- BLOCK "040904e4"
- BEGIN
- VALUE "CompanyName", "com.example" "\0"
- VALUE "FileDescription", "A new Flutter project." "\0"
- VALUE "FileVersion", VERSION_AS_STRING "\0"
- VALUE "InternalName", "demo" "\0"
- VALUE "LegalCopyright", "Copyright (C) 2021 com.example. All rights reserved." "\0"
- VALUE "OriginalFilename", "demo.exe" "\0"
- VALUE "ProductName", "demo" "\0"
- VALUE "ProductVersion", VERSION_AS_STRING "\0"
- END
- END
- BLOCK "VarFileInfo"
- BEGIN
- VALUE "Translation", 0x409, 1252
- END
-END
-
-#endif // English (United States) resources
-/////////////////////////////////////////////////////////////////////////////
-
-
-
-#ifndef APSTUDIO_INVOKED
-/////////////////////////////////////////////////////////////////////////////
-//
-// Generated from the TEXTINCLUDE 3 resource.
-//
-
-
-/////////////////////////////////////////////////////////////////////////////
-#endif // not APSTUDIO_INVOKED
diff --git a/demo/windows/runner/flutter_window.cpp b/demo/windows/runner/flutter_window.cpp
deleted file mode 100644
index b43b9095e..000000000
--- a/demo/windows/runner/flutter_window.cpp
+++ /dev/null
@@ -1,61 +0,0 @@
-#include "flutter_window.h"
-
-#include
-
-#include "flutter/generated_plugin_registrant.h"
-
-FlutterWindow::FlutterWindow(const flutter::DartProject& project)
- : project_(project) {}
-
-FlutterWindow::~FlutterWindow() {}
-
-bool FlutterWindow::OnCreate() {
- if (!Win32Window::OnCreate()) {
- return false;
- }
-
- RECT frame = GetClientArea();
-
- // The size here must match the window dimensions to avoid unnecessary surface
- // creation / destruction in the startup path.
- flutter_controller_ = std::make_unique(
- frame.right - frame.left, frame.bottom - frame.top, project_);
- // Ensure that basic setup of the controller was successful.
- if (!flutter_controller_->engine() || !flutter_controller_->view()) {
- return false;
- }
- RegisterPlugins(flutter_controller_->engine());
- SetChildContent(flutter_controller_->view()->GetNativeWindow());
- return true;
-}
-
-void FlutterWindow::OnDestroy() {
- if (flutter_controller_) {
- flutter_controller_ = nullptr;
- }
-
- Win32Window::OnDestroy();
-}
-
-LRESULT
-FlutterWindow::MessageHandler(HWND hwnd, UINT const message,
- WPARAM const wparam,
- LPARAM const lparam) noexcept {
- // Give Flutter, including plugins, an opportunity to handle window messages.
- if (flutter_controller_) {
- std::optional result =
- flutter_controller_->HandleTopLevelWindowProc(hwnd, message, wparam,
- lparam);
- if (result) {
- return *result;
- }
- }
-
- switch (message) {
- case WM_FONTCHANGE:
- flutter_controller_->engine()->ReloadSystemFonts();
- break;
- }
-
- return Win32Window::MessageHandler(hwnd, message, wparam, lparam);
-}
diff --git a/demo/windows/runner/flutter_window.h b/demo/windows/runner/flutter_window.h
deleted file mode 100644
index 6da0652f0..000000000
--- a/demo/windows/runner/flutter_window.h
+++ /dev/null
@@ -1,33 +0,0 @@
-#ifndef RUNNER_FLUTTER_WINDOW_H_
-#define RUNNER_FLUTTER_WINDOW_H_
-
-#include
-#include
-
-#include
-
-#include "win32_window.h"
-
-// A window that does nothing but host a Flutter view.
-class FlutterWindow : public Win32Window {
- public:
- // Creates a new FlutterWindow hosting a Flutter view running |project|.
- explicit FlutterWindow(const flutter::DartProject& project);
- virtual ~FlutterWindow();
-
- protected:
- // Win32Window:
- bool OnCreate() override;
- void OnDestroy() override;
- LRESULT MessageHandler(HWND window, UINT const message, WPARAM const wparam,
- LPARAM const lparam) noexcept override;
-
- private:
- // The project to run.
- flutter::DartProject project_;
-
- // The Flutter instance hosted by this window.
- std::unique_ptr flutter_controller_;
-};
-
-#endif // RUNNER_FLUTTER_WINDOW_H_
diff --git a/demo/windows/runner/main.cpp b/demo/windows/runner/main.cpp
deleted file mode 100644
index 7e446caf7..000000000
--- a/demo/windows/runner/main.cpp
+++ /dev/null
@@ -1,43 +0,0 @@
-#include
-#include
-#include
-
-#include "flutter_window.h"
-#include "utils.h"
-
-int APIENTRY wWinMain(_In_ HINSTANCE instance, _In_opt_ HINSTANCE prev,
- _In_ wchar_t *command_line, _In_ int show_command) {
- // Attach to console when present (e.g., 'flutter run') or create a
- // new console when running with a debugger.
- if (!::AttachConsole(ATTACH_PARENT_PROCESS) && ::IsDebuggerPresent()) {
- CreateAndAttachConsole();
- }
-
- // Initialize COM, so that it is available for use in the library and/or
- // plugins.
- ::CoInitializeEx(nullptr, COINIT_APARTMENTTHREADED);
-
- flutter::DartProject project(L"data");
-
- std::vector command_line_arguments =
- GetCommandLineArguments();
-
- project.set_dart_entrypoint_arguments(std::move(command_line_arguments));
-
- FlutterWindow window(project);
- Win32Window::Point origin(10, 10);
- Win32Window::Size size(1280, 720);
- if (!window.CreateAndShow(L"demo", origin, size)) {
- return EXIT_FAILURE;
- }
- window.SetQuitOnClose(true);
-
- ::MSG msg;
- while (::GetMessage(&msg, nullptr, 0, 0)) {
- ::TranslateMessage(&msg);
- ::DispatchMessage(&msg);
- }
-
- ::CoUninitialize();
- return EXIT_SUCCESS;
-}
diff --git a/demo/windows/runner/resource.h b/demo/windows/runner/resource.h
deleted file mode 100644
index 66a65d1e4..000000000
--- a/demo/windows/runner/resource.h
+++ /dev/null
@@ -1,16 +0,0 @@
-//{{NO_DEPENDENCIES}}
-// Microsoft Visual C++ generated include file.
-// Used by Runner.rc
-//
-#define IDI_APP_ICON 101
-
-// Next default values for new objects
-//
-#ifdef APSTUDIO_INVOKED
-#ifndef APSTUDIO_READONLY_SYMBOLS
-#define _APS_NEXT_RESOURCE_VALUE 102
-#define _APS_NEXT_COMMAND_VALUE 40001
-#define _APS_NEXT_CONTROL_VALUE 1001
-#define _APS_NEXT_SYMED_VALUE 101
-#endif
-#endif
diff --git a/demo/windows/runner/resources/app_icon.ico b/demo/windows/runner/resources/app_icon.ico
deleted file mode 100644
index c04e20caf..000000000
Binary files a/demo/windows/runner/resources/app_icon.ico and /dev/null differ
diff --git a/demo/windows/runner/runner.exe.manifest b/demo/windows/runner/runner.exe.manifest
deleted file mode 100644
index c977c4a42..000000000
--- a/demo/windows/runner/runner.exe.manifest
+++ /dev/null
@@ -1,20 +0,0 @@
-
-
-
-
- PerMonitorV2
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/demo/windows/runner/utils.cpp b/demo/windows/runner/utils.cpp
deleted file mode 100644
index d19bdbbcc..000000000
--- a/demo/windows/runner/utils.cpp
+++ /dev/null
@@ -1,64 +0,0 @@
-#include "utils.h"
-
-#include
-#include
-#include
-#include
-
-#include
-
-void CreateAndAttachConsole() {
- if (::AllocConsole()) {
- FILE *unused;
- if (freopen_s(&unused, "CONOUT$", "w", stdout)) {
- _dup2(_fileno(stdout), 1);
- }
- if (freopen_s(&unused, "CONOUT$", "w", stderr)) {
- _dup2(_fileno(stdout), 2);
- }
- std::ios::sync_with_stdio();
- FlutterDesktopResyncOutputStreams();
- }
-}
-
-std::vector GetCommandLineArguments() {
- // Convert the UTF-16 command line arguments to UTF-8 for the Engine to use.
- int argc;
- wchar_t** argv = ::CommandLineToArgvW(::GetCommandLineW(), &argc);
- if (argv == nullptr) {
- return std::vector();
- }
-
- std::vector command_line_arguments;
-
- // Skip the first argument as it's the binary name.
- for (int i = 1; i < argc; i++) {
- command_line_arguments.push_back(Utf8FromUtf16(argv[i]));
- }
-
- ::LocalFree(argv);
-
- return command_line_arguments;
-}
-
-std::string Utf8FromUtf16(const wchar_t* utf16_string) {
- if (utf16_string == nullptr) {
- return std::string();
- }
- int target_length = ::WideCharToMultiByte(
- CP_UTF8, WC_ERR_INVALID_CHARS, utf16_string,
- -1, nullptr, 0, nullptr, nullptr);
- if (target_length == 0) {
- return std::string();
- }
- std::string utf8_string;
- utf8_string.resize(target_length);
- int converted_length = ::WideCharToMultiByte(
- CP_UTF8, WC_ERR_INVALID_CHARS, utf16_string,
- -1, utf8_string.data(),
- target_length, nullptr, nullptr);
- if (converted_length == 0) {
- return std::string();
- }
- return utf8_string;
-}
diff --git a/demo/windows/runner/utils.h b/demo/windows/runner/utils.h
deleted file mode 100644
index 3879d5475..000000000
--- a/demo/windows/runner/utils.h
+++ /dev/null
@@ -1,19 +0,0 @@
-#ifndef RUNNER_UTILS_H_
-#define RUNNER_UTILS_H_
-
-#include
-#include
-
-// Creates a console for the process, and redirects stdout and stderr to
-// it for both the runner and the Flutter library.
-void CreateAndAttachConsole();
-
-// Takes a null-terminated wchar_t* encoded in UTF-16 and returns a std::string
-// encoded in UTF-8. Returns an empty std::string on failure.
-std::string Utf8FromUtf16(const wchar_t* utf16_string);
-
-// Gets the command line arguments passed in as a std::vector,
-// encoded in UTF-8. Returns an empty std::vector on failure.
-std::vector GetCommandLineArguments();
-
-#endif // RUNNER_UTILS_H_
diff --git a/demo/windows/runner/win32_window.cpp b/demo/windows/runner/win32_window.cpp
deleted file mode 100644
index c10f08dc7..000000000
--- a/demo/windows/runner/win32_window.cpp
+++ /dev/null
@@ -1,245 +0,0 @@
-#include "win32_window.h"
-
-#include
-
-#include "resource.h"
-
-namespace {
-
-constexpr const wchar_t kWindowClassName[] = L"FLUTTER_RUNNER_WIN32_WINDOW";
-
-// The number of Win32Window objects that currently exist.
-static int g_active_window_count = 0;
-
-using EnableNonClientDpiScaling = BOOL __stdcall(HWND hwnd);
-
-// Scale helper to convert logical scaler values to physical using passed in
-// scale factor
-int Scale(int source, double scale_factor) {
- return static_cast(source * scale_factor);
-}
-
-// Dynamically loads the |EnableNonClientDpiScaling| from the User32 module.
-// This API is only needed for PerMonitor V1 awareness mode.
-void EnableFullDpiSupportIfAvailable(HWND hwnd) {
- HMODULE user32_module = LoadLibraryA("User32.dll");
- if (!user32_module) {
- return;
- }
- auto enable_non_client_dpi_scaling =
- reinterpret_cast(
- GetProcAddress(user32_module, "EnableNonClientDpiScaling"));
- if (enable_non_client_dpi_scaling != nullptr) {
- enable_non_client_dpi_scaling(hwnd);
- FreeLibrary(user32_module);
- }
-}
-
-} // namespace
-
-// Manages the Win32Window's window class registration.
-class WindowClassRegistrar {
- public:
- ~WindowClassRegistrar() = default;
-
- // Returns the singleton registar instance.
- static WindowClassRegistrar* GetInstance() {
- if (!instance_) {
- instance_ = new WindowClassRegistrar();
- }
- return instance_;
- }
-
- // Returns the name of the window class, registering the class if it hasn't
- // previously been registered.
- const wchar_t* GetWindowClass();
-
- // Unregisters the window class. Should only be called if there are no
- // instances of the window.
- void UnregisterWindowClass();
-
- private:
- WindowClassRegistrar() = default;
-
- static WindowClassRegistrar* instance_;
-
- bool class_registered_ = false;
-};
-
-WindowClassRegistrar* WindowClassRegistrar::instance_ = nullptr;
-
-const wchar_t* WindowClassRegistrar::GetWindowClass() {
- if (!class_registered_) {
- WNDCLASS window_class{};
- window_class.hCursor = LoadCursor(nullptr, IDC_ARROW);
- window_class.lpszClassName = kWindowClassName;
- window_class.style = CS_HREDRAW | CS_VREDRAW;
- window_class.cbClsExtra = 0;
- window_class.cbWndExtra = 0;
- window_class.hInstance = GetModuleHandle(nullptr);
- window_class.hIcon =
- LoadIcon(window_class.hInstance, MAKEINTRESOURCE(IDI_APP_ICON));
- window_class.hbrBackground = 0;
- window_class.lpszMenuName = nullptr;
- window_class.lpfnWndProc = Win32Window::WndProc;
- RegisterClass(&window_class);
- class_registered_ = true;
- }
- return kWindowClassName;
-}
-
-void WindowClassRegistrar::UnregisterWindowClass() {
- UnregisterClass(kWindowClassName, nullptr);
- class_registered_ = false;
-}
-
-Win32Window::Win32Window() {
- ++g_active_window_count;
-}
-
-Win32Window::~Win32Window() {
- --g_active_window_count;
- Destroy();
-}
-
-bool Win32Window::CreateAndShow(const std::wstring& title,
- const Point& origin,
- const Size& size) {
- Destroy();
-
- const wchar_t* window_class =
- WindowClassRegistrar::GetInstance()->GetWindowClass();
-
- const POINT target_point = {static_cast(origin.x),
- static_cast(origin.y)};
- HMONITOR monitor = MonitorFromPoint(target_point, MONITOR_DEFAULTTONEAREST);
- UINT dpi = FlutterDesktopGetDpiForMonitor(monitor);
- double scale_factor = dpi / 96.0;
-
- HWND window = CreateWindow(
- window_class, title.c_str(), WS_OVERLAPPEDWINDOW | WS_VISIBLE,
- Scale(origin.x, scale_factor), Scale(origin.y, scale_factor),
- Scale(size.width, scale_factor), Scale(size.height, scale_factor),
- nullptr, nullptr, GetModuleHandle(nullptr), this);
-
- if (!window) {
- return false;
- }
-
- return OnCreate();
-}
-
-// static
-LRESULT CALLBACK Win32Window::WndProc(HWND const window,
- UINT const message,
- WPARAM const wparam,
- LPARAM const lparam) noexcept {
- if (message == WM_NCCREATE) {
- auto window_struct = reinterpret_cast(lparam);
- SetWindowLongPtr(window, GWLP_USERDATA,
- reinterpret_cast(window_struct->lpCreateParams));
-
- auto that = static_cast(window_struct->lpCreateParams);
- EnableFullDpiSupportIfAvailable(window);
- that->window_handle_ = window;
- } else if (Win32Window* that = GetThisFromHandle(window)) {
- return that->MessageHandler(window, message, wparam, lparam);
- }
-
- return DefWindowProc(window, message, wparam, lparam);
-}
-
-LRESULT
-Win32Window::MessageHandler(HWND hwnd,
- UINT const message,
- WPARAM const wparam,
- LPARAM const lparam) noexcept {
- switch (message) {
- case WM_DESTROY:
- window_handle_ = nullptr;
- Destroy();
- if (quit_on_close_) {
- PostQuitMessage(0);
- }
- return 0;
-
- case WM_DPICHANGED: {
- auto newRectSize = reinterpret_cast(lparam);
- LONG newWidth = newRectSize->right - newRectSize->left;
- LONG newHeight = newRectSize->bottom - newRectSize->top;
-
- SetWindowPos(hwnd, nullptr, newRectSize->left, newRectSize->top, newWidth,
- newHeight, SWP_NOZORDER | SWP_NOACTIVATE);
-
- return 0;
- }
- case WM_SIZE: {
- RECT rect = GetClientArea();
- if (child_content_ != nullptr) {
- // Size and position the child window.
- MoveWindow(child_content_, rect.left, rect.top, rect.right - rect.left,
- rect.bottom - rect.top, TRUE);
- }
- return 0;
- }
-
- case WM_ACTIVATE:
- if (child_content_ != nullptr) {
- SetFocus(child_content_);
- }
- return 0;
- }
-
- return DefWindowProc(window_handle_, message, wparam, lparam);
-}
-
-void Win32Window::Destroy() {
- OnDestroy();
-
- if (window_handle_) {
- DestroyWindow(window_handle_);
- window_handle_ = nullptr;
- }
- if (g_active_window_count == 0) {
- WindowClassRegistrar::GetInstance()->UnregisterWindowClass();
- }
-}
-
-Win32Window* Win32Window::GetThisFromHandle(HWND const window) noexcept {
- return reinterpret_cast(
- GetWindowLongPtr(window, GWLP_USERDATA));
-}
-
-void Win32Window::SetChildContent(HWND content) {
- child_content_ = content;
- SetParent(content, window_handle_);
- RECT frame = GetClientArea();
-
- MoveWindow(content, frame.left, frame.top, frame.right - frame.left,
- frame.bottom - frame.top, true);
-
- SetFocus(child_content_);
-}
-
-RECT Win32Window::GetClientArea() {
- RECT frame;
- GetClientRect(window_handle_, &frame);
- return frame;
-}
-
-HWND Win32Window::GetHandle() {
- return window_handle_;
-}
-
-void Win32Window::SetQuitOnClose(bool quit_on_close) {
- quit_on_close_ = quit_on_close;
-}
-
-bool Win32Window::OnCreate() {
- // No-op; provided for subclasses.
- return true;
-}
-
-void Win32Window::OnDestroy() {
- // No-op; provided for subclasses.
-}
diff --git a/demo/windows/runner/win32_window.h b/demo/windows/runner/win32_window.h
deleted file mode 100644
index 17ba43112..000000000
--- a/demo/windows/runner/win32_window.h
+++ /dev/null
@@ -1,98 +0,0 @@
-#ifndef RUNNER_WIN32_WINDOW_H_
-#define RUNNER_WIN32_WINDOW_H_
-
-#include
-
-#include
-#include
-#include
-
-// A class abstraction for a high DPI-aware Win32 Window. Intended to be
-// inherited from by classes that wish to specialize with custom
-// rendering and input handling
-class Win32Window {
- public:
- struct Point {
- unsigned int x;
- unsigned int y;
- Point(unsigned int x, unsigned int y) : x(x), y(y) {}
- };
-
- struct Size {
- unsigned int width;
- unsigned int height;
- Size(unsigned int width, unsigned int height)
- : width(width), height(height) {}
- };
-
- Win32Window();
- virtual ~Win32Window();
-
- // Creates and shows a win32 window with |title| and position and size using
- // |origin| and |size|. New windows are created on the default monitor. Window
- // sizes are specified to the OS in physical pixels, hence to ensure a
- // consistent size to will treat the width height passed in to this function
- // as logical pixels and scale to appropriate for the default monitor. Returns
- // true if the window was created successfully.
- bool CreateAndShow(const std::wstring& title,
- const Point& origin,
- const Size& size);
-
- // Release OS resources associated with window.
- void Destroy();
-
- // Inserts |content| into the window tree.
- void SetChildContent(HWND content);
-
- // Returns the backing Window handle to enable clients to set icon and other
- // window properties. Returns nullptr if the window has been destroyed.
- HWND GetHandle();
-
- // If true, closing this window will quit the application.
- void SetQuitOnClose(bool quit_on_close);
-
- // Return a RECT representing the bounds of the current client area.
- RECT GetClientArea();
-
- protected:
- // Processes and route salient window messages for mouse handling,
- // size change and DPI. Delegates handling of these to member overloads that
- // inheriting classes can handle.
- virtual LRESULT MessageHandler(HWND window,
- UINT const message,
- WPARAM const wparam,
- LPARAM const lparam) noexcept;
-
- // Called when CreateAndShow is called, allowing subclass window-related
- // setup. Subclasses should return false if setup fails.
- virtual bool OnCreate();
-
- // Called when Destroy is called.
- virtual void OnDestroy();
-
- private:
- friend class WindowClassRegistrar;
-
- // OS callback called by message pump. Handles the WM_NCCREATE message which
- // is passed when the non-client area is being created and enables automatic
- // non-client DPI scaling so that the non-client area automatically
- // responsponds to changes in DPI. All other messages are handled by
- // MessageHandler.
- static LRESULT CALLBACK WndProc(HWND const window,
- UINT const message,
- WPARAM const wparam,
- LPARAM const lparam) noexcept;
-
- // Retrieves a class instance pointer for |window|
- static Win32Window* GetThisFromHandle(HWND const window) noexcept;
-
- bool quit_on_close_ = false;
-
- // window handle for top level window.
- HWND window_handle_ = nullptr;
-
- // window handle for hosted content.
- HWND child_content_ = nullptr;
-};
-
-#endif // RUNNER_WIN32_WINDOW_H_