Skip to content

Commit

Permalink
v2.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
scottt2 committed Aug 28, 2021
1 parent ca42d3a commit 4b237c8
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 14 deletions.
12 changes: 6 additions & 6 deletions ios/Runner.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -355,7 +355,7 @@
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CLANG_ENABLE_MODULES = YES;
CURRENT_PROJECT_VERSION = 2;
CURRENT_PROJECT_VERSION = 1;
DEVELOPMENT_TEAM = FFPNP8MKRZ;
ENABLE_BITCODE = NO;
FRAMEWORK_SEARCH_PATHS = (
Expand All @@ -371,7 +371,7 @@
"$(inherited)",
"$(PROJECT_DIR)/Flutter",
);
MARKETING_VERSION = 2.2.0;
MARKETING_VERSION = 2.3.0;
PRODUCT_BUNDLE_IDENTIFIER = com.greaterscott.transponder;
PRODUCT_NAME = "Traindown Transponder";
SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h";
Expand Down Expand Up @@ -495,7 +495,7 @@
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CLANG_ENABLE_MODULES = YES;
CURRENT_PROJECT_VERSION = 2;
CURRENT_PROJECT_VERSION = 1;
DEVELOPMENT_TEAM = FFPNP8MKRZ;
ENABLE_BITCODE = NO;
FRAMEWORK_SEARCH_PATHS = (
Expand All @@ -511,7 +511,7 @@
"$(inherited)",
"$(PROJECT_DIR)/Flutter",
);
MARKETING_VERSION = 2.2.0;
MARKETING_VERSION = 2.3.0;
PRODUCT_BUNDLE_IDENTIFIER = com.greaterscott.transponder;
PRODUCT_NAME = "Traindown Transponder";
SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h";
Expand All @@ -527,7 +527,7 @@
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CLANG_ENABLE_MODULES = YES;
CURRENT_PROJECT_VERSION = 2;
CURRENT_PROJECT_VERSION = 1;
DEVELOPMENT_TEAM = FFPNP8MKRZ;
ENABLE_BITCODE = NO;
FRAMEWORK_SEARCH_PATHS = (
Expand All @@ -543,7 +543,7 @@
"$(inherited)",
"$(PROJECT_DIR)/Flutter",
);
MARKETING_VERSION = 2.2.0;
MARKETING_VERSION = 2.3.0;
PRODUCT_BUNDLE_IDENTIFIER = com.greaterscott.transponder;
PRODUCT_NAME = "Traindown Transponder";
SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h";
Expand Down
25 changes: 19 additions & 6 deletions lib/traindown_editor.dart
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ class _TraindownEditor extends State<TraindownEditor> {
return Positioned(
left: 0.0,
right: 5.0,
top: 55.0,
top: 50.0,
child: ButtonBar(
overflowDirection: VerticalDirection.up,
children: <Widget>[
Expand Down Expand Up @@ -89,14 +89,23 @@ class _TraindownEditor extends State<TraindownEditor> {
onPressed: () => _addText('s '),
child: Text('s', style: TextStyle(fontSize: 20.0)),
),
TextButton(
onPressed: () => _formatText(),
child: Icon(Icons.photo_filter),
),
],
));
}

Widget numberBar() {
var newButton = (String numberStr) => (Expanded(
child: TextButton(
onPressed: () => _addText(numberStr),
child: Text(numberStr, style: TextStyle(fontSize: 20.0)),
)));

return Row(
children: Iterable<int>.generate(10)
.map((int i) => newButton("$i"))
.toList());
}

Widget textArea() {
return Padding(
padding: EdgeInsets.fromLTRB(15.0, 25.0, 65.0, 0.0),
Expand All @@ -121,11 +130,15 @@ class _TraindownEditor extends State<TraindownEditor> {
);
}

Widget mainColumn() {
return Column(children: [Expanded(child: textArea()), numberBar()]);
}

@override
Widget build(BuildContext context) {
return Stack(
alignment: AlignmentDirectional.bottomEnd,
fit: StackFit.expand,
children: <Widget>[textArea(), buttonBar()]);
children: <Widget>[mainColumn(), buttonBar()]);
}
}
4 changes: 2 additions & 2 deletions pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ publish_to: 'none' # Remove this line if you wish to publish to pub.dev
# Read more about iOS versioning at
# https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
# TODO: Get latest onto Play
# Android build: 16
version: 2.2.0+16
# Android build: 18
version: 2.3.0+18

environment:
sdk: '>=2.12.0 <3.0.0'
Expand Down

0 comments on commit 4b237c8

Please sign in to comment.