TF-2119 Create DraggableRecipientTag widget

(cherry picked from commit 8148bc6edc06568f8948629a1aba08ae812a7c21)
This commit is contained in:
dab246
2023-09-13 17:04:18 +07:00
committed by Dat H. Pham
parent a3d5da384e
commit eaa0e8191f
2 changed files with 92 additions and 0 deletions
@@ -0,0 +1,27 @@
import 'package:core/presentation/extensions/color_extension.dart';
import 'package:flutter/material.dart';
class DraggableRecipientTagWidgetStyle {
static const double radius = 10;
static const double avatarIconSize = 30;
static const double avatarLabelFontSize = 10;
static const Color avatarBackgroundColor = Colors.white;
static const Color deleteIconColor = Colors.white;
static const Color backgroundColor = AppColor.primaryColor;
static const EdgeInsetsGeometry padding = EdgeInsets.symmetric(horizontal: 6, vertical: 3);
static const EdgeInsetsGeometry labelPadding = EdgeInsets.symmetric(horizontal: 8);
static const TextStyle avatarLabelTextStyle = TextStyle(
color: Colors.black,
fontSize: 12,
fontWeight: FontWeight.w500
);
static const TextStyle labelTextStyle = TextStyle(
color: Colors.white,
fontSize: 17,
fontWeight: FontWeight.normal
);
}