categories property

List<FilterCategory>? categories
final

Defines all available filters. Each filter must be assigned to a category. New items and categories can be mixed and matched with existing ones. none is always added.

// Defaults to:
final categories = <FilterCategory>[
 FilterCategory.existing("imgly_filter_category_duotone",
     items: [
       Filter.existing("imgly_duotone_desert"),
       Filter.existing("imgly_duotone_peach"),
       Filter.existing("imgly_duotone_clash"),
       Filter.existing("imgly_duotone_plum"),
       Filter.existing("imgly_duotone_breezy"),
       Filter.existing("imgly_duotone_deepblue"),
       Filter.existing("imgly_duotone_frog"),
       Filter.existing("imgly_duotone_sunset"),
     ]),
 FilterCategory.existing("imgly_filter_category_bw", items: [
   Filter.existing("imgly_lut_ad1920"),
   Filter.existing("imgly_lut_bw"),
   Filter.existing("imgly_lut_x400"),
   Filter.existing("imgly_lut_litho"),
   Filter.existing("imgly_lut_sepiahigh"),
   Filter.existing("imgly_lut_plate"),
   Filter.existing("imgly_lut_sin"),
 ]),
 FilterCategory.existing("imgly_filter_category_vintage",
     items: [
       Filter.existing("imgly_lut_blues"),
       Filter.existing("imgly_lut_front"),
       Filter.existing("imgly_lut_texas"),
       Filter.existing("imgly_lut_celsius"),
       Filter.existing("imgly_lut_cool"),
     ]),
 FilterCategory.existing("imgly_filter_category_smooth",
     items: [
      Filter.existing("imgly_lut_chest"),
       Filter.existing("imgly_lut_winter"),
       Filter.existing("imgly_lut_kdynamic"),
       Filter.existing("imgly_lut_fall"),
       Filter.existing("imgly_lut_lenin"),
       Filter.existing("imgly_lut_pola669"),
     ]),
 FilterCategory.existing("imgly_filter_category_cold", items: [
   Filter.existing("imgly_lut_elder"),
   Filter.existing("imgly_lut_orchid"),
   Filter.existing("imgly_lut_bleached"),
   Filter.existing("imgly_lut_bleachedblue"),
   Filter.existing("imgly_lut_breeze"),
   Filter.existing("imgly_lut_blueshadows"),
 ]),
 FilterCategory.existing("imgly_filter_category_warm", items: [
   Filter.existing("imgly_lut_sunset"),
   Filter.existing("imgly_lut_eighties"),
   Filter.existing("imgly_lut_evening"),
   Filter.existing("imgly_lut_k2"),
   Filter.existing("imgly_lut_nogreen"),
 ]),
 FilterCategory.existing("imgly_filter_category_legacy",
     items: [
       Filter.existing("imgly_lut_ancient"),
       Filter.existing("imgly_lut_cottoncandy"),
       Filter.existing("imgly_lut_classic"),
       Filter.existing("imgly_lut_colorful"),
       Filter.existing("imgly_lut_creamy"),
       Filter.existing("imgly_lut_fixie"),
       Filter.existing("imgly_lut_food"),
       Filter.existing("imgly_lut_fridge"),
       Filter.existing("imgly_lut_glam"),
       Filter.existing("imgly_lut_gobblin"),
       Filter.existing("imgly_lut_highcontrast"),
       Filter.existing("imgly_lut_highcarb"),
       Filter.existing("imgly_lut_k1"),
       Filter.existing("imgly_lut_k6"),
       Filter.existing("imgly_lut_keen"),
       Filter.existing("imgly_lut_lomo"),
       Filter.existing("imgly_lut_lomo100"),
       Filter.existing("imgly_lut_lucid"),
       Filter.existing("imgly_lut_mellow"),
       Filter.existing("imgly_lut_neat"),
       Filter.existing("imgly_lut_pale"),
       Filter.existing("imgly_lut_pitched"),
       Filter.existing("imgly_lut_polasx"),
       Filter.existing("imgly_lut_pro400"),
       Filter.existing("imgly_lut_quozi"),
       Filter.existing("imgly_lut_settled"),
       Filter.existing("imgly_lut_seventies"),
       Filter.existing("imgly_lut_soft"),
       Filter.existing("imgly_lut_steel"),
       Filter.existing("imgly_lut_summer"),
       Filter.existing("imgly_lut_tender"),
       Filter.existing("imgly_lut_twilight"),
    ])
];

Implementation

final List<FilterCategory>? categories;