modelKind property
The model kind: .glb and .gltf, with a picture, and a drop in a
3-D scene (modelScenes).
Implementation
late final AssetKind modelKind = AssetKind(
'model',
'Models',
icon: Icons.view_in_ar_outlined,
color: const Color(0xFFB39DDB),
endings: const ['.glb', '.gltf'],
filterable: true,
preview: (context, index, entry, size) => _ModelPicture(
thumbnails: thumbnails,
path: entry.path,
modified: entry.modified,
size: size,
),
drop: dropModel,
dropsIn: modelScenes,
);