1
0
mirror of https://gitlab.com/comunic/comunicmobile synced 2024-11-30 00:36:28 +00:00
comunicmobile/lib/enums/post_visibility_level.dart

16 lines
439 B
Dart

import 'package:flutter/material.dart';
/// Post visibility level
///
/// @author Pierre HUBERT
enum PostVisibilityLevel { PUBLIC, FRIENDS, USER, GROUP_MEMBERS }
/// 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
};