Refactor ExampleApp theme and background color; enhance slider with divisions and labels
Signed-off-by: Hans Kokx <hans.d.kokx@gmail.com>
This commit is contained in:
@@ -26,6 +26,14 @@ void main() {
|
||||
expect(shinyCard.sparkleShape.primary, 0.0);
|
||||
});
|
||||
|
||||
test('default opacity is 1.0', () {
|
||||
const Shiny shiny = Shiny(child: SizedBox.shrink());
|
||||
const ShinyCard shinyCard = ShinyCard();
|
||||
|
||||
expect(shiny.opacity, 1.0);
|
||||
expect(shinyCard.opacity, 1.0);
|
||||
});
|
||||
|
||||
test('custom sparkle factories produce expected specs', () {
|
||||
final SparkleShapeSpec star =
|
||||
SparkleShapeSpec.customStar(points: 7, innerRatio: 0.33);
|
||||
|
||||
Reference in New Issue
Block a user