safe area in some places

This commit is contained in:
Daniel Borges 2019-08-07 01:14:15 -03:00
parent d1809ef156
commit dac62f2c35
4 changed files with 61 additions and 47 deletions

View File

@ -153,6 +153,7 @@
TargetAttributes = {
97C146ED1CF9000F007C117D = {
CreatedOnToolsVersion = 7.3.1;
DevelopmentTeam = EP83MQ6H82;
LastSwiftMigration = 0910;
};
};
@ -309,7 +310,7 @@
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)";
DEVELOPMENT_TEAM = S8QB4VV633;
DEVELOPMENT_TEAM = EP83MQ6H82;
ENABLE_BITCODE = NO;
FRAMEWORK_SEARCH_PATHS = (
"$(inherited)",
@ -321,7 +322,7 @@
"$(inherited)",
"$(PROJECT_DIR)/Flutter",
);
PRODUCT_BUNDLE_IDENTIFIER = com.example.openlpRemote;
PRODUCT_BUNDLE_IDENTIFIER = org.openlp.remote;
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h";
SWIFT_VERSION = 4.0;
@ -443,6 +444,7 @@
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CLANG_ENABLE_MODULES = YES;
CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)";
DEVELOPMENT_TEAM = EP83MQ6H82;
ENABLE_BITCODE = NO;
FRAMEWORK_SEARCH_PATHS = (
"$(inherited)",
@ -454,7 +456,7 @@
"$(inherited)",
"$(PROJECT_DIR)/Flutter",
);
PRODUCT_BUNDLE_IDENTIFIER = com.example.openlpRemote;
PRODUCT_BUNDLE_IDENTIFIER = org.openlp.remote;
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h";
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
@ -471,6 +473,7 @@
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CLANG_ENABLE_MODULES = YES;
CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)";
DEVELOPMENT_TEAM = EP83MQ6H82;
ENABLE_BITCODE = NO;
FRAMEWORK_SEARCH_PATHS = (
"$(inherited)",
@ -482,7 +485,7 @@
"$(inherited)",
"$(PROJECT_DIR)/Flutter",
);
PRODUCT_BUNDLE_IDENTIFIER = com.example.openlpRemote;
PRODUCT_BUNDLE_IDENTIFIER = org.openlp.remote;
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h";
SWIFT_SWIFT3_OBJC_INFERENCE = On;
@ -515,7 +518,6 @@
defaultConfigurationName = Release;
};
/* End XCConfigurationList section */
};
rootObject = 97C146E61CF9000F007C117D /* Project object */;
}

View File

@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>IDEDidComputeMac32BitWarning</key>
<true/>
</dict>
</plist>

View File

@ -18,7 +18,8 @@ class ServiceItemBottomSheet extends StatelessWidget {
];
@override
Widget build(BuildContext context) {
return Wrap(
return SafeArea(
child: Wrap(
children: _serviceItems.map((item) {
return ListTile(
leading: Icon(item.icon),
@ -29,6 +30,7 @@ class ServiceItemBottomSheet extends StatelessWidget {
},
);
}).toList(),
),
);
}
}

View File

@ -19,7 +19,8 @@ class ServiceItemSearch extends SearchDelegate {
void _showOptions(BuildContext context) {
showModalBottomSheet(
context: context,
builder: (context) => Wrap(
builder: (context) => SafeArea(
child: Wrap(
alignment: WrapAlignment.center,
children: <Widget>[
Container(
@ -52,6 +53,7 @@ class ServiceItemSearch extends SearchDelegate {
),
],
),
),
);
}