TF-2101 Add suggestion item widget for input field with suggestion
(cherry picked from commit 5bccd801e221ff22925be4c62f0f5e2f2b5f0bf6)
This commit is contained in:
+13
@@ -0,0 +1,13 @@
|
||||
import 'package:flutter/material.dart';
|
||||
|
||||
class AvatarSuggestionItemWidgetStyles {
|
||||
static const double width = 40.0;
|
||||
static const double height = 40.0;
|
||||
static const double borderWidth = 1.0;
|
||||
|
||||
static const TextStyle textStyle = TextStyle(
|
||||
color: Colors.black,
|
||||
fontSize: 16,
|
||||
fontWeight: FontWeight.w400
|
||||
);
|
||||
}
|
||||
+30
@@ -0,0 +1,30 @@
|
||||
import 'package:core/presentation/extensions/color_extension.dart';
|
||||
import 'package:flutter/material.dart';
|
||||
|
||||
class SuggestionItemWidgetStyles {
|
||||
static const double iconSelectedSize = 24.0;
|
||||
|
||||
static const EdgeInsetsGeometry margin = EdgeInsets.all(8.0);
|
||||
static const EdgeInsetsGeometry contentPaddingDuplicated = EdgeInsets.symmetric(
|
||||
horizontal: 8.0
|
||||
);
|
||||
static const EdgeInsetsGeometry contentPaddingValid = EdgeInsets.symmetric(
|
||||
horizontal: 16.0
|
||||
);
|
||||
|
||||
static const BoxDecoration decoration = BoxDecoration(
|
||||
color: AppColor.colorBgMenuItemDropDownSelected,
|
||||
borderRadius: BorderRadius.all(Radius.circular(20))
|
||||
);
|
||||
|
||||
static const TextStyle subTitleTextOriginStyle = TextStyle(
|
||||
color: AppColor.colorHintSearchBar,
|
||||
fontSize: 13,
|
||||
fontWeight: FontWeight.normal
|
||||
);
|
||||
static const TextStyle subTitleWordSearchedStyle = TextStyle(
|
||||
color: Colors.black,
|
||||
fontSize: 13,
|
||||
fontWeight: FontWeight.bold
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user