NZBackToTop constructor
const
NZBackToTop({
- Key? key,
- required ScrollController scrollController,
- double threshold = 300.0,
- Widget? child,
- Duration duration = const Duration(milliseconds: 500),
- Curve curve = Curves.easeInOut,
- EdgeInsets padding = const EdgeInsets.all(16.0),
Implementation
const NZBackToTop({
super.key,
required this.scrollController,
this.threshold = 300.0,
this.child,
this.duration = const Duration(milliseconds: 500),
this.curve = Curves.easeInOut,
this.padding = const EdgeInsets.all(16.0),
});