mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2024-08-30 18:12:39 +00:00
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),
|
|
),
|
|
),
|
|
);
|
|
}
|
|
}
|