ShimmerSlot<T> constructor
const
ShimmerSlot<T>({ - Key? key,
- required Signal<T> connect,
- required Widget to(
- BuildContext context,
- T value
),
- required bool when(
- T value
),
- required Widget shimmer,
- Duration duration = const Duration(milliseconds: 1500),
- Color baseColor = const Color(0xFFE0E0E0),
- Color highlightColor = const Color(0xFFF5F5F5),
})
Implementation
const ShimmerSlot({
super.key,
required this.connect,
required this.to,
required this.when,
required this.shimmer,
this.duration = const Duration(milliseconds: 1500),
this.baseColor = const Color(0xFFE0E0E0),
this.highlightColor = const Color(0xFFF5F5F5),
});