Commit 7a746dd
authored
Add external factories for @staticInterop classes instead of synthetic constructor (flutter#37443)
Per dart-lang/sdk#49941, synthetic constructors
will be disallowed on @staticInterop classes. Functionally, they are lowered
to the same code.
Also fixes an erroneous call to the DomHTMLStyleConstructor instead of the
relevant factory method.1 parent a9fbf6a commit 7a746dd
File tree
2 files changed
+22
-8
lines changed- lib/web_ui/lib/src/engine
- canvaskit
- text
2 files changed
+22
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1865 | 1865 | | |
1866 | 1866 | | |
1867 | 1867 | | |
1868 | | - | |
| 1868 | + | |
| 1869 | + | |
| 1870 | + | |
1869 | 1871 | | |
1870 | 1872 | | |
1871 | 1873 | | |
| |||
1981 | 1983 | | |
1982 | 1984 | | |
1983 | 1985 | | |
1984 | | - | |
| 1986 | + | |
| 1987 | + | |
| 1988 | + | |
1985 | 1989 | | |
1986 | 1990 | | |
1987 | 1991 | | |
| |||
2008 | 2012 | | |
2009 | 2013 | | |
2010 | 2014 | | |
2011 | | - | |
| 2015 | + | |
| 2016 | + | |
| 2017 | + | |
2012 | 2018 | | |
2013 | 2019 | | |
2014 | 2020 | | |
| |||
2024 | 2030 | | |
2025 | 2031 | | |
2026 | 2032 | | |
2027 | | - | |
| 2033 | + | |
| 2034 | + | |
| 2035 | + | |
2028 | 2036 | | |
2029 | 2037 | | |
2030 | 2038 | | |
| |||
2034 | 2042 | | |
2035 | 2043 | | |
2036 | 2044 | | |
2037 | | - | |
| 2045 | + | |
| 2046 | + | |
| 2047 | + | |
2038 | 2048 | | |
2039 | 2049 | | |
2040 | 2050 | | |
| |||
2045 | 2055 | | |
2046 | 2056 | | |
2047 | 2057 | | |
2048 | | - | |
| 2058 | + | |
| 2059 | + | |
| 2060 | + | |
2049 | 2061 | | |
2050 | 2062 | | |
2051 | 2063 | | |
| |||
2055 | 2067 | | |
2056 | 2068 | | |
2057 | 2069 | | |
2058 | | - | |
| 2070 | + | |
| 2071 | + | |
| 2072 | + | |
2059 | 2073 | | |
2060 | 2074 | | |
2061 | 2075 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
325 | 325 | | |
326 | 326 | | |
327 | 327 | | |
328 | | - | |
| 328 | + | |
329 | 329 | | |
330 | 330 | | |
331 | 331 | | |
| |||
0 commit comments