Т
Три ха)
Size: a a a
Т
П
AA
Т
П
M
Т
Т
M
RE
AA
D
AA
M
at
const strings = const Strings();
class Strings{
const Strings();
final Feature1 feature1 = const Feature1();
final Feature2 feature2 = const Feature2();
}
class Feature1 {
const Feature1(this.text1 = 'x',this.text2 = 'y' );
final String text1;
final String text2;
...
}
...
но при этом когда обращаюсь к полям, дарт ругается что они должны быть константныGV
GV
E/flutter (10870): [ERROR:flutter/lib/ui/painting/image_descriptor.cc(181)] Failed to get pixels for image.
F/libc (10870): Fatal signal 11 (SIGSEGV), code 1, fault addr 0x0 in tid 10923
ДЩ
at