TF-1301 Add font size dropdown menu button
Signed-off-by: dab246 <tdvu@linagora.com> (cherry picked from commit 1aee8b4f7dbde30c7fbf2e9aa722632c9df9cd21)
This commit is contained in:
+22
@@ -0,0 +1,22 @@
|
||||
import 'package:core/presentation/extensions/color_extension.dart';
|
||||
import 'package:flutter/material.dart';
|
||||
|
||||
class DropdownButtonFontSizeWidgetStyle {
|
||||
static const double borderWidth = 0.5;
|
||||
static const double radius = 8;
|
||||
static const double height = 36;
|
||||
static const double labelRadius = 4;
|
||||
static const double space = 4;
|
||||
|
||||
static const Color borderColor = AppColor.dropdownButtonBorderColor;
|
||||
static const Color labelBackgroundColor = AppColor.dropdownLabelButtonBackgroundColor;
|
||||
|
||||
static const EdgeInsetsGeometry padding = EdgeInsets.all(4);
|
||||
static const EdgeInsetsGeometry labelPadding = EdgeInsets.symmetric(horizontal: 16);
|
||||
|
||||
static const TextStyle labelTextStyle = TextStyle(
|
||||
fontSize: 16,
|
||||
fontWeight: FontWeight.w500,
|
||||
color: AppColor.colorLabelRichText
|
||||
);
|
||||
}
|
||||
+11
@@ -0,0 +1,11 @@
|
||||
|
||||
import 'package:flutter/cupertino.dart';
|
||||
|
||||
class DropdownMenuFontSizeWidgetStyle {
|
||||
static const double menuMaxHeight = 200.0;
|
||||
static const double menuWidth = 128.0;
|
||||
static const double menuRadius = 16.0;
|
||||
static const double menuItemHeight = 44.0;
|
||||
|
||||
static const EdgeInsetsGeometry menuItemPadding = EdgeInsets.symmetric(horizontal: 12);
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
|
||||
import 'package:flutter/material.dart';
|
||||
|
||||
class ItemMenuFontSizeWidgetStyle {
|
||||
static const TextStyle labelTextStyle = TextStyle(
|
||||
fontSize: 16,
|
||||
fontWeight: FontWeight.w500,
|
||||
color: Colors.black,
|
||||
);
|
||||
|
||||
static const EdgeInsetsGeometry selectIconPadding = EdgeInsetsDirectional.only(start: 12);
|
||||
}
|
||||
Reference in New Issue
Block a user