MyoroScrollableGradientConfiguration.fake constructor
MyoroScrollableGradientConfiguration.fake()
Creates a fake instance of MyoroScrollableGradientConfiguration for testing purposes.
Implementation
MyoroScrollableGradientConfiguration.fake()
: enabled = faker.randomGenerator.boolean(),
size = faker.randomGenerator.decimal(scale: 50),
color = myoroFake<Color>(),
begin = faker.randomGenerator.boolean() ? myoroFake<Alignment>() : null,
end = faker.randomGenerator.boolean() ? myoroFake<Alignment>() : null;