TF-4013 Collapse all recipients fields when unfocus
(cherry picked from commit cd2c2db33a242d22a06265dca5fa4601753957ab)
This commit is contained in:
@@ -1,22 +0,0 @@
|
||||
|
||||
import 'package:core/presentation/extensions/color_extension.dart';
|
||||
import 'package:core/presentation/utils/theme_utils.dart';
|
||||
import 'package:flutter/material.dart';
|
||||
|
||||
class DraggableRecipientTagWidgetStyle {
|
||||
static const double radius = 10;
|
||||
static const double avatarIconSize = 24;
|
||||
static const double avatarLabelFontSize = 12;
|
||||
|
||||
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 TextStyle labelTextStyle = ThemeUtils.defaultTextStyleInterFont.copyWith(
|
||||
color: Colors.white,
|
||||
fontSize: 17,
|
||||
fontWeight: FontWeight.normal
|
||||
);
|
||||
}
|
||||
@@ -4,7 +4,6 @@ import 'package:flutter/material.dart';
|
||||
class RecipientTagItemWidgetStyle {
|
||||
static const double radius = 10;
|
||||
static const double avatarIconSize = 20;
|
||||
static const double avatarLabelFontSize = 12;
|
||||
|
||||
static const EdgeInsetsGeometry padding = EdgeInsetsDirectional.only(start: 4);
|
||||
static const EdgeInsetsGeometry counterPadding = EdgeInsetsDirectional.symmetric(vertical: 5, horizontal: 8);
|
||||
@@ -13,9 +12,17 @@ class RecipientTagItemWidgetStyle {
|
||||
static const EdgeInsetsGeometry webMobileCounterMargin = EdgeInsetsDirectional.only(start: 8);
|
||||
static const EdgeInsetsGeometry webCounterMargin = EdgeInsetsDirectional.only(top: 8, start: 8);
|
||||
|
||||
static TextStyle labelTextStyle = ThemeUtils.defaultTextStyleInterFont.copyWith(
|
||||
static TextStyle labelTextStyle = ThemeUtils.textStyleInter400.copyWith(
|
||||
color: Colors.black,
|
||||
fontSize: 17,
|
||||
fontWeight: FontWeight.w400
|
||||
height: 1.0,
|
||||
letterSpacing: -0.17,
|
||||
);
|
||||
|
||||
static TextStyle avatarTextStyle = ThemeUtils.textStyleInter500().copyWith(
|
||||
color: Colors.white,
|
||||
fontSize: 14,
|
||||
height: 19.2 / 14,
|
||||
letterSpacing: 0.0,
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user