-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
14 changed files
with
294 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -41,3 +41,6 @@ app.*.map.json | |
/android/app/debug | ||
/android/app/profile | ||
/android/app/release | ||
|
||
# env | ||
*.env |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
#include? "Pods/Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig" | ||
#include "Generated.xcconfig" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
#include? "Pods/Target Support Files/Pods-Runner/Pods-Runner.release.xcconfig" | ||
#include "Generated.xcconfig" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
# Uncomment this line to define a global platform for your project | ||
# platform :ios, '12.0' | ||
|
||
# CocoaPods analytics sends network stats synchronously affecting flutter build latency. | ||
ENV['COCOAPODS_DISABLE_STATS'] = 'true' | ||
|
||
project 'Runner', { | ||
'Debug' => :debug, | ||
'Profile' => :release, | ||
'Release' => :release, | ||
} | ||
|
||
def flutter_root | ||
generated_xcode_build_settings_path = File.expand_path(File.join('..', 'Flutter', 'Generated.xcconfig'), __FILE__) | ||
unless File.exist?(generated_xcode_build_settings_path) | ||
raise "#{generated_xcode_build_settings_path} must exist. If you're running pod install manually, make sure flutter pub get is executed first" | ||
end | ||
|
||
File.foreach(generated_xcode_build_settings_path) do |line| | ||
matches = line.match(/FLUTTER_ROOT\=(.*)/) | ||
return matches[1].strip if matches | ||
end | ||
raise "FLUTTER_ROOT not found in #{generated_xcode_build_settings_path}. Try deleting Generated.xcconfig, then run flutter pub get" | ||
end | ||
|
||
require File.expand_path(File.join('packages', 'flutter_tools', 'bin', 'podhelper'), flutter_root) | ||
|
||
flutter_ios_podfile_setup | ||
|
||
target 'Runner' do | ||
use_frameworks! | ||
use_modular_headers! | ||
|
||
flutter_install_all_ios_pods File.dirname(File.realpath(__FILE__)) | ||
target 'RunnerTests' do | ||
inherit! :search_paths | ||
end | ||
end | ||
|
||
post_install do |installer| | ||
installer.pods_project.targets.each do |target| | ||
flutter_additional_ios_build_settings(target) | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
PODS: | ||
- Flutter (1.0.0) | ||
- flutter_config (0.0.1): | ||
- Flutter | ||
- google_maps_flutter_ios (0.0.1): | ||
- Flutter | ||
- GoogleMaps (< 9.0) | ||
- GoogleMaps (6.2.1): | ||
- GoogleMaps/Maps (= 6.2.1) | ||
- GoogleMaps/Base (6.2.1) | ||
- GoogleMaps/Maps (6.2.1): | ||
- GoogleMaps/Base | ||
|
||
DEPENDENCIES: | ||
- Flutter (from `Flutter`) | ||
- flutter_config (from `.symlinks/plugins/flutter_config/ios`) | ||
- google_maps_flutter_ios (from `.symlinks/plugins/google_maps_flutter_ios/ios`) | ||
|
||
SPEC REPOS: | ||
trunk: | ||
- GoogleMaps | ||
|
||
EXTERNAL SOURCES: | ||
Flutter: | ||
:path: Flutter | ||
flutter_config: | ||
:path: ".symlinks/plugins/flutter_config/ios" | ||
google_maps_flutter_ios: | ||
:path: ".symlinks/plugins/google_maps_flutter_ios/ios" | ||
|
||
SPEC CHECKSUMS: | ||
Flutter: e0871f40cf51350855a761d2e70bf5af5b9b5de7 | ||
flutter_config: f48f0d47a284f1791aacce2687eabb3309ba7a41 | ||
google_maps_flutter_ios: f135b968a67c05679e0a53538e900b5c174b0d99 | ||
GoogleMaps: 20d7b12be49a14287f797e88e0e31bc4156aaeb4 | ||
|
||
PODFILE CHECKSUM: 819463e6a0290f5a72f145ba7cde16e8b6ef0796 | ||
|
||
COCOAPODS: 1.15.0 |
Large diffs are not rendered by default.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,34 @@ | ||
import 'package:flutter/material.dart'; | ||
import 'package:flutter_svg_provider/flutter_svg_provider.dart'; | ||
import 'package:google_maps_flutter/google_maps_flutter.dart'; | ||
|
||
// homepage 생성 | ||
class HomePage extends StatelessWidget { | ||
const HomePage({super.key}); | ||
class AppMap extends StatefulWidget { | ||
const AppMap({Key? key}) : super(key: key); | ||
|
||
@override | ||
_AppMapState createState() => _AppMapState(); | ||
} | ||
|
||
class _AppMapState extends State<AppMap> { | ||
late GoogleMapController mapController; | ||
|
||
final LatLng _center = const LatLng(45.521563, -122.677433); | ||
|
||
void _onMapCreated(GoogleMapController controller) { | ||
mapController = controller; | ||
} | ||
|
||
@override | ||
Widget build(BuildContext context) { | ||
return Container( | ||
decoration: BoxDecoration( | ||
image: DecorationImage( | ||
image: Svg( | ||
'assets/image/home/background.svg', | ||
// size: Size(10, 10), // size 지정 하던 안 하던 동일하다. | ||
), | ||
)), | ||
child: const Scaffold( | ||
|
||
)); | ||
child: Scaffold( | ||
body: GoogleMap( | ||
onMapCreated: _onMapCreated, | ||
initialCameraPosition: CameraPosition( | ||
target: _center, | ||
zoom: 11.0, | ||
), | ||
), | ||
), | ||
); | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters