From 2645de2bacb75c0c52187bafef6eb274c4782ea2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sa=C3=BAl=20Rinc=C3=B3n?= <1030461@homedepot.com.mx> Date: Thu, 11 Mar 2021 13:18:27 -0600 Subject: [PATCH 1/2] Prepare the project to sound null safety. --- .gitignore | 74 +- .idea/codeStyles/Project.xml | 29 - .idea/libraries/Dart_Packages.xml | 276 ----- .idea/libraries/Dart_SDK.xml | 30 +- .idea/libraries/Flutter_Plugins.xml | 7 - .idea/misc.xml | 27 - .idea/vcs.xml | 6 - .idea/workspace.xml | 977 +----------------- .metadata | 10 + dev/bots/travis_install.sh | 18 - dev/bots/travis_script.sh | 17 - example/.gitignore | 43 +- example/.idea/libraries/Dart_Packages.xml | 452 -------- example/.idea/libraries/Dart_SDK.xml | 22 +- example/.idea/libraries/Flutter_Plugins.xml | 7 - .../.idea/libraries/Flutter_for_Android.xml | 9 - example/.idea/misc.xml | 27 - example/.idea/modules.xml | 2 +- example/.idea/workspace.xml | 428 +------- example/.metadata | 6 +- example/README.md | 14 +- example/android/.gitignore | 17 +- example/android/app/build.gradle | 16 +- .../android/app/src/debug/AndroidManifest.xml | 7 + .../android/app/src/main/AndroidManifest.xml | 46 +- .../com/yourcompany/example/MainActivity.java | 13 - .../com/example/example/MainActivity.kt | 6 + .../res/drawable-v21/launch_background.xml | 12 + .../app/src/main/res/values-night/styles.xml | 18 + .../app/src/main/res/values/styles.xml | 12 +- .../app/src/profile/AndroidManifest.xml | 7 + example/android/build.gradle | 4 +- example/android/gradle.properties | 2 + .../gradle/wrapper/gradle-wrapper.properties | 2 +- example/android/settings.gradle | 18 +- example/example.iml | 2 - example/example_android.iml | 27 - example/ios/.gitignore | 65 +- example/ios/Runner.xcodeproj/project.pbxproj | 163 +-- .../contents.xcworkspacedata | 2 +- .../xcshareddata/IDEWorkspaceChecks.plist | 8 + .../xcshareddata/WorkspaceSettings.xcsettings | 8 + .../xcshareddata/xcschemes/Runner.xcscheme | 6 +- .../xcshareddata/IDEWorkspaceChecks.plist | 8 + .../xcshareddata/WorkspaceSettings.xcsettings | 4 +- example/ios/Runner/AppDelegate.h | 6 - example/ios/Runner/AppDelegate.m | 13 - example/ios/Runner/AppDelegate.swift | 13 + .../Icon-App-1024x1024@1x.png | Bin 11112 -> 10932 bytes example/ios/Runner/Info.plist | 2 +- example/ios/Runner/Runner-Bridging-Header.h | 1 + example/ios/Runner/main.m | 9 - example/lib/AccordionTransformer.dart | 4 +- example/lib/CachePageView.dart | 34 +- example/lib/DeepthPageTransformer.dart | 2 +- example/lib/FixlistTest.dart | 29 +- example/lib/ScaleAndFadeTransformer.dart | 2 +- example/lib/ThreeDTransformer.dart | 2 +- example/lib/ZoomInPageTransformer.dart | 2 +- example/lib/ZoomOutPageTransformer.dart | 2 +- example/lib/images.dart | 2 +- example/lib/main.dart | 57 +- example/lib/screens/ProductDetailView.dart | 4 - example/lib/welcome.dart | 2 +- example/lib/welcome_back.dart | 2 +- example/pubspec.lock | 106 +- example/pubspec.yaml | 28 +- example/web/favicon.png | Bin 0 -> 917 bytes example/web/icons/Icon-192.png | Bin 0 -> 5292 bytes example/web/icons/Icon-512.png | Bin 0 -> 8252 bytes example/web/index.html | 45 + example/web/manifest.json | 23 + lib/index_controller.dart | 14 +- lib/parallax.dart | 24 +- lib/transformer_page_view.dart | 220 ++-- pubspec.lock | 176 ++-- pubspec.yaml | 8 +- transformer_page_view.iml | 8 +- 78 files changed, 916 insertions(+), 2878 deletions(-) delete mode 100644 .idea/codeStyles/Project.xml delete mode 100644 .idea/libraries/Dart_Packages.xml delete mode 100644 .idea/libraries/Flutter_Plugins.xml delete mode 100644 .idea/misc.xml delete mode 100644 .idea/vcs.xml create mode 100644 .metadata delete mode 100755 dev/bots/travis_install.sh delete mode 100755 dev/bots/travis_script.sh delete mode 100644 example/.idea/libraries/Dart_Packages.xml delete mode 100644 example/.idea/libraries/Flutter_Plugins.xml delete mode 100644 example/.idea/libraries/Flutter_for_Android.xml delete mode 100644 example/.idea/misc.xml create mode 100644 example/android/app/src/debug/AndroidManifest.xml delete mode 100644 example/android/app/src/main/java/com/yourcompany/example/MainActivity.java create mode 100644 example/android/app/src/main/kotlin/com/example/example/MainActivity.kt create mode 100644 example/android/app/src/main/res/drawable-v21/launch_background.xml create mode 100644 example/android/app/src/main/res/values-night/styles.xml create mode 100644 example/android/app/src/profile/AndroidManifest.xml delete mode 100644 example/example_android.iml create mode 100644 example/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist create mode 100644 example/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings create mode 100644 example/ios/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist delete mode 100644 example/ios/Runner/AppDelegate.h delete mode 100644 example/ios/Runner/AppDelegate.m create mode 100644 example/ios/Runner/AppDelegate.swift create mode 100644 example/ios/Runner/Runner-Bridging-Header.h delete mode 100644 example/ios/Runner/main.m create mode 100644 example/web/favicon.png create mode 100644 example/web/icons/Icon-192.png create mode 100644 example/web/icons/Icon-512.png create mode 100644 example/web/index.html create mode 100644 example/web/manifest.json diff --git a/.gitignore b/.gitignore index 44cadee..1985397 100644 --- a/.gitignore +++ b/.gitignore @@ -1,12 +1,74 @@ +# Miscellaneous +*.class +*.log +*.pyc +*.swp .DS_Store -.dart_tool/ +.atom/ +.buildlog/ +.history +.svn/ + +# IntelliJ related +*.iml +*.ipr +*.iws +.idea/ +# The .vscode folder contains launch configuration and tasks you configure in +# VS Code which you may wish to be included in version control, so this line +# is commented out by default. +#.vscode/ + +# Flutter/Dart/Pub related +**/doc/api/ +.dart_tool/ +.flutter-plugins +.flutter-plugins-dependencies .packages +.pub-cache/ .pub/ - build/ -ios/.generated/ -ios/Flutter/Generated.xcconfig -ios/Runner/GeneratedPluginRegistrant.* -*.log +# Android related +**/android/**/gradle-wrapper.jar +**/android/.gradle +**/android/captures/ +**/android/gradlew +**/android/gradlew.bat +**/android/local.properties +**/android/**/GeneratedPluginRegistrant.java + +# iOS/XCode related +**/ios/**/*.mode1v3 +**/ios/**/*.mode2v3 +**/ios/**/*.moved-aside +**/ios/**/*.pbxuser +**/ios/**/*.perspectivev3 +**/ios/**/*sync/ +**/ios/**/.sconsign.dblite +**/ios/**/.tags* +**/ios/**/.vagrant/ +**/ios/**/DerivedData/ +**/ios/**/Icon? +**/ios/**/Pods/ +**/ios/**/.symlinks/ +**/ios/**/profile +**/ios/**/xcuserdata +**/ios/.generated/ +**/ios/Flutter/App.framework +**/ios/Flutter/Flutter.framework +**/ios/Flutter/Flutter.podspec +**/ios/Flutter/Generated.xcconfig +**/ios/Flutter/app.flx +**/ios/Flutter/app.zip +**/ios/Flutter/flutter_assets/ +**/ios/Flutter/flutter_export_environment.sh +**/ios/ServiceDefinitions.json +**/ios/Runner/GeneratedPluginRegistrant.* + +# Exceptions to above rules. +!**/ios/**/default.mode1v3 +!**/ios/**/default.mode2v3 +!**/ios/**/default.pbxuser +!**/ios/**/default.perspectivev3 diff --git a/.idea/codeStyles/Project.xml b/.idea/codeStyles/Project.xml deleted file mode 100644 index 30aa626..0000000 --- a/.idea/codeStyles/Project.xml +++ /dev/null @@ -1,29 +0,0 @@ - - - - - - - - - - - - - - \ No newline at end of file diff --git a/.idea/libraries/Dart_Packages.xml b/.idea/libraries/Dart_Packages.xml deleted file mode 100644 index f058607..0000000 --- a/.idea/libraries/Dart_Packages.xml +++ /dev/null @@ -1,276 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/.idea/libraries/Dart_SDK.xml b/.idea/libraries/Dart_SDK.xml index 321b902..896efb4 100644 --- a/.idea/libraries/Dart_SDK.xml +++ b/.idea/libraries/Dart_SDK.xml @@ -1,25 +1,17 @@ - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + diff --git a/.idea/libraries/Flutter_Plugins.xml b/.idea/libraries/Flutter_Plugins.xml deleted file mode 100644 index b0f6971..0000000 --- a/.idea/libraries/Flutter_Plugins.xml +++ /dev/null @@ -1,7 +0,0 @@ - - - - - - - \ No newline at end of file diff --git a/.idea/misc.xml b/.idea/misc.xml deleted file mode 100644 index de732b4..0000000 --- a/.idea/misc.xml +++ /dev/null @@ -1,27 +0,0 @@ - - - - - - - \ No newline at end of file diff --git a/.idea/vcs.xml b/.idea/vcs.xml deleted file mode 100644 index 35eb1dd..0000000 --- a/.idea/vcs.xml +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/.idea/workspace.xml b/.idea/workspace.xml index acf13e6..5b3388c 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -1,991 +1,36 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + - - - - - - - - - - - - - - - - - - - - + + - - - - - - viewportDimension - _page - _constraints - SliverConstraints - _renderObject - SliverMultiBoxAdaptorParentData - MySliverFillViewport - RenderSliverMultiBoxAdaptor - offset - print - curve - _currentPixels - reverse - onChangeNotifier - index_controller - _pageController - _buildItem - Random - children - next - loop - itemCount - 3 - dispose - didUpdateWidget - isNotEmpty - viewportFraction - _size - findRenderObject - setState - - - transformer_page_view - - - - - - - - - - - + + + + + - - - - - - - - - - - - - -