ArrowButton constructor
ArrowButton(- {Key key,
- bool expanded: false,
- void onTap(
- bool expanded
),
- Curve curve: Curves.fastOutSlowIn,
- Duration duration: const Duration(milliseconds: 300),
- Icon icon: const Icon(Icons.keyboard_arrow_down),
- 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,
}) : assert(expanded != null),
super(key: key);