v5.0.1
Showing
.idea/.gitignore
0 → 100644
.idea/codeStyles/Project.xml
0 → 100644
.idea/libraries/Dart_SDK.xml
0 → 100644
.idea/libraries/Flutter_Plugins.xml
0 → 100644
.idea/misc.xml
0 → 100644
.idea/modules.xml
0 → 100644
.idea/vcs.xml
0 → 100644
.metadata
0 → 100644
.vscode/launch.json
deleted
100644 → 0
.vscode/settings.json
deleted
100644 → 0
android/.idea/$CACHE_FILE$
0 → 100644
android/.idea/.name
0 → 100644
File added
android/.idea/codeStyles/Project.xml
0 → 100644
android/.idea/gradle.xml
0 → 100644
android/.idea/jarRepositories.xml
0 → 100644
android/.idea/misc.xml
0 → 100644
android/.idea/modules.xml
0 → 100644
android/.idea/runConfigurations.xml
0 → 100644
android/.idea/vcs.xml
0 → 100644
File deleted
android/gradlew
deleted
100644 → 0
android/gradlew.bat
deleted
100644 → 0
No preview for this file type
android/src/main/res/drawable/corner.xml
0 → 100644
example/ios/Podfile
deleted
100644 → 0
| # Uncomment this line to define a global platform for your project | |||
| # platform :ios, '9.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 parse_KV_file(file, separator='=') | |||
| file_abs_path = File.expand_path(file) | |||
| if !File.exists? file_abs_path | |||
| return []; | |||
| end | |||
| pods_ary = [] | |||
| skip_line_start_symbols = ["#", "/"] | |||
| File.foreach(file_abs_path) { |line| | |||
| next if skip_line_start_symbols.any? { |symbol| line =~ /^\s*#{symbol}/ } | |||
| plugin = line.split(pattern=separator) | |||
| if plugin.length == 2 | |||
| podname = plugin[0].strip() | |||
| path = plugin[1].strip() | |||
| podpath = File.expand_path("#{path}", file_abs_path) | |||
| pods_ary.push({:name => podname, :path => podpath}); | |||
| else | |||
| puts "Invalid plugin specification: #{line}" | |||
| end | |||
| } | |||
| return pods_ary | |||
| end | |||
| target 'Runner' do | |||
| # Prepare symlinks folder. We use symlinks to avoid having Podfile.lock | |||
| # referring to absolute paths on developers' machines. | |||
| system('rm -rf .symlinks') | |||
| system('mkdir -p .symlinks/plugins') | |||
| # Flutter Pods | |||
| generated_xcode_build_settings = parse_KV_file('./Flutter/Generated.xcconfig') | |||
| if generated_xcode_build_settings.empty? | |||
| puts "Generated.xcconfig must exist. If you're running pod install manually, make sure flutter packages get is executed first." | |||
| end | |||
| generated_xcode_build_settings.map { |p| | |||
| if p[:name] == 'FLUTTER_FRAMEWORK_DIR' | |||
| symlink = File.join('.symlinks', 'flutter') | |||
| File.symlink(File.dirname(p[:path]), symlink) | |||
| pod 'Flutter', :path => File.join(symlink, File.basename(p[:path])) | |||
| end | |||
| } | |||
| # Plugin Pods | |||
| plugin_pods = parse_KV_file('../.flutter-plugins') | |||
| plugin_pods.map { |p| | |||
| symlink = File.join('.symlinks', 'plugins', p[:name]) | |||
| File.symlink(p[:path], symlink) | |||
| pod p[:name], :path => File.join(symlink, 'ios') | |||
| } | |||
| end | |||
| post_install do |installer| | |||
| installer.pods_project.targets.each do |target| | |||
| target.build_configurations.each do |config| | |||
| config.build_settings['ENABLE_BITCODE'] = 'NO' | |||
| end | |||
| end | |||
| end |
This diff is collapsed.
Click to expand it.
example/ios/Runner/AppDelegate.swift
deleted
100644 → 0
example/pubspec.lock
0 → 100644
example/web/favicon.png
deleted
100644 → 0
917 Bytes
example/web/icons/Icon-192.png
deleted
100644 → 0
5.17 KB
example/web/icons/Icon-512.png
deleted
100644 → 0
8.06 KB
example/web/index.html
deleted
100644 → 0
example/web/manifest.json
deleted
100644 → 0
fluttertoast_android.iml
deleted
100644 → 0
ios/Classes/FlutterToastPlugin2.h
0 → 100644
ios/Classes/FlutterToastPlugin2.m
0 → 100644
| # | # | ||
| # To learn more about a Podspec see http://guides.cocoapods.org/syntax/podspec.html | # To learn more about a Podspec see http://guides.cocoapods.org/syntax/podspec.html. | ||
| # Run `pod lib lint FlutterToast.podspec' to validate before publishing. | |||
| # | # | ||
| Pod::Spec.new do |s| | Pod::Spec.new do |s| | ||
| s.name = 'fluttertoast' | s.name = 'FlutterToast' | ||
| s.version = '0.0.2' | s.version = '0.0.1' | ||
| s.summary = 'Toast Library for Flutter' | s.summary = 'Toast Library for Flutter, Easily create toast messages in single line of code' | ||
| s.description = <<-DESC | s.description = <<-DESC | ||
| Toast Library for FLutter | Toast Library for Flutter, Easily create toast messages in single line of code | ||
| DESC | DESC | ||
| s.homepage = 'http://example.com' | s.homepage = 'http://example.com' | ||
| s.license = { :file => '../LICENSE' } | s.license = { :file => '../LICENSE' } | ||
| s.author = { 'Karthik Ponnam' => 'ponnamkarthik3@gmail.com' } | s.author = { 'Your Company' => 'email@example.com' } | ||
| s.source = { :path => '.' } | s.source = { :path => '.' } | ||
| s.source_files = 'Classes/**/*' | s.source_files = 'Classes/**/*' | ||
| s.public_header_files = 'Classes/**/*.h' | s.public_header_files = 'Classes/**/*.h' | ||
| s.dependency 'Flutter' | s.dependency 'Flutter' | ||
| s.platform = :ios, '8.0' | |||
| s.ios.deployment_target = '8.0' | # Flutter.framework does not contain a i386 slice. Only x86_64 simulators are supported. | ||
| s.pod_target_xcconfig = { 'DEFINES_MODULE' => 'YES', 'VALID_ARCHS[sdk=iphonesimulator*]' => 'x86_64' } | |||
| end | end | ||
pubspec.lock
0 → 100644
res/values/strings_en.arb
deleted
100644 → 0
Please
register
or
sign in
to comment