SafaehSyncChip constructor
const
SafaehSyncChip({
- Key? key,
- required SafaehSyncState state,
- required String label,
- VoidCallback? onTap,
- Duration collapseAfter = const Duration(seconds: 2),
- Set<
SafaehSyncState> collapseStates = const {SafaehSyncState.saved}, - double minWidthForLabel = 70,
- double compactSize = 36,
- SafaehSyncChipColors colorsBuilder(
- BuildContext context,
- SafaehSyncState state
Implementation
const SafaehSyncChip({
super.key,
required this.state,
required this.label,
this.onTap,
this.collapseAfter = const Duration(seconds: 2),
this.collapseStates = const {SafaehSyncState.saved},
this.minWidthForLabel = 70,
this.compactSize = 36,
this.colorsBuilder,
});