mirror of
				https://github.com/AppFlowy-IO/AppFlowy.git
				synced 2025-10-31 10:03:18 +00:00 
			
		
		
		
	 f1ad03eaa9
			
		
	
	
		f1ad03eaa9
		
			
		
	
	
	
	
		
			
			* chore: update collab version * chore: update changelog * chore: update notification reddot style * fix: unable to fetch reminders * chore: optimize notification red dot size
		
			
				
	
	
		
			26 lines
		
	
	
		
			529 B
		
	
	
	
		
			Dart
		
	
	
	
	
	
			
		
		
	
	
			26 lines
		
	
	
		
			529 B
		
	
	
	
		
			Dart
		
	
	
	
	
	
| import 'package:flutter/widgets.dart';
 | |
| 
 | |
| class NotificationRedDot extends StatelessWidget {
 | |
|   const NotificationRedDot({
 | |
|     super.key,
 | |
|     this.size = 6,
 | |
|   });
 | |
| 
 | |
|   final double size;
 | |
| 
 | |
|   @override
 | |
|   Widget build(BuildContext context) {
 | |
|     return Container(
 | |
|       width: size,
 | |
|       height: size,
 | |
|       clipBehavior: Clip.antiAlias,
 | |
|       decoration: ShapeDecoration(
 | |
|         color: const Color(0xFFFF2214),
 | |
|         shape: RoundedRectangleBorder(
 | |
|           borderRadius: BorderRadius.circular(20),
 | |
|         ),
 | |
|       ),
 | |
|     );
 | |
|   }
 | |
| }
 |