colorStubWithShade top-level constant
String
const colorStubWithShade
Implementation
const String colorStubWithShade = """
T get from%colorNameCamel%%colorShade% {
if (!_needsDarkVariant) gradientColors[0] = TwColors.%colorName%.shade%colorShade%;
return _child;
}
T get to%colorNameCamel%%colorShade% {
if (!_needsDarkVariant) gradientColors[1] = TwColors.%colorName%.shade%colorShade%;
return _child;
}
""";