Commit 83ef1983 by Maurits van Beusekom

Fix analysis warnings

parent 7c1e3772
# #
# NOTE: This podspec is NOT to be published. It is only used as a local source! # NOTE: This podspec is NOT to be published. It is only used as a local source!
# This is a generated file; do not edit or check into version control.
# #
Pod::Spec.new do |s| Pod::Spec.new do |s|
s.name = 'Flutter' s.name = 'Flutter'
s.version = '1.0.0' s.version = '1.0.0'
s.summary = 'High-performance, high-fidelity mobile apps.' s.summary = 'High-performance, high-fidelity mobile apps.'
s.description = <<-DESC
Flutter provides an easy and productive way to build and deploy high-performance mobile apps for Android and iOS.
DESC
s.homepage = 'https://flutter.io' s.homepage = 'https://flutter.io'
s.license = { :type => 'MIT' } s.license = { :type => 'MIT' }
s.author = { 'Flutter Dev Team' => 'flutter-dev@googlegroups.com' } s.author = { 'Flutter Dev Team' => 'flutter-dev@googlegroups.com' }
s.source = { :git => 'https://github.com/flutter/engine', :tag => s.version.to_s } s.source = { :git => 'https://github.com/flutter/engine', :tag => s.version.to_s }
s.ios.deployment_target = '8.0' s.ios.deployment_target = '8.0'
s.vendored_frameworks = 'Flutter.framework' # Framework linking is handled by Flutter tooling, not CocoaPods.
# Add a placeholder to satisfy `s.dependency 'Flutter'` plugin podspecs.
s.vendored_frameworks = 'path/to/nothing'
end end
...@@ -2,6 +2,6 @@ ...@@ -2,6 +2,6 @@
<Workspace <Workspace
version = "1.0"> version = "1.0">
<FileRef <FileRef
location = "group:Runner.xcodeproj"> location = "self:">
</FileRef> </FileRef>
</Workspace> </Workspace>
...@@ -70,7 +70,7 @@ class _PermissionState extends State<PermissionWidget> { ...@@ -70,7 +70,7 @@ class _PermissionState extends State<PermissionWidget> {
} }
void checkServiceStatus(BuildContext context, Permission permission) async { void checkServiceStatus(BuildContext context, Permission permission) async {
Scaffold.of(context).showSnackBar(SnackBar( ScaffoldMessenger.of(context).showSnackBar(SnackBar(
content: Text((await permission.status).toString()), content: Text((await permission.status).toString()),
)); ));
} }
......
...@@ -74,11 +74,13 @@ class InfoPage extends StatelessWidget { ...@@ -74,11 +74,13 @@ class InfoPage extends StatelessWidget {
margin: const EdgeInsets.only(top: 24.0), margin: const EdgeInsets.only(top: 24.0),
alignment: Alignment.center, alignment: Alignment.center,
child: SizedBox.expand( child: SizedBox.expand(
child: RaisedButton( child: ElevatedButton(
textTheme: Theme.of(context).buttonTheme.textTheme, style: ElevatedButton.styleFrom(
shape: padding: const EdgeInsets.all(8),
RoundedRectangleBorder(borderRadius: BorderRadius.circular(30.0)), shape: RoundedRectangleBorder(
padding: const EdgeInsets.all(8), borderRadius: BorderRadius.circular(30.0),
),
),
child: Text(text), child: Text(text),
onPressed: () => _launchURL(url), onPressed: () => _launchURL(url),
), ),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment