ArrowButton constructor

ArrowButton({
  1. Key? key,
  2. bool expanded = false,
  3. void onTap(
    1. bool expanded
    )?,
  4. Curve curve = Curves.fastOutSlowIn,
  5. Duration duration = const Duration(milliseconds: 300),
  6. Icon icon = const Icon(Icons.keyboard_arrow_down),
  7. double turns = 0.5,
})

Implementation

ArrowButton({
  Key? key,
  this.expanded = false,
  this.onTap,
  this.curve = Curves.fastOutSlowIn,
  this.duration = const Duration(milliseconds: 300),
  this.icon = const Icon(Icons.keyboard_arrow_down),
  this.turns = 0.5,
}) : super(key: key);