enablePeek property
- @Deprecated('Use GlassSheetDetent.small in `detents` instead. Peek is now a detent ' 'like medium and large, so one mechanism describes every resting stop. ' 'Still honoured when set (it wins over `detents`); will be removed in a ' 'future release.')
final
Whether the 'peek' state is enabled.
If null, it defaults to false for GlassSheetMode.dismissible and true for GlassSheetMode.persistent.
Implementation
@Deprecated(
'Use GlassSheetDetent.small in `detents` instead. Peek is now a detent '
'like medium and large, so one mechanism describes every resting stop. '
'Still honoured when set (it wins over `detents`); will be removed in a '
'future release.',
)
final bool? enablePeek;