diff --git a/example/ios/Flutter/flutter_export_environment.sh b/example/ios/Flutter/flutter_export_environment.sh index da2211a4..0dd9f493 100755 --- a/example/ios/Flutter/flutter_export_environment.sh +++ b/example/ios/Flutter/flutter_export_environment.sh @@ -1,16 +1,13 @@ #!/bin/sh # This is a generated file; do not edit or check into version control. -export "FLUTTER_ROOT=/Users/liuyanbo/flutter" -export "FLUTTER_APPLICATION_PATH=/Users/liuyanbo/Documents/GitHub/flutter_datetime_picker/example" -export "FLUTTER_TARGET=/Users/liuyanbo/Documents/GitHub/flutter_datetime_picker/example/lib/main.dart" +export "FLUTTER_ROOT=/Users/asbah/Development/flutter" +export "FLUTTER_APPLICATION_PATH=/Users/asbah/StudioProjects/flutter_datetime_picker/example" +export "COCOAPODS_PARALLEL_CODE_SIGN=true" +export "FLUTTER_TARGET=lib/main.dart" export "FLUTTER_BUILD_DIR=build" -export "SYMROOT=${SOURCE_ROOT}/../build/ios" -export "OTHER_LDFLAGS=$(inherited) -framework Flutter" -export "FLUTTER_FRAMEWORK_DIR=/Users/liuyanbo/flutter/bin/cache/artifacts/engine/ios" export "FLUTTER_BUILD_NAME=1.0.0" export "FLUTTER_BUILD_NUMBER=1" -export "DART_DEFINES=flutter.inspector.structuredErrors%3Dtrue" export "DART_OBFUSCATION=false" -export "TRACK_WIDGET_CREATION=true" +export "TRACK_WIDGET_CREATION=false" export "TREE_SHAKE_ICONS=false" -export "PACKAGE_CONFIG=.packages" +export "PACKAGE_CONFIG=.dart_tool/package_config.json" diff --git a/lib/flutter_datetime_picker.dart b/lib/flutter_datetime_picker.dart index dba6b566..1192ef8e 100644 --- a/lib/flutter_datetime_picker.dart +++ b/lib/flutter_datetime_picker.dart @@ -353,7 +353,12 @@ class _DatePickerState extends State<_DatePickerComponent> { child: Container( padding: EdgeInsets.all(8.0), height: theme.containerHeight, - decoration: BoxDecoration(color: theme.backgroundColor), + decoration: BoxDecoration( + color: theme.backgroundColor, + border: Border.symmetric( + horizontal: BorderSide(), + ), + ), child: NotificationListener( onNotification: (ScrollNotification notification) { if (notification.depth == 0 && @@ -472,13 +477,16 @@ class _DatePickerState extends State<_DatePickerComponent> { // Title View Widget _renderTitleActionsView(DatePickerTheme theme) { - final done = _localeDone(); - final cancel = _localeCancel(); + final done = _localeDone().toUpperCase(); + final cancel = _localeCancel().toUpperCase(); return Container( height: theme.titleHeight, decoration: BoxDecoration( color: theme.headerColor ?? theme.backgroundColor, + border: Border.symmetric( + horizontal: BorderSide(), + ), ), child: Row( mainAxisAlignment: MainAxisAlignment.spaceBetween,