Browse Source

fix Bug #7963

master
daivph 5 years ago
parent
commit
e22a3c54a5
6 changed files with 50 additions and 20 deletions
  1. +1
    -1
      ios/Flutter/.last_build_id
  2. +3
    -3
      ios/Runner.xcodeproj/project.pbxproj
  3. +8
    -4
      lib/presentation/custom_widgets/widget_search.dart
  4. +14
    -4
      lib/presentation/screens/location_unit/widget_search.dart
  5. +11
    -4
      lib/presentation/screens/plot/widget_search.dart
  6. +13
    -4
      lib/presentation/screens/resources/widget_search.dart

+ 1
- 1
ios/Flutter/.last_build_id View File

48197743e3d78b3769f70bac9a76e7e0
440505e9ea1eee7043d2cbfeb318f6bc

+ 3
- 3
ios/Runner.xcodeproj/project.pbxproj View File

ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CLANG_ENABLE_MODULES = YES; CLANG_ENABLE_MODULES = YES;
CODE_SIGN_ENTITLEMENTS = Runner/Runner.entitlements; CODE_SIGN_ENTITLEMENTS = Runner/Runner.entitlements;
CURRENT_PROJECT_VERSION = 1;
CURRENT_PROJECT_VERSION = 2;
DEVELOPMENT_TEAM = C3DTD2JH94; DEVELOPMENT_TEAM = C3DTD2JH94;
ENABLE_BITCODE = NO; ENABLE_BITCODE = NO;
FRAMEWORK_SEARCH_PATHS = ( FRAMEWORK_SEARCH_PATHS = (
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CLANG_ENABLE_MODULES = YES; CLANG_ENABLE_MODULES = YES;
CODE_SIGN_ENTITLEMENTS = Runner/Runner.entitlements; CODE_SIGN_ENTITLEMENTS = Runner/Runner.entitlements;
CURRENT_PROJECT_VERSION = 1;
CURRENT_PROJECT_VERSION = 2;
DEVELOPMENT_TEAM = C3DTD2JH94; DEVELOPMENT_TEAM = C3DTD2JH94;
ENABLE_BITCODE = NO; ENABLE_BITCODE = NO;
FRAMEWORK_SEARCH_PATHS = ( FRAMEWORK_SEARCH_PATHS = (
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CLANG_ENABLE_MODULES = YES; CLANG_ENABLE_MODULES = YES;
CODE_SIGN_ENTITLEMENTS = Runner/Runner.entitlements; CODE_SIGN_ENTITLEMENTS = Runner/Runner.entitlements;
CURRENT_PROJECT_VERSION = 1;
CURRENT_PROJECT_VERSION = 2;
DEVELOPMENT_TEAM = C3DTD2JH94; DEVELOPMENT_TEAM = C3DTD2JH94;
ENABLE_BITCODE = NO; ENABLE_BITCODE = NO;
FRAMEWORK_SEARCH_PATHS = ( FRAMEWORK_SEARCH_PATHS = (

+ 8
- 4
lib/presentation/custom_widgets/widget_search.dart View File

onChanged: (String txt) {}, onChanged: (String txt) {},
cursorColor: AppColors.GRAY1, cursorColor: AppColors.GRAY1,
decoration: InputDecoration( decoration: InputDecoration(
suffixIcon: Icon(
Icons.search,
size: 30,
),
suffixIcon: IconButton(
icon: Icon(
Icons.search,
size: 30,
),
onPressed: () {
widget.searchPressed(_searchController.text);
}),
hintText: 'Tìm thiết bị', hintText: 'Tìm thiết bị',
hintStyle: TextStyle(color: Colors.grey[500]), hintStyle: TextStyle(color: Colors.grey[500]),
), ),

+ 14
- 4
lib/presentation/screens/location_unit/widget_search.dart View File

onChanged: (String txt) {}, onChanged: (String txt) {},
cursorColor: AppColors.GRAY1, cursorColor: AppColors.GRAY1,
decoration: InputDecoration( decoration: InputDecoration(
suffixIcon: Icon(
Icons.search,
size: 30,
),
suffixIcon: IconButton(
icon: Icon(
Icons.search,
size: 30,
),
onPressed: () {
FocusScope.of(context).requestFocus(FocusNode());
BlocProvider.of<LocationBloc>(_blocContext).add(
OnSearch(
searchString: _searchController.text,
locationType: widget.type,
selectedId: widget.selectedId,
filterId: widget.filterId));
}),
hintText: 'Tìm kiếm', hintText: 'Tìm kiếm',
hintStyle: TextStyle(color: Colors.grey[500])), hintStyle: TextStyle(color: Colors.grey[500])),
onSubmitted: (value) { onSubmitted: (value) {

+ 11
- 4
lib/presentation/screens/plot/widget_search.dart View File

onChanged: (String txt) {}, onChanged: (String txt) {},
cursorColor: AppColors.GRAY1, cursorColor: AppColors.GRAY1,
decoration: InputDecoration( decoration: InputDecoration(
suffixIcon: Icon(
Icons.search,
size: 30,
),
suffixIcon: IconButton(
icon: Icon(
Icons.search,
size: 30,
),
onPressed: () {
FocusScope.of(context).requestFocus(FocusNode());
BlocProvider.of<PlotBloc>(_blocContext).add(
OnSearch(
searchString: _searchController.text));
}),
hintText: 'Tìm theo mã, tên lô', hintText: 'Tìm theo mã, tên lô',
hintStyle: TextStyle(color: Colors.grey[500])), hintStyle: TextStyle(color: Colors.grey[500])),
onSubmitted: (value) { onSubmitted: (value) {

+ 13
- 4
lib/presentation/screens/resources/widget_search.dart View File

onChanged: (String txt) {}, onChanged: (String txt) {},
cursorColor: AppColors.GRAY1, cursorColor: AppColors.GRAY1,
decoration: InputDecoration( decoration: InputDecoration(
suffixIcon: Icon(
Icons.search,
size: 30,
),
suffixIcon: IconButton(
icon: Icon(
Icons.search,
size: 30,
),
onPressed: () {
FocusScope.of(context).requestFocus(FocusNode());
BlocProvider.of<SupplyBloc>(_blocContext).add(
OnSearch(
searchString: _searchController.text,
type: widget.type,
selectedId: widget.selectedId));
}),
hintText: 'Tìm kiếm ...', hintText: 'Tìm kiếm ...',
hintStyle: TextStyle(color: Colors.grey[500])), hintStyle: TextStyle(color: Colors.grey[500])),
onSubmitted: (value) { onSubmitted: (value) {

Loading…
Cancel
Save