1
0
mirror of https://gitlab.com/comunic/comunicmobile synced 2024-11-25 14:29:22 +00:00
comunicmobile/lib/enums/post_visibility_level.dart

16 lines
439 B
Dart
Raw Normal View History

2019-05-20 07:35:03 +00:00
import 'package:flutter/material.dart';
2019-05-10 17:15:11 +00:00
/// Post visibility level
///
/// @author Pierre HUBERT
enum PostVisibilityLevel { PUBLIC, FRIENDS, USER, GROUP_MEMBERS }
2019-05-20 07:35:03 +00:00
/// Post visibility levels mapping with material icons
const PostVisibilityLevelsMapIcons = {
PostVisibilityLevel.USER: Icons.lock,
PostVisibilityLevel.FRIENDS: Icons.group,
PostVisibilityLevel.GROUP_MEMBERS: Icons.group,
PostVisibilityLevel.PUBLIC: Icons.public
};