TF-2179 Add SelectionWebAppBarThread widget/style
(cherry picked from commit a8fbb1d84deca9ed641b762e37893e626e8a4eb6)
This commit is contained in:
+28
@@ -0,0 +1,28 @@
|
||||
|
||||
import 'package:core/presentation/extensions/color_extension.dart';
|
||||
import 'package:flutter/material.dart';
|
||||
|
||||
class SelectionWebAppBarThreadWidgetStyle {
|
||||
static const double minHeight = 56;
|
||||
static const double iconSize = 20;
|
||||
static const double mediumIconSize = 22;
|
||||
static const double closeButtonIconSize = 28;
|
||||
|
||||
static const Color backgroundColor = Colors.white;
|
||||
static const Color cancelButtonColor = AppColor.primaryColor;
|
||||
|
||||
static const EdgeInsetsGeometry padding = EdgeInsets.symmetric(vertical: 8, horizontal: 16);
|
||||
static const EdgeInsetsGeometry closeButtonPadding = EdgeInsets.all(3);
|
||||
|
||||
static const TextStyle emailCounterStyle = TextStyle(
|
||||
fontSize: 17,
|
||||
fontWeight: FontWeight.w500,
|
||||
color: AppColor.primaryColor
|
||||
);
|
||||
|
||||
static Color getDeleteButtonColor(bool deletePermanentlyValid) {
|
||||
return deletePermanentlyValid
|
||||
? AppColor.colorDeletePermanentlyButton
|
||||
: AppColor.primaryColor;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user