Skip to content
Open

cdsc #303

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 6 additions & 9 deletions example/ios/Flutter/flutter_export_environment.sh
Original file line number Diff line number Diff line change
@@ -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"
14 changes: 11 additions & 3 deletions lib/flutter_datetime_picker.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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 &&
Expand Down Expand Up @@ -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,
Expand Down