CustomColumns constructor
const
CustomColumns()
A class that contains the names of the columns used in the custom filter.
The names of the columns are different on different platforms. For example,
the width
column on Android is width
, but on iOS it is pixelWidth
.
The definition of the column name can be found in next link:
- Android: https://developer.android.com/reference/android/provider/MediaStore.MediaColumns
- iOS: https://developer.apple.com/documentation/photokit/phasset
Special Columns to see AndroidMediaColumns and DarwinColumns.
Example:
OrderByItem(CustomColumns.base.width, true);
Implementation
const CustomColumns();