mirror of
				https://gitlab.com/comunic/comunicmobile
				synced 2025-10-31 10:14:50 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			16 lines
		
	
	
		
			439 B
		
	
	
	
		
			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
 | |
| };
 |