RecentColorsScope constructor

const RecentColorsScope({
  1. Key? key,
  2. List<Color> initialRecentColors = const [],
  3. int maxRecentColors = 50,
  4. ValueChanged<List<Color>>? onRecentColorsChanged,
  5. required Widget child,
})

Creates a RecentColorsScope.

Implementation

const RecentColorsScope({
  super.key,
  this.initialRecentColors = const [],
  this.maxRecentColors = 50,
  this.onRecentColorsChanged,
  required this.child,
});