SizedAnimatedContainer constructor

const SizedAnimatedContainer({
  1. Key? key,
  2. required double width,
  3. required double height,
  4. double secondWidth = 300,
  5. double secondHeight = 300,
  6. required Text text,
  7. required Widget child,
  8. required Duration duration,
  9. required Color boxColor,
})

Implementation

const SizedAnimatedContainer({
  super.key,
  required this.width,
  required this.height,
  this.secondWidth = 300,
  this.secondHeight = 300,
  required this.text,
  required this.child,
  required this.duration,
  required this.boxColor,
});