TF-2119 Implement drag and drop between recipients

(cherry picked from commit 958940c8a79d4f33eb52fd69718ce1b5c8daaeaa)
This commit is contained in:
dab246
2023-09-14 12:43:05 +07:00
committed by Dat H. Pham
parent eaa0e8191f
commit e1dd99c613
13 changed files with 283 additions and 150 deletions
@@ -8,6 +8,7 @@ class GradientCircleAvatarIcon extends StatelessWidget {
final double iconSize;
final double labelFontSize;
final String label;
final TextStyle? textStyle;
const GradientCircleAvatarIcon({
Key? key,
@@ -15,6 +16,7 @@ class GradientCircleAvatarIcon extends StatelessWidget {
this.iconSize = 40,
this.label = '',
this.labelFontSize = 24.0,
this.textStyle,
}) : super(key: key);
@override
@@ -33,13 +35,13 @@ class GradientCircleAvatarIcon extends StatelessWidget {
),
color: AppColor.avatarColor
),
child: Text(
label,
style: TextStyle(
child: DefaultTextStyle(
style: textStyle ?? TextStyle(
color: Colors.white,
fontSize: labelFontSize,
fontWeight: FontWeight.w600
)
),
child: Text(label),
)
);
}