PulseSlot<T> constructor
const
PulseSlot<T>({ - Key? key,
- required Signal<T> connect,
- required Widget to(
- BuildContext context,
- T value
),
- bool when(
- T value
)?,
- Duration duration = const Duration(milliseconds: 1000),
- double minScale = 0.95,
- double maxScale = 1.05,
- double minOpacity = 0.7,
- double maxOpacity = 1.0,
})
Implementation
const PulseSlot({
super.key,
required this.connect,
required this.to,
this.when,
this.duration = const Duration(milliseconds: 1000),
this.minScale = 0.95,
this.maxScale = 1.05,
this.minOpacity = 0.7,
this.maxOpacity = 1.0,
});