diff --git a/README.md b/README.md index 3e38b323..a2949e66 100644 --- a/README.md +++ b/README.md @@ -15,6 +15,8 @@ Device Preview for Flutter

+Disclaimer: This is a fork of the [Flutter Device Preview Repo](https://github.com/aloisdeniel/flutter_device_preview) that is currently not accepting pull requests. + ## Main features * Preview any device from any device @@ -47,7 +49,7 @@ Wrap your app's root widget in a `DevicePreview` and make sure to : > Make sure to override the previous properties as described. If not defined, `MediaQuery` won't be simulated for the selected device. ```dart -import 'package:device_preview/device_preview.dart'; +import 'package:device_preview_community/device_preview.dart'; void main() => runApp( DevicePreview( diff --git a/device_frame/.gitignore b/device_frame_community/.gitignore similarity index 100% rename from device_frame/.gitignore rename to device_frame_community/.gitignore diff --git a/device_frame/.metadata b/device_frame_community/.metadata similarity index 100% rename from device_frame/.metadata rename to device_frame_community/.metadata diff --git a/device_frame/.pubignore b/device_frame_community/.pubignore similarity index 100% rename from device_frame/.pubignore rename to device_frame_community/.pubignore diff --git a/device_frame/.vscode/launch.json b/device_frame_community/.vscode/launch.json similarity index 100% rename from device_frame/.vscode/launch.json rename to device_frame_community/.vscode/launch.json diff --git a/device_frame/CHANGELOG.md b/device_frame_community/CHANGELOG.md similarity index 95% rename from device_frame/CHANGELOG.md rename to device_frame_community/CHANGELOG.md index 857c6029..a7ce2e02 100644 --- a/device_frame/CHANGELOG.md +++ b/device_frame_community/CHANGELOG.md @@ -1,3 +1,9 @@ +## 1.0.2 +* Fixing file name changes + +## 1.0.1 +* Reviving stale repo with fork + ## 1.0.0-alpha.2 * Added extra padding for virtual keyboard. diff --git a/device_frame/LICENSE b/device_frame_community/LICENSE similarity index 100% rename from device_frame/LICENSE rename to device_frame_community/LICENSE diff --git a/device_frame/README.md b/device_frame_community/README.md similarity index 100% rename from device_frame/README.md rename to device_frame_community/README.md diff --git a/device_frame/analysis_options.yaml b/device_frame_community/analysis_options.yaml similarity index 100% rename from device_frame/analysis_options.yaml rename to device_frame_community/analysis_options.yaml diff --git a/device_frame/example/.gitignore b/device_frame_community/example/.gitignore similarity index 100% rename from device_frame/example/.gitignore rename to device_frame_community/example/.gitignore diff --git a/device_frame/example/.metadata b/device_frame_community/example/.metadata similarity index 100% rename from device_frame/example/.metadata rename to device_frame_community/example/.metadata diff --git a/device_frame/example/README.md b/device_frame_community/example/README.md similarity index 100% rename from device_frame/example/README.md rename to device_frame_community/example/README.md diff --git a/device_frame/example/analysis_options.yaml b/device_frame_community/example/analysis_options.yaml similarity index 100% rename from device_frame/example/analysis_options.yaml rename to device_frame_community/example/analysis_options.yaml diff --git a/device_frame/example/android/.gitignore b/device_frame_community/example/android/.gitignore similarity index 100% rename from device_frame/example/android/.gitignore rename to device_frame_community/example/android/.gitignore diff --git a/device_frame/example/android/app/build.gradle b/device_frame_community/example/android/app/build.gradle similarity index 100% rename from device_frame/example/android/app/build.gradle rename to device_frame_community/example/android/app/build.gradle diff --git a/device_frame/example/android/app/src/debug/AndroidManifest.xml b/device_frame_community/example/android/app/src/debug/AndroidManifest.xml similarity index 100% rename from device_frame/example/android/app/src/debug/AndroidManifest.xml rename to device_frame_community/example/android/app/src/debug/AndroidManifest.xml diff --git a/device_frame/example/android/app/src/main/AndroidManifest.xml b/device_frame_community/example/android/app/src/main/AndroidManifest.xml similarity index 100% rename from device_frame/example/android/app/src/main/AndroidManifest.xml rename to device_frame_community/example/android/app/src/main/AndroidManifest.xml diff --git a/device_frame/example/android/app/src/main/kotlin/com/example/example/MainActivity.kt b/device_frame_community/example/android/app/src/main/kotlin/com/example/example/MainActivity.kt similarity index 100% rename from device_frame/example/android/app/src/main/kotlin/com/example/example/MainActivity.kt rename to device_frame_community/example/android/app/src/main/kotlin/com/example/example/MainActivity.kt diff --git a/device_frame/example/android/app/src/main/res/drawable-v21/launch_background.xml b/device_frame_community/example/android/app/src/main/res/drawable-v21/launch_background.xml similarity index 100% rename from device_frame/example/android/app/src/main/res/drawable-v21/launch_background.xml rename to device_frame_community/example/android/app/src/main/res/drawable-v21/launch_background.xml diff --git a/device_frame/example/android/app/src/main/res/drawable/launch_background.xml b/device_frame_community/example/android/app/src/main/res/drawable/launch_background.xml similarity index 100% rename from device_frame/example/android/app/src/main/res/drawable/launch_background.xml rename to device_frame_community/example/android/app/src/main/res/drawable/launch_background.xml diff --git a/device_frame/example/android/app/src/main/res/mipmap-hdpi/ic_launcher.png b/device_frame_community/example/android/app/src/main/res/mipmap-hdpi/ic_launcher.png similarity index 100% rename from device_frame/example/android/app/src/main/res/mipmap-hdpi/ic_launcher.png rename to device_frame_community/example/android/app/src/main/res/mipmap-hdpi/ic_launcher.png diff --git a/device_frame/example/android/app/src/main/res/mipmap-mdpi/ic_launcher.png b/device_frame_community/example/android/app/src/main/res/mipmap-mdpi/ic_launcher.png similarity index 100% rename from device_frame/example/android/app/src/main/res/mipmap-mdpi/ic_launcher.png rename to device_frame_community/example/android/app/src/main/res/mipmap-mdpi/ic_launcher.png diff --git a/device_frame/example/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png b/device_frame_community/example/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png similarity index 100% rename from device_frame/example/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png rename to device_frame_community/example/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png diff --git a/device_frame/example/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png b/device_frame_community/example/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png similarity index 100% rename from device_frame/example/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png rename to device_frame_community/example/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png diff --git a/device_frame/example/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png b/device_frame_community/example/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png similarity index 100% rename from device_frame/example/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png rename to device_frame_community/example/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png diff --git a/device_frame/example/android/app/src/main/res/values-night/styles.xml b/device_frame_community/example/android/app/src/main/res/values-night/styles.xml similarity index 100% rename from device_frame/example/android/app/src/main/res/values-night/styles.xml rename to device_frame_community/example/android/app/src/main/res/values-night/styles.xml diff --git a/device_frame/example/android/app/src/main/res/values/styles.xml b/device_frame_community/example/android/app/src/main/res/values/styles.xml similarity index 100% rename from device_frame/example/android/app/src/main/res/values/styles.xml rename to device_frame_community/example/android/app/src/main/res/values/styles.xml diff --git a/device_frame/example/android/app/src/profile/AndroidManifest.xml b/device_frame_community/example/android/app/src/profile/AndroidManifest.xml similarity index 100% rename from device_frame/example/android/app/src/profile/AndroidManifest.xml rename to device_frame_community/example/android/app/src/profile/AndroidManifest.xml diff --git a/device_frame/example/android/build.gradle b/device_frame_community/example/android/build.gradle similarity index 100% rename from device_frame/example/android/build.gradle rename to device_frame_community/example/android/build.gradle diff --git a/device_frame/example/android/gradle.properties b/device_frame_community/example/android/gradle.properties similarity index 100% rename from device_frame/example/android/gradle.properties rename to device_frame_community/example/android/gradle.properties diff --git a/device_frame/example/android/gradle/wrapper/gradle-wrapper.properties b/device_frame_community/example/android/gradle/wrapper/gradle-wrapper.properties similarity index 100% rename from device_frame/example/android/gradle/wrapper/gradle-wrapper.properties rename to device_frame_community/example/android/gradle/wrapper/gradle-wrapper.properties diff --git a/device_frame/example/android/settings.gradle b/device_frame_community/example/android/settings.gradle similarity index 100% rename from device_frame/example/android/settings.gradle rename to device_frame_community/example/android/settings.gradle diff --git a/device_frame/example/ios/.gitignore b/device_frame_community/example/ios/.gitignore similarity index 100% rename from device_frame/example/ios/.gitignore rename to device_frame_community/example/ios/.gitignore diff --git a/device_frame/example/ios/Flutter/AppFrameworkInfo.plist b/device_frame_community/example/ios/Flutter/AppFrameworkInfo.plist similarity index 100% rename from device_frame/example/ios/Flutter/AppFrameworkInfo.plist rename to device_frame_community/example/ios/Flutter/AppFrameworkInfo.plist diff --git a/device_frame/example/ios/Flutter/Debug.xcconfig b/device_frame_community/example/ios/Flutter/Debug.xcconfig similarity index 100% rename from device_frame/example/ios/Flutter/Debug.xcconfig rename to device_frame_community/example/ios/Flutter/Debug.xcconfig diff --git a/device_frame/example/ios/Flutter/Release.xcconfig b/device_frame_community/example/ios/Flutter/Release.xcconfig similarity index 100% rename from device_frame/example/ios/Flutter/Release.xcconfig rename to device_frame_community/example/ios/Flutter/Release.xcconfig diff --git a/device_frame/example/ios/Runner.xcodeproj/project.pbxproj b/device_frame_community/example/ios/Runner.xcodeproj/project.pbxproj similarity index 100% rename from device_frame/example/ios/Runner.xcodeproj/project.pbxproj rename to device_frame_community/example/ios/Runner.xcodeproj/project.pbxproj diff --git a/device_frame/example/ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata b/device_frame_community/example/ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata similarity index 100% rename from device_frame/example/ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata rename to device_frame_community/example/ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata diff --git a/device_frame/example/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/device_frame_community/example/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist similarity index 100% rename from device_frame/example/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist rename to device_frame_community/example/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist diff --git a/device_frame/example/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings b/device_frame_community/example/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings similarity index 100% rename from device_frame/example/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings rename to device_frame_community/example/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings diff --git a/device_frame/example/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme b/device_frame_community/example/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme similarity index 100% rename from device_frame/example/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme rename to device_frame_community/example/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme diff --git a/device_frame/example/ios/Runner.xcworkspace/contents.xcworkspacedata b/device_frame_community/example/ios/Runner.xcworkspace/contents.xcworkspacedata similarity index 100% rename from device_frame/example/ios/Runner.xcworkspace/contents.xcworkspacedata rename to device_frame_community/example/ios/Runner.xcworkspace/contents.xcworkspacedata diff --git a/device_frame/example/ios/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/device_frame_community/example/ios/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist similarity index 100% rename from device_frame/example/ios/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist rename to device_frame_community/example/ios/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist diff --git a/device_frame/example/ios/Runner.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings b/device_frame_community/example/ios/Runner.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings similarity index 100% rename from device_frame/example/ios/Runner.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings rename to device_frame_community/example/ios/Runner.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings diff --git a/device_frame/example/ios/Runner/AppDelegate.swift b/device_frame_community/example/ios/Runner/AppDelegate.swift similarity index 100% rename from device_frame/example/ios/Runner/AppDelegate.swift rename to device_frame_community/example/ios/Runner/AppDelegate.swift diff --git a/device_frame/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json b/device_frame_community/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json similarity index 100% rename from device_frame/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json rename to device_frame_community/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json diff --git a/device_frame/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png b/device_frame_community/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png similarity index 100% rename from device_frame/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png rename to device_frame_community/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png diff --git a/device_frame/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png b/device_frame_community/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png similarity index 100% rename from device_frame/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png rename to device_frame_community/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png diff --git a/device_frame/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png b/device_frame_community/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png similarity index 100% rename from device_frame/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png rename to device_frame_community/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png diff --git a/device_frame/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png b/device_frame_community/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png similarity index 100% rename from device_frame/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png rename to device_frame_community/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png diff --git a/device_frame/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png b/device_frame_community/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png similarity index 100% rename from device_frame/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png rename to device_frame_community/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png diff --git a/device_frame/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png b/device_frame_community/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png similarity index 100% rename from device_frame/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png rename to device_frame_community/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png diff --git a/device_frame/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png b/device_frame_community/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png similarity index 100% rename from device_frame/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png rename to device_frame_community/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png diff --git a/device_frame/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png b/device_frame_community/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png similarity index 100% rename from device_frame/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png rename to device_frame_community/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png diff --git a/device_frame/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png b/device_frame_community/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png similarity index 100% rename from device_frame/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png rename to device_frame_community/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png diff --git a/device_frame/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png b/device_frame_community/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png similarity index 100% rename from device_frame/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png rename to device_frame_community/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png diff --git a/device_frame/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png b/device_frame_community/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png similarity index 100% rename from device_frame/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png rename to device_frame_community/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png diff --git a/device_frame/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png b/device_frame_community/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png similarity index 100% rename from device_frame/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png rename to device_frame_community/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png diff --git a/device_frame/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png b/device_frame_community/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png similarity index 100% rename from device_frame/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png rename to device_frame_community/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png diff --git a/device_frame/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png b/device_frame_community/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png similarity index 100% rename from device_frame/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png rename to device_frame_community/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png diff --git a/device_frame/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png b/device_frame_community/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png similarity index 100% rename from device_frame/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png rename to device_frame_community/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png diff --git a/device_frame/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/Contents.json b/device_frame_community/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/Contents.json similarity index 100% rename from device_frame/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/Contents.json rename to device_frame_community/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/Contents.json diff --git a/device_frame/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png b/device_frame_community/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png similarity index 100% rename from device_frame/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png rename to device_frame_community/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png diff --git a/device_frame/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png b/device_frame_community/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png similarity index 100% rename from device_frame/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png rename to device_frame_community/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png diff --git a/device_frame/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png b/device_frame_community/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png similarity index 100% rename from device_frame/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png rename to device_frame_community/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png diff --git a/device_frame/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/README.md b/device_frame_community/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/README.md similarity index 100% rename from device_frame/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/README.md rename to device_frame_community/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/README.md diff --git a/device_frame/example/ios/Runner/Base.lproj/LaunchScreen.storyboard b/device_frame_community/example/ios/Runner/Base.lproj/LaunchScreen.storyboard similarity index 100% rename from device_frame/example/ios/Runner/Base.lproj/LaunchScreen.storyboard rename to device_frame_community/example/ios/Runner/Base.lproj/LaunchScreen.storyboard diff --git a/device_frame/example/ios/Runner/Base.lproj/Main.storyboard b/device_frame_community/example/ios/Runner/Base.lproj/Main.storyboard similarity index 100% rename from device_frame/example/ios/Runner/Base.lproj/Main.storyboard rename to device_frame_community/example/ios/Runner/Base.lproj/Main.storyboard diff --git a/device_frame/example/ios/Runner/Info.plist b/device_frame_community/example/ios/Runner/Info.plist similarity index 100% rename from device_frame/example/ios/Runner/Info.plist rename to device_frame_community/example/ios/Runner/Info.plist diff --git a/device_frame/example/ios/Runner/Runner-Bridging-Header.h b/device_frame_community/example/ios/Runner/Runner-Bridging-Header.h similarity index 100% rename from device_frame/example/ios/Runner/Runner-Bridging-Header.h rename to device_frame_community/example/ios/Runner/Runner-Bridging-Header.h diff --git a/device_frame/example/lib/main.dart b/device_frame_community/example/lib/main.dart similarity index 98% rename from device_frame/example/lib/main.dart rename to device_frame_community/example/lib/main.dart index 20e88be2..eefdf109 100644 --- a/device_frame/example/lib/main.dart +++ b/device_frame_community/example/lib/main.dart @@ -1,4 +1,4 @@ -import 'package:device_frame/device_frame.dart'; +import 'package:device_frame_community/device_frame_community.dart'; import 'package:flutter/material.dart'; Future main() async { diff --git a/device_frame/example/macos/.gitignore b/device_frame_community/example/macos/.gitignore similarity index 100% rename from device_frame/example/macos/.gitignore rename to device_frame_community/example/macos/.gitignore diff --git a/device_frame/example/macos/Flutter/Flutter-Debug.xcconfig b/device_frame_community/example/macos/Flutter/Flutter-Debug.xcconfig similarity index 100% rename from device_frame/example/macos/Flutter/Flutter-Debug.xcconfig rename to device_frame_community/example/macos/Flutter/Flutter-Debug.xcconfig diff --git a/device_frame/example/macos/Flutter/Flutter-Release.xcconfig b/device_frame_community/example/macos/Flutter/Flutter-Release.xcconfig similarity index 100% rename from device_frame/example/macos/Flutter/Flutter-Release.xcconfig rename to device_frame_community/example/macos/Flutter/Flutter-Release.xcconfig diff --git a/device_frame/example/macos/Flutter/GeneratedPluginRegistrant.swift b/device_frame_community/example/macos/Flutter/GeneratedPluginRegistrant.swift similarity index 100% rename from device_frame/example/macos/Flutter/GeneratedPluginRegistrant.swift rename to device_frame_community/example/macos/Flutter/GeneratedPluginRegistrant.swift diff --git a/device_frame/example/macos/Runner.xcodeproj/project.pbxproj b/device_frame_community/example/macos/Runner.xcodeproj/project.pbxproj similarity index 100% rename from device_frame/example/macos/Runner.xcodeproj/project.pbxproj rename to device_frame_community/example/macos/Runner.xcodeproj/project.pbxproj diff --git a/device_frame/example/macos/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/device_frame_community/example/macos/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist similarity index 100% rename from device_frame/example/macos/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist rename to device_frame_community/example/macos/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist diff --git a/device_frame/example/macos/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme b/device_frame_community/example/macos/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme similarity index 100% rename from device_frame/example/macos/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme rename to device_frame_community/example/macos/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme diff --git a/device_frame/example/macos/Runner.xcworkspace/contents.xcworkspacedata b/device_frame_community/example/macos/Runner.xcworkspace/contents.xcworkspacedata similarity index 100% rename from device_frame/example/macos/Runner.xcworkspace/contents.xcworkspacedata rename to device_frame_community/example/macos/Runner.xcworkspace/contents.xcworkspacedata diff --git a/device_frame/example/macos/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/device_frame_community/example/macos/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist similarity index 100% rename from device_frame/example/macos/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist rename to device_frame_community/example/macos/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist diff --git a/device_frame/example/macos/Runner/AppDelegate.swift b/device_frame_community/example/macos/Runner/AppDelegate.swift similarity index 100% rename from device_frame/example/macos/Runner/AppDelegate.swift rename to device_frame_community/example/macos/Runner/AppDelegate.swift diff --git a/device_frame/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json b/device_frame_community/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json similarity index 100% rename from device_frame/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json rename to device_frame_community/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json diff --git a/device_frame/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_1024.png b/device_frame_community/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_1024.png similarity index 100% rename from device_frame/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_1024.png rename to device_frame_community/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_1024.png diff --git a/device_frame/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_128.png b/device_frame_community/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_128.png similarity index 100% rename from device_frame/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_128.png rename to device_frame_community/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_128.png diff --git a/device_frame/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_16.png b/device_frame_community/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_16.png similarity index 100% rename from device_frame/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_16.png rename to device_frame_community/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_16.png diff --git a/device_frame/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_256.png b/device_frame_community/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_256.png similarity index 100% rename from device_frame/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_256.png rename to device_frame_community/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_256.png diff --git a/device_frame/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_32.png b/device_frame_community/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_32.png similarity index 100% rename from device_frame/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_32.png rename to device_frame_community/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_32.png diff --git a/device_frame/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_512.png b/device_frame_community/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_512.png similarity index 100% rename from device_frame/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_512.png rename to device_frame_community/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_512.png diff --git a/device_frame/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_64.png b/device_frame_community/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_64.png similarity index 100% rename from device_frame/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_64.png rename to device_frame_community/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_64.png diff --git a/device_frame/example/macos/Runner/Base.lproj/MainMenu.xib b/device_frame_community/example/macos/Runner/Base.lproj/MainMenu.xib similarity index 100% rename from device_frame/example/macos/Runner/Base.lproj/MainMenu.xib rename to device_frame_community/example/macos/Runner/Base.lproj/MainMenu.xib diff --git a/device_frame/example/macos/Runner/Configs/AppInfo.xcconfig b/device_frame_community/example/macos/Runner/Configs/AppInfo.xcconfig similarity index 100% rename from device_frame/example/macos/Runner/Configs/AppInfo.xcconfig rename to device_frame_community/example/macos/Runner/Configs/AppInfo.xcconfig diff --git a/device_frame/example/macos/Runner/Configs/Debug.xcconfig b/device_frame_community/example/macos/Runner/Configs/Debug.xcconfig similarity index 100% rename from device_frame/example/macos/Runner/Configs/Debug.xcconfig rename to device_frame_community/example/macos/Runner/Configs/Debug.xcconfig diff --git a/device_frame/example/macos/Runner/Configs/Release.xcconfig b/device_frame_community/example/macos/Runner/Configs/Release.xcconfig similarity index 100% rename from device_frame/example/macos/Runner/Configs/Release.xcconfig rename to device_frame_community/example/macos/Runner/Configs/Release.xcconfig diff --git a/device_frame/example/macos/Runner/Configs/Warnings.xcconfig b/device_frame_community/example/macos/Runner/Configs/Warnings.xcconfig similarity index 100% rename from device_frame/example/macos/Runner/Configs/Warnings.xcconfig rename to device_frame_community/example/macos/Runner/Configs/Warnings.xcconfig diff --git a/device_frame/example/macos/Runner/DebugProfile.entitlements b/device_frame_community/example/macos/Runner/DebugProfile.entitlements similarity index 100% rename from device_frame/example/macos/Runner/DebugProfile.entitlements rename to device_frame_community/example/macos/Runner/DebugProfile.entitlements diff --git a/device_frame/example/macos/Runner/Info.plist b/device_frame_community/example/macos/Runner/Info.plist similarity index 100% rename from device_frame/example/macos/Runner/Info.plist rename to device_frame_community/example/macos/Runner/Info.plist diff --git a/device_frame/example/macos/Runner/MainFlutterWindow.swift b/device_frame_community/example/macos/Runner/MainFlutterWindow.swift similarity index 100% rename from device_frame/example/macos/Runner/MainFlutterWindow.swift rename to device_frame_community/example/macos/Runner/MainFlutterWindow.swift diff --git a/device_frame/example/macos/Runner/Release.entitlements b/device_frame_community/example/macos/Runner/Release.entitlements similarity index 100% rename from device_frame/example/macos/Runner/Release.entitlements rename to device_frame_community/example/macos/Runner/Release.entitlements diff --git a/device_preview/example/pubspec.yaml b/device_frame_community/example/pubspec.yaml similarity index 99% rename from device_preview/example/pubspec.yaml rename to device_frame_community/example/pubspec.yaml index 24b3be76..3774029a 100644 --- a/device_preview/example/pubspec.yaml +++ b/device_frame_community/example/pubspec.yaml @@ -27,7 +27,7 @@ environment: # the latest version available on pub.dev. To see which dependencies have newer # versions available, run `flutter pub outdated`. dependencies: - device_preview: + device_frame_community: path: ../ flutter: sdk: flutter diff --git a/device_frame/example/web/favicon.png b/device_frame_community/example/web/favicon.png similarity index 100% rename from device_frame/example/web/favicon.png rename to device_frame_community/example/web/favicon.png diff --git a/device_frame/example/web/icons/Icon-192.png b/device_frame_community/example/web/icons/Icon-192.png similarity index 100% rename from device_frame/example/web/icons/Icon-192.png rename to device_frame_community/example/web/icons/Icon-192.png diff --git a/device_frame/example/web/icons/Icon-512.png b/device_frame_community/example/web/icons/Icon-512.png similarity index 100% rename from device_frame/example/web/icons/Icon-512.png rename to device_frame_community/example/web/icons/Icon-512.png diff --git a/device_frame/example/web/icons/Icon-maskable-192.png b/device_frame_community/example/web/icons/Icon-maskable-192.png similarity index 100% rename from device_frame/example/web/icons/Icon-maskable-192.png rename to device_frame_community/example/web/icons/Icon-maskable-192.png diff --git a/device_frame/example/web/icons/Icon-maskable-512.png b/device_frame_community/example/web/icons/Icon-maskable-512.png similarity index 100% rename from device_frame/example/web/icons/Icon-maskable-512.png rename to device_frame_community/example/web/icons/Icon-maskable-512.png diff --git a/device_frame/example/web/index.html b/device_frame_community/example/web/index.html similarity index 100% rename from device_frame/example/web/index.html rename to device_frame_community/example/web/index.html diff --git a/device_frame/example/web/manifest.json b/device_frame_community/example/web/manifest.json similarity index 100% rename from device_frame/example/web/manifest.json rename to device_frame_community/example/web/manifest.json diff --git a/device_frame/lib/device_frame.dart b/device_frame_community/lib/device_frame_community.dart similarity index 93% rename from device_frame/lib/device_frame.dart rename to device_frame_community/lib/device_frame_community.dart index 6a182559..4c5769f8 100644 --- a/device_frame/lib/device_frame.dart +++ b/device_frame_community/lib/device_frame_community.dart @@ -1,4 +1,4 @@ -library device_frame; +library device_frame_community; export 'src/devices/devices.dart'; export 'src/frame.dart'; diff --git a/device_frame/lib/src/devices/android/devices.dart b/device_frame_community/lib/src/devices/android/devices.dart similarity index 86% rename from device_frame/lib/src/devices/android/devices.dart rename to device_frame_community/lib/src/devices/android/devices.dart index 0e2a55ae..94c40204 100644 --- a/device_frame/lib/src/devices/android/devices.dart +++ b/device_frame_community/lib/src/devices/android/devices.dart @@ -1,18 +1,18 @@ import 'dart:ui'; -import 'package:device_frame/src/info/info.dart'; +import 'package:device_frame_community/src/info/info.dart'; -import 'package:device_frame/src/devices/android/samsung_galaxy_s20/device.dart' +import 'package:device_frame_community/src/devices/android/samsung_galaxy_s20/device.dart' as i_samsung_galaxy_s20; -import 'package:device_frame/src/devices/android/samsung_galaxy_note20/device.dart' +import 'package:device_frame_community/src/devices/android/samsung_galaxy_note20/device.dart' as i_samsung_galaxy_note20; -import 'package:device_frame/src/devices/android/samsung_galaxy_note20_ultra/device.dart' +import 'package:device_frame_community/src/devices/android/samsung_galaxy_note20_ultra/device.dart' as i_samsung_galaxy_note20_ultra; -import 'package:device_frame/src/devices/android/samsung_galaxy_a50/device.dart' +import 'package:device_frame_community/src/devices/android/samsung_galaxy_a50/device.dart' as samsung_galaxy_a50; -import 'package:device_frame/src/devices/android/oneplus_8_pro/device.dart' +import 'package:device_frame_community/src/devices/android/oneplus_8_pro/device.dart' as i_oneplus_8_pro; -import 'package:device_frame/src/devices/android/sony_xperia_1_ii/device.dart' +import 'package:device_frame_community/src/devices/android/sony_xperia_1_ii/device.dart' as i_sony_xperia_1_ii; import 'package:flutter/material.dart'; diff --git a/device_frame/lib/src/devices/android/oneplus_8_pro/device.dart b/device_frame_community/lib/src/devices/android/oneplus_8_pro/device.dart similarity index 76% rename from device_frame/lib/src/devices/android/oneplus_8_pro/device.dart rename to device_frame_community/lib/src/devices/android/oneplus_8_pro/device.dart index 8909dfbf..826295da 100644 --- a/device_frame/lib/src/devices/android/oneplus_8_pro/device.dart +++ b/device_frame_community/lib/src/devices/android/oneplus_8_pro/device.dart @@ -1,6 +1,6 @@ -import 'package:device_frame/src/info/device_type.dart'; -import 'package:device_frame/src/info/identifier.dart'; -import 'package:device_frame/src/info/info.dart'; +import 'package:device_frame_community/src/info/device_type.dart'; +import 'package:device_frame_community/src/info/identifier.dart'; +import 'package:device_frame_community/src/info/info.dart'; import 'package:flutter/material.dart'; part 'frame.g.dart'; diff --git a/device_frame/lib/src/devices/android/oneplus_8_pro/frame.g.dart b/device_frame_community/lib/src/devices/android/oneplus_8_pro/frame.g.dart similarity index 100% rename from device_frame/lib/src/devices/android/oneplus_8_pro/frame.g.dart rename to device_frame_community/lib/src/devices/android/oneplus_8_pro/frame.g.dart diff --git a/device_frame/lib/src/devices/android/oneplus_8_pro/screen.g.dart b/device_frame_community/lib/src/devices/android/oneplus_8_pro/screen.g.dart similarity index 100% rename from device_frame/lib/src/devices/android/oneplus_8_pro/screen.g.dart rename to device_frame_community/lib/src/devices/android/oneplus_8_pro/screen.g.dart diff --git a/device_frame/lib/src/devices/android/samsung_galaxy_a50/device.dart b/device_frame_community/lib/src/devices/android/samsung_galaxy_a50/device.dart similarity index 76% rename from device_frame/lib/src/devices/android/samsung_galaxy_a50/device.dart rename to device_frame_community/lib/src/devices/android/samsung_galaxy_a50/device.dart index 86bff0c8..e23a9c5f 100644 --- a/device_frame/lib/src/devices/android/samsung_galaxy_a50/device.dart +++ b/device_frame_community/lib/src/devices/android/samsung_galaxy_a50/device.dart @@ -1,6 +1,6 @@ -import 'package:device_frame/src/info/device_type.dart'; -import 'package:device_frame/src/info/identifier.dart'; -import 'package:device_frame/src/info/info.dart'; +import 'package:device_frame_community/src/info/device_type.dart'; +import 'package:device_frame_community/src/info/identifier.dart'; +import 'package:device_frame_community/src/info/info.dart'; import 'package:flutter/material.dart'; part 'frame.g.dart'; diff --git a/device_frame/lib/src/devices/android/samsung_galaxy_a50/frame.g.dart b/device_frame_community/lib/src/devices/android/samsung_galaxy_a50/frame.g.dart similarity index 100% rename from device_frame/lib/src/devices/android/samsung_galaxy_a50/frame.g.dart rename to device_frame_community/lib/src/devices/android/samsung_galaxy_a50/frame.g.dart diff --git a/device_frame/lib/src/devices/android/samsung_galaxy_a50/screen.g.dart b/device_frame_community/lib/src/devices/android/samsung_galaxy_a50/screen.g.dart similarity index 100% rename from device_frame/lib/src/devices/android/samsung_galaxy_a50/screen.g.dart rename to device_frame_community/lib/src/devices/android/samsung_galaxy_a50/screen.g.dart diff --git a/device_frame/lib/src/devices/android/samsung_galaxy_note20/device.dart b/device_frame_community/lib/src/devices/android/samsung_galaxy_note20/device.dart similarity index 77% rename from device_frame/lib/src/devices/android/samsung_galaxy_note20/device.dart rename to device_frame_community/lib/src/devices/android/samsung_galaxy_note20/device.dart index 63772eb2..e4d5113b 100644 --- a/device_frame/lib/src/devices/android/samsung_galaxy_note20/device.dart +++ b/device_frame_community/lib/src/devices/android/samsung_galaxy_note20/device.dart @@ -1,6 +1,6 @@ -import 'package:device_frame/src/info/device_type.dart'; -import 'package:device_frame/src/info/identifier.dart'; -import 'package:device_frame/src/info/info.dart'; +import 'package:device_frame_community/src/info/device_type.dart'; +import 'package:device_frame_community/src/info/identifier.dart'; +import 'package:device_frame_community/src/info/info.dart'; import 'package:flutter/material.dart'; part 'frame.g.dart'; diff --git a/device_frame/lib/src/devices/android/samsung_galaxy_note20/frame.g.dart b/device_frame_community/lib/src/devices/android/samsung_galaxy_note20/frame.g.dart similarity index 100% rename from device_frame/lib/src/devices/android/samsung_galaxy_note20/frame.g.dart rename to device_frame_community/lib/src/devices/android/samsung_galaxy_note20/frame.g.dart diff --git a/device_frame/lib/src/devices/android/samsung_galaxy_note20/screen.g.dart b/device_frame_community/lib/src/devices/android/samsung_galaxy_note20/screen.g.dart similarity index 100% rename from device_frame/lib/src/devices/android/samsung_galaxy_note20/screen.g.dart rename to device_frame_community/lib/src/devices/android/samsung_galaxy_note20/screen.g.dart diff --git a/device_frame/lib/src/devices/android/samsung_galaxy_note20_ultra/device.dart b/device_frame_community/lib/src/devices/android/samsung_galaxy_note20_ultra/device.dart similarity index 77% rename from device_frame/lib/src/devices/android/samsung_galaxy_note20_ultra/device.dart rename to device_frame_community/lib/src/devices/android/samsung_galaxy_note20_ultra/device.dart index 99468ac2..ab770563 100644 --- a/device_frame/lib/src/devices/android/samsung_galaxy_note20_ultra/device.dart +++ b/device_frame_community/lib/src/devices/android/samsung_galaxy_note20_ultra/device.dart @@ -1,6 +1,6 @@ -import 'package:device_frame/src/info/device_type.dart'; -import 'package:device_frame/src/info/identifier.dart'; -import 'package:device_frame/src/info/info.dart'; +import 'package:device_frame_community/src/info/device_type.dart'; +import 'package:device_frame_community/src/info/identifier.dart'; +import 'package:device_frame_community/src/info/info.dart'; import 'package:flutter/material.dart'; part 'frame.g.dart'; diff --git a/device_frame/lib/src/devices/android/samsung_galaxy_note20_ultra/frame.g.dart b/device_frame_community/lib/src/devices/android/samsung_galaxy_note20_ultra/frame.g.dart similarity index 100% rename from device_frame/lib/src/devices/android/samsung_galaxy_note20_ultra/frame.g.dart rename to device_frame_community/lib/src/devices/android/samsung_galaxy_note20_ultra/frame.g.dart diff --git a/device_frame/lib/src/devices/android/samsung_galaxy_note20_ultra/screen.g.dart b/device_frame_community/lib/src/devices/android/samsung_galaxy_note20_ultra/screen.g.dart similarity index 100% rename from device_frame/lib/src/devices/android/samsung_galaxy_note20_ultra/screen.g.dart rename to device_frame_community/lib/src/devices/android/samsung_galaxy_note20_ultra/screen.g.dart diff --git a/device_frame/lib/src/devices/android/samsung_galaxy_s20/device.dart b/device_frame_community/lib/src/devices/android/samsung_galaxy_s20/device.dart similarity index 76% rename from device_frame/lib/src/devices/android/samsung_galaxy_s20/device.dart rename to device_frame_community/lib/src/devices/android/samsung_galaxy_s20/device.dart index 9d960a8f..9ab01bd2 100644 --- a/device_frame/lib/src/devices/android/samsung_galaxy_s20/device.dart +++ b/device_frame_community/lib/src/devices/android/samsung_galaxy_s20/device.dart @@ -1,6 +1,6 @@ -import 'package:device_frame/src/info/device_type.dart'; -import 'package:device_frame/src/info/identifier.dart'; -import 'package:device_frame/src/info/info.dart'; +import 'package:device_frame_community/src/info/device_type.dart'; +import 'package:device_frame_community/src/info/identifier.dart'; +import 'package:device_frame_community/src/info/info.dart'; import 'package:flutter/material.dart'; part 'frame.g.dart'; diff --git a/device_frame/lib/src/devices/android/samsung_galaxy_s20/frame.g.dart b/device_frame_community/lib/src/devices/android/samsung_galaxy_s20/frame.g.dart similarity index 100% rename from device_frame/lib/src/devices/android/samsung_galaxy_s20/frame.g.dart rename to device_frame_community/lib/src/devices/android/samsung_galaxy_s20/frame.g.dart diff --git a/device_frame/lib/src/devices/android/samsung_galaxy_s20/screen.g.dart b/device_frame_community/lib/src/devices/android/samsung_galaxy_s20/screen.g.dart similarity index 100% rename from device_frame/lib/src/devices/android/samsung_galaxy_s20/screen.g.dart rename to device_frame_community/lib/src/devices/android/samsung_galaxy_s20/screen.g.dart diff --git a/device_frame/lib/src/devices/android/sony_xperia_1_ii/device.dart b/device_frame_community/lib/src/devices/android/sony_xperia_1_ii/device.dart similarity index 76% rename from device_frame/lib/src/devices/android/sony_xperia_1_ii/device.dart rename to device_frame_community/lib/src/devices/android/sony_xperia_1_ii/device.dart index f6780e46..40a6aa8f 100644 --- a/device_frame/lib/src/devices/android/sony_xperia_1_ii/device.dart +++ b/device_frame_community/lib/src/devices/android/sony_xperia_1_ii/device.dart @@ -1,6 +1,6 @@ -import 'package:device_frame/src/info/device_type.dart'; -import 'package:device_frame/src/info/identifier.dart'; -import 'package:device_frame/src/info/info.dart'; +import 'package:device_frame_community/src/info/device_type.dart'; +import 'package:device_frame_community/src/info/identifier.dart'; +import 'package:device_frame_community/src/info/info.dart'; import 'package:flutter/material.dart'; part 'frame.g.dart'; diff --git a/device_frame/lib/src/devices/android/sony_xperia_1_ii/frame.g.dart b/device_frame_community/lib/src/devices/android/sony_xperia_1_ii/frame.g.dart similarity index 100% rename from device_frame/lib/src/devices/android/sony_xperia_1_ii/frame.g.dart rename to device_frame_community/lib/src/devices/android/sony_xperia_1_ii/frame.g.dart diff --git a/device_frame/lib/src/devices/android/sony_xperia_1_ii/screen.g.dart b/device_frame_community/lib/src/devices/android/sony_xperia_1_ii/screen.g.dart similarity index 100% rename from device_frame/lib/src/devices/android/sony_xperia_1_ii/screen.g.dart rename to device_frame_community/lib/src/devices/android/sony_xperia_1_ii/screen.g.dart diff --git a/device_frame/lib/src/devices/devices.dart b/device_frame_community/lib/src/devices/devices.dart similarity index 92% rename from device_frame/lib/src/devices/devices.dart rename to device_frame_community/lib/src/devices/devices.dart index 35e7dad5..5e8f9693 100644 --- a/device_frame/lib/src/devices/devices.dart +++ b/device_frame_community/lib/src/devices/devices.dart @@ -1,4 +1,4 @@ -import 'package:device_frame/src/info/info.dart'; +import 'package:device_frame_community/src/info/info.dart'; import 'android/devices.dart'; import 'ios/devices.dart'; diff --git a/device_frame/lib/src/devices/generic/base/draw_extensions.dart b/device_frame_community/lib/src/devices/generic/base/draw_extensions.dart similarity index 100% rename from device_frame/lib/src/devices/generic/base/draw_extensions.dart rename to device_frame_community/lib/src/devices/generic/base/draw_extensions.dart diff --git a/device_frame/lib/src/devices/generic/desktop_monitor/device.dart b/device_frame_community/lib/src/devices/generic/desktop_monitor/device.dart similarity index 81% rename from device_frame/lib/src/devices/generic/desktop_monitor/device.dart rename to device_frame_community/lib/src/devices/generic/desktop_monitor/device.dart index 6dc82691..c887208c 100644 --- a/device_frame/lib/src/devices/generic/desktop_monitor/device.dart +++ b/device_frame_community/lib/src/devices/generic/desktop_monitor/device.dart @@ -1,7 +1,7 @@ -import 'package:device_frame/src/devices/generic/base/draw_extensions.dart'; -import 'package:device_frame/src/info/device_type.dart'; -import 'package:device_frame/src/info/identifier.dart'; -import 'package:device_frame/src/info/info.dart'; +import 'package:device_frame_community/src/devices/generic/base/draw_extensions.dart'; +import 'package:device_frame_community/src/info/device_type.dart'; +import 'package:device_frame_community/src/info/identifier.dart'; +import 'package:device_frame_community/src/info/info.dart'; import 'package:flutter/material.dart'; part 'frame.dart'; diff --git a/device_frame/lib/src/devices/generic/desktop_monitor/frame.dart b/device_frame_community/lib/src/devices/generic/desktop_monitor/frame.dart similarity index 100% rename from device_frame/lib/src/devices/generic/desktop_monitor/frame.dart rename to device_frame_community/lib/src/devices/generic/desktop_monitor/frame.dart diff --git a/device_frame/lib/src/devices/generic/laptop/device.dart b/device_frame_community/lib/src/devices/generic/laptop/device.dart similarity index 78% rename from device_frame/lib/src/devices/generic/laptop/device.dart rename to device_frame_community/lib/src/devices/generic/laptop/device.dart index cc3fe5ba..cc08af9a 100644 --- a/device_frame/lib/src/devices/generic/laptop/device.dart +++ b/device_frame_community/lib/src/devices/generic/laptop/device.dart @@ -1,7 +1,7 @@ -import 'package:device_frame/src/devices/generic/base/draw_extensions.dart'; -import 'package:device_frame/src/info/device_type.dart'; -import 'package:device_frame/src/info/identifier.dart'; -import 'package:device_frame/src/info/info.dart'; +import 'package:device_frame_community/src/devices/generic/base/draw_extensions.dart'; +import 'package:device_frame_community/src/info/device_type.dart'; +import 'package:device_frame_community/src/info/identifier.dart'; +import 'package:device_frame_community/src/info/info.dart'; import 'package:flutter/material.dart'; part 'frame.dart'; diff --git a/device_frame/lib/src/devices/generic/laptop/frame.dart b/device_frame_community/lib/src/devices/generic/laptop/frame.dart similarity index 100% rename from device_frame/lib/src/devices/generic/laptop/frame.dart rename to device_frame_community/lib/src/devices/generic/laptop/frame.dart diff --git a/device_frame/lib/src/devices/generic/phone/device.dart b/device_frame_community/lib/src/devices/generic/phone/device.dart similarity index 75% rename from device_frame/lib/src/devices/generic/phone/device.dart rename to device_frame_community/lib/src/devices/generic/phone/device.dart index 1887d655..760bc2be 100644 --- a/device_frame/lib/src/devices/generic/phone/device.dart +++ b/device_frame_community/lib/src/devices/generic/phone/device.dart @@ -1,7 +1,7 @@ -import 'package:device_frame/src/devices/generic/base/draw_extensions.dart'; -import 'package:device_frame/src/info/device_type.dart'; -import 'package:device_frame/src/info/identifier.dart'; -import 'package:device_frame/src/info/info.dart'; +import 'package:device_frame_community/src/devices/generic/base/draw_extensions.dart'; +import 'package:device_frame_community/src/info/device_type.dart'; +import 'package:device_frame_community/src/info/identifier.dart'; +import 'package:device_frame_community/src/info/info.dart'; import 'package:flutter/material.dart'; part 'frame.dart'; diff --git a/device_frame/lib/src/devices/generic/phone/frame.dart b/device_frame_community/lib/src/devices/generic/phone/frame.dart similarity index 100% rename from device_frame/lib/src/devices/generic/phone/frame.dart rename to device_frame_community/lib/src/devices/generic/phone/frame.dart diff --git a/device_frame/lib/src/devices/generic/tablet/device.dart b/device_frame_community/lib/src/devices/generic/tablet/device.dart similarity index 75% rename from device_frame/lib/src/devices/generic/tablet/device.dart rename to device_frame_community/lib/src/devices/generic/tablet/device.dart index beac476d..890c107b 100644 --- a/device_frame/lib/src/devices/generic/tablet/device.dart +++ b/device_frame_community/lib/src/devices/generic/tablet/device.dart @@ -1,7 +1,7 @@ -import 'package:device_frame/src/devices/generic/base/draw_extensions.dart'; -import 'package:device_frame/src/info/device_type.dart'; -import 'package:device_frame/src/info/identifier.dart'; -import 'package:device_frame/src/info/info.dart'; +import 'package:device_frame_community/src/devices/generic/base/draw_extensions.dart'; +import 'package:device_frame_community/src/info/device_type.dart'; +import 'package:device_frame_community/src/info/identifier.dart'; +import 'package:device_frame_community/src/info/info.dart'; import 'package:flutter/material.dart'; part 'frame.dart'; diff --git a/device_frame/lib/src/devices/generic/tablet/frame.dart b/device_frame_community/lib/src/devices/generic/tablet/frame.dart similarity index 100% rename from device_frame/lib/src/devices/generic/tablet/frame.dart rename to device_frame_community/lib/src/devices/generic/tablet/frame.dart diff --git a/device_frame/lib/src/devices/ios/devices.dart b/device_frame_community/lib/src/devices/ios/devices.dart similarity index 55% rename from device_frame/lib/src/devices/ios/devices.dart rename to device_frame_community/lib/src/devices/ios/devices.dart index 93ba50dd..41f178cd 100644 --- a/device_frame/lib/src/devices/ios/devices.dart +++ b/device_frame_community/lib/src/devices/ios/devices.dart @@ -1,24 +1,24 @@ -import 'package:device_frame/src/info/info.dart'; +import 'package:device_frame_community/src/info/info.dart'; -import 'package:device_frame/src/devices/ios/iphone_12_mini/device.dart' +import 'package:device_frame_community/src/devices/ios/iphone_12_mini/device.dart' as i_iphone_12_mini; -import 'package:device_frame/src/devices/ios/iphone_12/device.dart' +import 'package:device_frame_community/src/devices/ios/iphone_12/device.dart' as i_iphone_12; -import 'package:device_frame/src/devices/ios/iphone_12_pro_max/device.dart' +import 'package:device_frame_community/src/devices/ios/iphone_12_pro_max/device.dart' as i_iphone_12_pro_max; -import 'package:device_frame/src/devices/ios/iphone_13_mini/device.dart' +import 'package:device_frame_community/src/devices/ios/iphone_13_mini/device.dart' as i_iphone_13_mini; -import 'package:device_frame/src/devices/ios/iphone_13/device.dart' +import 'package:device_frame_community/src/devices/ios/iphone_13/device.dart' as i_iphone_13; -import 'package:device_frame/src/devices/ios/iphone_13_pro_max/device.dart' +import 'package:device_frame_community/src/devices/ios/iphone_13_pro_max/device.dart' as i_iphone_13_pro_max; -import 'package:device_frame/src/devices/ios/iphone_se/device.dart' +import 'package:device_frame_community/src/devices/ios/iphone_se/device.dart' as i_iphone_se; -import 'package:device_frame/src/devices/ios/ipad_air_4/device.dart' +import 'package:device_frame_community/src/devices/ios/ipad_air_4/device.dart' as i_ipad_air_4; -import 'package:device_frame/src/devices/ios/ipad/device.dart' as i_ipad; -import 'package:device_frame/src/devices/ios/ipad_pro_11inches/device.dart' +import 'package:device_frame_community/src/devices/ios/ipad/device.dart' as i_ipad; +import 'package:device_frame_community/src/devices/ios/ipad_pro_11inches/device.dart' as i_ipad_pro_11inches; /// A set of iOS devices. diff --git a/device_frame/lib/src/devices/ios/ipad/device.dart b/device_frame_community/lib/src/devices/ios/ipad/device.dart similarity index 75% rename from device_frame/lib/src/devices/ios/ipad/device.dart rename to device_frame_community/lib/src/devices/ios/ipad/device.dart index 791bc7b8..d7f1a78c 100644 --- a/device_frame/lib/src/devices/ios/ipad/device.dart +++ b/device_frame_community/lib/src/devices/ios/ipad/device.dart @@ -1,6 +1,6 @@ -import 'package:device_frame/src/info/device_type.dart'; -import 'package:device_frame/src/info/identifier.dart'; -import 'package:device_frame/src/info/info.dart'; +import 'package:device_frame_community/src/info/device_type.dart'; +import 'package:device_frame_community/src/info/identifier.dart'; +import 'package:device_frame_community/src/info/info.dart'; import 'package:flutter/material.dart'; part 'frame.g.dart'; diff --git a/device_frame/lib/src/devices/ios/ipad/frame.g.dart b/device_frame_community/lib/src/devices/ios/ipad/frame.g.dart similarity index 100% rename from device_frame/lib/src/devices/ios/ipad/frame.g.dart rename to device_frame_community/lib/src/devices/ios/ipad/frame.g.dart diff --git a/device_frame/lib/src/devices/ios/ipad/screen.g.dart b/device_frame_community/lib/src/devices/ios/ipad/screen.g.dart similarity index 100% rename from device_frame/lib/src/devices/ios/ipad/screen.g.dart rename to device_frame_community/lib/src/devices/ios/ipad/screen.g.dart diff --git a/device_frame/lib/src/devices/ios/ipad_air_4/device.dart b/device_frame_community/lib/src/devices/ios/ipad_air_4/device.dart similarity index 76% rename from device_frame/lib/src/devices/ios/ipad_air_4/device.dart rename to device_frame_community/lib/src/devices/ios/ipad_air_4/device.dart index 467b8d8a..984e1906 100644 --- a/device_frame/lib/src/devices/ios/ipad_air_4/device.dart +++ b/device_frame_community/lib/src/devices/ios/ipad_air_4/device.dart @@ -1,6 +1,6 @@ -import 'package:device_frame/src/info/device_type.dart'; -import 'package:device_frame/src/info/identifier.dart'; -import 'package:device_frame/src/info/info.dart'; +import 'package:device_frame_community/src/info/device_type.dart'; +import 'package:device_frame_community/src/info/identifier.dart'; +import 'package:device_frame_community/src/info/info.dart'; import 'package:flutter/material.dart'; part 'frame.g.dart'; diff --git a/device_frame/lib/src/devices/ios/ipad_air_4/frame.g.dart b/device_frame_community/lib/src/devices/ios/ipad_air_4/frame.g.dart similarity index 100% rename from device_frame/lib/src/devices/ios/ipad_air_4/frame.g.dart rename to device_frame_community/lib/src/devices/ios/ipad_air_4/frame.g.dart diff --git a/device_frame/lib/src/devices/ios/ipad_air_4/screen.g.dart b/device_frame_community/lib/src/devices/ios/ipad_air_4/screen.g.dart similarity index 100% rename from device_frame/lib/src/devices/ios/ipad_air_4/screen.g.dart rename to device_frame_community/lib/src/devices/ios/ipad_air_4/screen.g.dart diff --git a/device_frame/lib/src/devices/ios/ipad_pro_11inches/device.dart b/device_frame_community/lib/src/devices/ios/ipad_pro_11inches/device.dart similarity index 76% rename from device_frame/lib/src/devices/ios/ipad_pro_11inches/device.dart rename to device_frame_community/lib/src/devices/ios/ipad_pro_11inches/device.dart index a2327850..7650ddc7 100644 --- a/device_frame/lib/src/devices/ios/ipad_pro_11inches/device.dart +++ b/device_frame_community/lib/src/devices/ios/ipad_pro_11inches/device.dart @@ -1,6 +1,6 @@ -import 'package:device_frame/src/info/device_type.dart'; -import 'package:device_frame/src/info/identifier.dart'; -import 'package:device_frame/src/info/info.dart'; +import 'package:device_frame_community/src/info/device_type.dart'; +import 'package:device_frame_community/src/info/identifier.dart'; +import 'package:device_frame_community/src/info/info.dart'; import 'package:flutter/material.dart'; part 'frame.g.dart'; diff --git a/device_frame/lib/src/devices/ios/ipad_pro_11inches/frame.g.dart b/device_frame_community/lib/src/devices/ios/ipad_pro_11inches/frame.g.dart similarity index 100% rename from device_frame/lib/src/devices/ios/ipad_pro_11inches/frame.g.dart rename to device_frame_community/lib/src/devices/ios/ipad_pro_11inches/frame.g.dart diff --git a/device_frame/lib/src/devices/ios/ipad_pro_11inches/screen.g.dart b/device_frame_community/lib/src/devices/ios/ipad_pro_11inches/screen.g.dart similarity index 100% rename from device_frame/lib/src/devices/ios/ipad_pro_11inches/screen.g.dart rename to device_frame_community/lib/src/devices/ios/ipad_pro_11inches/screen.g.dart diff --git a/device_frame/lib/src/devices/ios/iphone_12/device.dart b/device_frame_community/lib/src/devices/ios/iphone_12/device.dart similarity index 76% rename from device_frame/lib/src/devices/ios/iphone_12/device.dart rename to device_frame_community/lib/src/devices/ios/iphone_12/device.dart index 899263c2..6f69e311 100644 --- a/device_frame/lib/src/devices/ios/iphone_12/device.dart +++ b/device_frame_community/lib/src/devices/ios/iphone_12/device.dart @@ -1,6 +1,6 @@ -import 'package:device_frame/src/info/device_type.dart'; -import 'package:device_frame/src/info/identifier.dart'; -import 'package:device_frame/src/info/info.dart'; +import 'package:device_frame_community/src/info/device_type.dart'; +import 'package:device_frame_community/src/info/identifier.dart'; +import 'package:device_frame_community/src/info/info.dart'; import 'package:flutter/material.dart'; part 'frame.g.dart'; diff --git a/device_frame/lib/src/devices/ios/iphone_12/frame.g.dart b/device_frame_community/lib/src/devices/ios/iphone_12/frame.g.dart similarity index 100% rename from device_frame/lib/src/devices/ios/iphone_12/frame.g.dart rename to device_frame_community/lib/src/devices/ios/iphone_12/frame.g.dart diff --git a/device_frame/lib/src/devices/ios/iphone_12/screen.g.dart b/device_frame_community/lib/src/devices/ios/iphone_12/screen.g.dart similarity index 100% rename from device_frame/lib/src/devices/ios/iphone_12/screen.g.dart rename to device_frame_community/lib/src/devices/ios/iphone_12/screen.g.dart diff --git a/device_frame/lib/src/devices/ios/iphone_12_mini/device.dart b/device_frame_community/lib/src/devices/ios/iphone_12_mini/device.dart similarity index 76% rename from device_frame/lib/src/devices/ios/iphone_12_mini/device.dart rename to device_frame_community/lib/src/devices/ios/iphone_12_mini/device.dart index 756a2393..dab3cf6a 100644 --- a/device_frame/lib/src/devices/ios/iphone_12_mini/device.dart +++ b/device_frame_community/lib/src/devices/ios/iphone_12_mini/device.dart @@ -1,6 +1,6 @@ -import 'package:device_frame/src/info/device_type.dart'; -import 'package:device_frame/src/info/identifier.dart'; -import 'package:device_frame/src/info/info.dart'; +import 'package:device_frame_community/src/info/device_type.dart'; +import 'package:device_frame_community/src/info/identifier.dart'; +import 'package:device_frame_community/src/info/info.dart'; import 'package:flutter/material.dart'; part 'frame.g.dart'; diff --git a/device_frame/lib/src/devices/ios/iphone_12_mini/frame.g.dart b/device_frame_community/lib/src/devices/ios/iphone_12_mini/frame.g.dart similarity index 100% rename from device_frame/lib/src/devices/ios/iphone_12_mini/frame.g.dart rename to device_frame_community/lib/src/devices/ios/iphone_12_mini/frame.g.dart diff --git a/device_frame/lib/src/devices/ios/iphone_12_mini/screen.g.dart b/device_frame_community/lib/src/devices/ios/iphone_12_mini/screen.g.dart similarity index 100% rename from device_frame/lib/src/devices/ios/iphone_12_mini/screen.g.dart rename to device_frame_community/lib/src/devices/ios/iphone_12_mini/screen.g.dart diff --git a/device_frame/lib/src/devices/ios/iphone_12_pro_max/device.dart b/device_frame_community/lib/src/devices/ios/iphone_12_pro_max/device.dart similarity index 76% rename from device_frame/lib/src/devices/ios/iphone_12_pro_max/device.dart rename to device_frame_community/lib/src/devices/ios/iphone_12_pro_max/device.dart index 33246d36..a09f9270 100644 --- a/device_frame/lib/src/devices/ios/iphone_12_pro_max/device.dart +++ b/device_frame_community/lib/src/devices/ios/iphone_12_pro_max/device.dart @@ -1,6 +1,6 @@ -import 'package:device_frame/src/info/device_type.dart'; -import 'package:device_frame/src/info/identifier.dart'; -import 'package:device_frame/src/info/info.dart'; +import 'package:device_frame_community/src/info/device_type.dart'; +import 'package:device_frame_community/src/info/identifier.dart'; +import 'package:device_frame_community/src/info/info.dart'; import 'package:flutter/material.dart'; part 'frame.g.dart'; diff --git a/device_frame/lib/src/devices/ios/iphone_12_pro_max/frame.g.dart b/device_frame_community/lib/src/devices/ios/iphone_12_pro_max/frame.g.dart similarity index 100% rename from device_frame/lib/src/devices/ios/iphone_12_pro_max/frame.g.dart rename to device_frame_community/lib/src/devices/ios/iphone_12_pro_max/frame.g.dart diff --git a/device_frame/lib/src/devices/ios/iphone_12_pro_max/screen.g.dart b/device_frame_community/lib/src/devices/ios/iphone_12_pro_max/screen.g.dart similarity index 100% rename from device_frame/lib/src/devices/ios/iphone_12_pro_max/screen.g.dart rename to device_frame_community/lib/src/devices/ios/iphone_12_pro_max/screen.g.dart diff --git a/device_frame/lib/src/devices/ios/iphone_13/device.dart b/device_frame_community/lib/src/devices/ios/iphone_13/device.dart similarity index 76% rename from device_frame/lib/src/devices/ios/iphone_13/device.dart rename to device_frame_community/lib/src/devices/ios/iphone_13/device.dart index a5710fff..1e67455a 100644 --- a/device_frame/lib/src/devices/ios/iphone_13/device.dart +++ b/device_frame_community/lib/src/devices/ios/iphone_13/device.dart @@ -1,6 +1,6 @@ -import 'package:device_frame/src/info/device_type.dart'; -import 'package:device_frame/src/info/identifier.dart'; -import 'package:device_frame/src/info/info.dart'; +import 'package:device_frame_community/src/info/device_type.dart'; +import 'package:device_frame_community/src/info/identifier.dart'; +import 'package:device_frame_community/src/info/info.dart'; import 'package:flutter/material.dart'; part 'frame.g.dart'; diff --git a/device_frame/lib/src/devices/ios/iphone_13/frame.g.dart b/device_frame_community/lib/src/devices/ios/iphone_13/frame.g.dart similarity index 100% rename from device_frame/lib/src/devices/ios/iphone_13/frame.g.dart rename to device_frame_community/lib/src/devices/ios/iphone_13/frame.g.dart diff --git a/device_frame/lib/src/devices/ios/iphone_13/screen.g.dart b/device_frame_community/lib/src/devices/ios/iphone_13/screen.g.dart similarity index 100% rename from device_frame/lib/src/devices/ios/iphone_13/screen.g.dart rename to device_frame_community/lib/src/devices/ios/iphone_13/screen.g.dart diff --git a/device_frame/lib/src/devices/ios/iphone_13_mini/device.dart b/device_frame_community/lib/src/devices/ios/iphone_13_mini/device.dart similarity index 76% rename from device_frame/lib/src/devices/ios/iphone_13_mini/device.dart rename to device_frame_community/lib/src/devices/ios/iphone_13_mini/device.dart index 897fb322..7f2b61ff 100644 --- a/device_frame/lib/src/devices/ios/iphone_13_mini/device.dart +++ b/device_frame_community/lib/src/devices/ios/iphone_13_mini/device.dart @@ -1,6 +1,6 @@ -import 'package:device_frame/src/info/device_type.dart'; -import 'package:device_frame/src/info/identifier.dart'; -import 'package:device_frame/src/info/info.dart'; +import 'package:device_frame_community/src/info/device_type.dart'; +import 'package:device_frame_community/src/info/identifier.dart'; +import 'package:device_frame_community/src/info/info.dart'; import 'package:flutter/material.dart'; part 'frame.g.dart'; diff --git a/device_frame/lib/src/devices/ios/iphone_13_mini/frame.g.dart b/device_frame_community/lib/src/devices/ios/iphone_13_mini/frame.g.dart similarity index 100% rename from device_frame/lib/src/devices/ios/iphone_13_mini/frame.g.dart rename to device_frame_community/lib/src/devices/ios/iphone_13_mini/frame.g.dart diff --git a/device_frame/lib/src/devices/ios/iphone_13_mini/screen.g.dart b/device_frame_community/lib/src/devices/ios/iphone_13_mini/screen.g.dart similarity index 100% rename from device_frame/lib/src/devices/ios/iphone_13_mini/screen.g.dart rename to device_frame_community/lib/src/devices/ios/iphone_13_mini/screen.g.dart diff --git a/device_frame/lib/src/devices/ios/iphone_13_pro_max/device.dart b/device_frame_community/lib/src/devices/ios/iphone_13_pro_max/device.dart similarity index 76% rename from device_frame/lib/src/devices/ios/iphone_13_pro_max/device.dart rename to device_frame_community/lib/src/devices/ios/iphone_13_pro_max/device.dart index 579583a0..922b99fc 100644 --- a/device_frame/lib/src/devices/ios/iphone_13_pro_max/device.dart +++ b/device_frame_community/lib/src/devices/ios/iphone_13_pro_max/device.dart @@ -1,6 +1,6 @@ -import 'package:device_frame/src/info/device_type.dart'; -import 'package:device_frame/src/info/identifier.dart'; -import 'package:device_frame/src/info/info.dart'; +import 'package:device_frame_community/src/info/device_type.dart'; +import 'package:device_frame_community/src/info/identifier.dart'; +import 'package:device_frame_community/src/info/info.dart'; import 'package:flutter/material.dart'; part 'frame.g.dart'; diff --git a/device_frame/lib/src/devices/ios/iphone_13_pro_max/frame.g.dart b/device_frame_community/lib/src/devices/ios/iphone_13_pro_max/frame.g.dart similarity index 100% rename from device_frame/lib/src/devices/ios/iphone_13_pro_max/frame.g.dart rename to device_frame_community/lib/src/devices/ios/iphone_13_pro_max/frame.g.dart diff --git a/device_frame/lib/src/devices/ios/iphone_13_pro_max/screen.g.dart b/device_frame_community/lib/src/devices/ios/iphone_13_pro_max/screen.g.dart similarity index 100% rename from device_frame/lib/src/devices/ios/iphone_13_pro_max/screen.g.dart rename to device_frame_community/lib/src/devices/ios/iphone_13_pro_max/screen.g.dart diff --git a/device_frame/lib/src/devices/ios/iphone_se/device.dart b/device_frame_community/lib/src/devices/ios/iphone_se/device.dart similarity index 76% rename from device_frame/lib/src/devices/ios/iphone_se/device.dart rename to device_frame_community/lib/src/devices/ios/iphone_se/device.dart index 028fb5ea..e37a35da 100644 --- a/device_frame/lib/src/devices/ios/iphone_se/device.dart +++ b/device_frame_community/lib/src/devices/ios/iphone_se/device.dart @@ -1,6 +1,6 @@ -import 'package:device_frame/src/info/device_type.dart'; -import 'package:device_frame/src/info/identifier.dart'; -import 'package:device_frame/src/info/info.dart'; +import 'package:device_frame_community/src/info/device_type.dart'; +import 'package:device_frame_community/src/info/identifier.dart'; +import 'package:device_frame_community/src/info/info.dart'; import 'package:flutter/material.dart'; part 'frame.g.dart'; diff --git a/device_frame/lib/src/devices/ios/iphone_se/frame.g.dart b/device_frame_community/lib/src/devices/ios/iphone_se/frame.g.dart similarity index 100% rename from device_frame/lib/src/devices/ios/iphone_se/frame.g.dart rename to device_frame_community/lib/src/devices/ios/iphone_se/frame.g.dart diff --git a/device_frame/lib/src/devices/ios/iphone_se/screen.g.dart b/device_frame_community/lib/src/devices/ios/iphone_se/screen.g.dart similarity index 100% rename from device_frame/lib/src/devices/ios/iphone_se/screen.g.dart rename to device_frame_community/lib/src/devices/ios/iphone_se/screen.g.dart diff --git a/device_frame/lib/src/devices/linux/devices.dart b/device_frame_community/lib/src/devices/linux/devices.dart similarity index 94% rename from device_frame/lib/src/devices/linux/devices.dart rename to device_frame_community/lib/src/devices/linux/devices.dart index 31ba9e90..c7e0a86b 100644 --- a/device_frame/lib/src/devices/linux/devices.dart +++ b/device_frame_community/lib/src/devices/linux/devices.dart @@ -1,4 +1,4 @@ -import 'package:device_frame/src/info/info.dart'; +import 'package:device_frame_community/src/info/info.dart'; import 'package:flutter/widgets.dart'; /// A set of Linux devices. diff --git a/device_frame/lib/src/devices/macos/devices.dart b/device_frame_community/lib/src/devices/macos/devices.dart similarity index 82% rename from device_frame/lib/src/devices/macos/devices.dart rename to device_frame_community/lib/src/devices/macos/devices.dart index 52e0dfa7..70fd19ee 100644 --- a/device_frame/lib/src/devices/macos/devices.dart +++ b/device_frame_community/lib/src/devices/macos/devices.dart @@ -1,6 +1,6 @@ -import 'package:device_frame/src/info/info.dart'; +import 'package:device_frame_community/src/info/info.dart'; import 'package:flutter/widgets.dart'; -import 'package:device_frame/src/devices/macos/macbook_pro/device.dart' +import 'package:device_frame_community/src/devices/macos/macbook_pro/device.dart' as i_macbook_pro; /// A set of macOS devices. diff --git a/device_frame/lib/src/devices/macos/macbook_pro/device.dart b/device_frame_community/lib/src/devices/macos/macbook_pro/device.dart similarity index 76% rename from device_frame/lib/src/devices/macos/macbook_pro/device.dart rename to device_frame_community/lib/src/devices/macos/macbook_pro/device.dart index 9a1c7053..6b17cf51 100644 --- a/device_frame/lib/src/devices/macos/macbook_pro/device.dart +++ b/device_frame_community/lib/src/devices/macos/macbook_pro/device.dart @@ -1,9 +1,9 @@ import 'dart:ui' as ui; -import 'package:device_frame/src/info/device_type.dart'; -import 'package:device_frame/src/info/identifier.dart'; -import 'package:device_frame/src/info/info.dart'; -import 'package:device_frame/src/devices/generic/base/draw_extensions.dart'; +import 'package:device_frame_community/src/info/device_type.dart'; +import 'package:device_frame_community/src/info/identifier.dart'; +import 'package:device_frame_community/src/info/info.dart'; +import 'package:device_frame_community/src/devices/generic/base/draw_extensions.dart'; import 'package:flutter/material.dart'; part 'frame.dart'; diff --git a/device_frame/lib/src/devices/macos/macbook_pro/frame.dart b/device_frame_community/lib/src/devices/macos/macbook_pro/frame.dart similarity index 100% rename from device_frame/lib/src/devices/macos/macbook_pro/frame.dart rename to device_frame_community/lib/src/devices/macos/macbook_pro/frame.dart diff --git a/device_frame/lib/src/devices/windows/devices.dart b/device_frame_community/lib/src/devices/windows/devices.dart similarity index 94% rename from device_frame/lib/src/devices/windows/devices.dart rename to device_frame_community/lib/src/devices/windows/devices.dart index 26ae7ced..2a20e6cd 100644 --- a/device_frame/lib/src/devices/windows/devices.dart +++ b/device_frame_community/lib/src/devices/windows/devices.dart @@ -1,4 +1,4 @@ -import 'package:device_frame/src/info/info.dart'; +import 'package:device_frame_community/src/info/info.dart'; import 'package:flutter/widgets.dart'; diff --git a/device_frame/lib/src/frame.dart b/device_frame_community/lib/src/frame.dart similarity index 100% rename from device_frame/lib/src/frame.dart rename to device_frame_community/lib/src/frame.dart diff --git a/device_frame/lib/src/info/device_type.dart b/device_frame_community/lib/src/info/device_type.dart similarity index 100% rename from device_frame/lib/src/info/device_type.dart rename to device_frame_community/lib/src/info/device_type.dart diff --git a/device_frame/lib/src/info/identifier.dart b/device_frame_community/lib/src/info/identifier.dart similarity index 100% rename from device_frame/lib/src/info/identifier.dart rename to device_frame_community/lib/src/info/identifier.dart diff --git a/device_frame/lib/src/info/info.dart b/device_frame_community/lib/src/info/info.dart similarity index 92% rename from device_frame/lib/src/info/info.dart rename to device_frame_community/lib/src/info/info.dart index edb2773c..9991ec0e 100644 --- a/device_frame/lib/src/info/info.dart +++ b/device_frame_community/lib/src/info/info.dart @@ -1,7 +1,7 @@ -import 'package:device_frame/src/devices/generic/desktop_monitor/device.dart'; -import 'package:device_frame/src/devices/generic/laptop/device.dart'; -import 'package:device_frame/src/devices/generic/phone/device.dart'; -import 'package:device_frame/src/devices/generic/tablet/device.dart'; +import 'package:device_frame_community/src/devices/generic/desktop_monitor/device.dart'; +import 'package:device_frame_community/src/devices/generic/laptop/device.dart'; +import 'package:device_frame_community/src/devices/generic/phone/device.dart'; +import 'package:device_frame_community/src/devices/generic/tablet/device.dart'; import 'package:flutter/foundation.dart'; import 'package:flutter/material.dart'; import 'package:flutter/widgets.dart'; diff --git a/device_frame/lib/src/info/info.freezed.dart b/device_frame_community/lib/src/info/info.freezed.dart similarity index 100% rename from device_frame/lib/src/info/info.freezed.dart rename to device_frame_community/lib/src/info/info.freezed.dart diff --git a/device_frame/lib/src/keyboard/button.dart b/device_frame_community/lib/src/keyboard/button.dart similarity index 100% rename from device_frame/lib/src/keyboard/button.dart rename to device_frame_community/lib/src/keyboard/button.dart diff --git a/device_frame/lib/src/keyboard/virtual_keyboard.dart b/device_frame_community/lib/src/keyboard/virtual_keyboard.dart similarity index 99% rename from device_frame/lib/src/keyboard/virtual_keyboard.dart rename to device_frame_community/lib/src/keyboard/virtual_keyboard.dart index cf3ea1f3..a592fc19 100644 --- a/device_frame/lib/src/keyboard/virtual_keyboard.dart +++ b/device_frame_community/lib/src/keyboard/virtual_keyboard.dart @@ -1,4 +1,4 @@ -import 'package:device_frame/device_frame.dart'; +import 'package:device_frame_community/device_frame_community.dart'; import 'package:flutter/material.dart'; import 'package:flutter/widgets.dart'; diff --git a/device_frame/lib/src/theme.dart b/device_frame_community/lib/src/theme.dart similarity index 100% rename from device_frame/lib/src/theme.dart rename to device_frame_community/lib/src/theme.dart diff --git a/device_frame/lib/src/theme.freezed.dart b/device_frame_community/lib/src/theme.freezed.dart similarity index 100% rename from device_frame/lib/src/theme.freezed.dart rename to device_frame_community/lib/src/theme.freezed.dart diff --git a/device_frame/pubspec.yaml b/device_frame_community/pubspec.yaml similarity index 72% rename from device_frame/pubspec.yaml rename to device_frame_community/pubspec.yaml index f962eb8c..085202ec 100644 --- a/device_frame/pubspec.yaml +++ b/device_frame_community/pubspec.yaml @@ -1,7 +1,7 @@ -name: device_frame +name: device_frame_community description: Mockups for common devices. -version: 1.0.0 -homepage: https://github.com/aloisdeniel/flutter_device_preview/device_frame +version: 1.0.2 +homepage: https://github.com/the-mac/flutter_device_preview/device_frame_community environment: sdk: ">=2.12.0 <3.0.0" diff --git a/device_frame/test/devices/android_phone_big.png b/device_frame_community/test/devices/android_phone_big.png similarity index 100% rename from device_frame/test/devices/android_phone_big.png rename to device_frame_community/test/devices/android_phone_big.png diff --git a/device_frame/test/devices/android_phone_medium.png b/device_frame_community/test/devices/android_phone_medium.png similarity index 100% rename from device_frame/test/devices/android_phone_medium.png rename to device_frame_community/test/devices/android_phone_medium.png diff --git a/device_frame/test/devices/android_phone_oneplus-8-pro.png b/device_frame_community/test/devices/android_phone_oneplus-8-pro.png similarity index 100% rename from device_frame/test/devices/android_phone_oneplus-8-pro.png rename to device_frame_community/test/devices/android_phone_oneplus-8-pro.png diff --git a/device_frame/test/devices/android_phone_samsung-galaxy-a50.png b/device_frame_community/test/devices/android_phone_samsung-galaxy-a50.png similarity index 100% rename from device_frame/test/devices/android_phone_samsung-galaxy-a50.png rename to device_frame_community/test/devices/android_phone_samsung-galaxy-a50.png diff --git a/device_frame/test/devices/android_phone_samsung-galaxy-note20-ultra.png b/device_frame_community/test/devices/android_phone_samsung-galaxy-note20-ultra.png similarity index 100% rename from device_frame/test/devices/android_phone_samsung-galaxy-note20-ultra.png rename to device_frame_community/test/devices/android_phone_samsung-galaxy-note20-ultra.png diff --git a/device_frame/test/devices/android_phone_samsung-galaxy-note20.png b/device_frame_community/test/devices/android_phone_samsung-galaxy-note20.png similarity index 100% rename from device_frame/test/devices/android_phone_samsung-galaxy-note20.png rename to device_frame_community/test/devices/android_phone_samsung-galaxy-note20.png diff --git a/device_frame/test/devices/android_phone_samsung-galaxy-s20.png b/device_frame_community/test/devices/android_phone_samsung-galaxy-s20.png similarity index 100% rename from device_frame/test/devices/android_phone_samsung-galaxy-s20.png rename to device_frame_community/test/devices/android_phone_samsung-galaxy-s20.png diff --git a/device_frame/test/devices/android_phone_small.png b/device_frame_community/test/devices/android_phone_small.png similarity index 100% rename from device_frame/test/devices/android_phone_small.png rename to device_frame_community/test/devices/android_phone_small.png diff --git a/device_frame/test/devices/android_phone_sony-xperia-1-ii.png b/device_frame_community/test/devices/android_phone_sony-xperia-1-ii.png similarity index 100% rename from device_frame/test/devices/android_phone_sony-xperia-1-ii.png rename to device_frame_community/test/devices/android_phone_sony-xperia-1-ii.png diff --git a/device_frame/test/devices/android_tablet_large.png b/device_frame_community/test/devices/android_tablet_large.png similarity index 100% rename from device_frame/test/devices/android_tablet_large.png rename to device_frame_community/test/devices/android_tablet_large.png diff --git a/device_frame/test/devices/android_tablet_medium.png b/device_frame_community/test/devices/android_tablet_medium.png similarity index 100% rename from device_frame/test/devices/android_tablet_medium.png rename to device_frame_community/test/devices/android_tablet_medium.png diff --git a/device_frame/test/devices/android_tablet_small.png b/device_frame_community/test/devices/android_tablet_small.png similarity index 100% rename from device_frame/test/devices/android_tablet_small.png rename to device_frame_community/test/devices/android_tablet_small.png diff --git a/device_frame/test/devices/ios_phone_iphone-12-mini.png b/device_frame_community/test/devices/ios_phone_iphone-12-mini.png similarity index 100% rename from device_frame/test/devices/ios_phone_iphone-12-mini.png rename to device_frame_community/test/devices/ios_phone_iphone-12-mini.png diff --git a/device_frame/test/devices/ios_phone_iphone-12-pro-max.png b/device_frame_community/test/devices/ios_phone_iphone-12-pro-max.png similarity index 100% rename from device_frame/test/devices/ios_phone_iphone-12-pro-max.png rename to device_frame_community/test/devices/ios_phone_iphone-12-pro-max.png diff --git a/device_frame/test/devices/ios_phone_iphone-12.png b/device_frame_community/test/devices/ios_phone_iphone-12.png similarity index 100% rename from device_frame/test/devices/ios_phone_iphone-12.png rename to device_frame_community/test/devices/ios_phone_iphone-12.png diff --git a/device_frame/test/devices/ios_phone_iphone-13-mini.png b/device_frame_community/test/devices/ios_phone_iphone-13-mini.png similarity index 100% rename from device_frame/test/devices/ios_phone_iphone-13-mini.png rename to device_frame_community/test/devices/ios_phone_iphone-13-mini.png diff --git a/device_frame/test/devices/ios_phone_iphone-13-pro-max.png b/device_frame_community/test/devices/ios_phone_iphone-13-pro-max.png similarity index 100% rename from device_frame/test/devices/ios_phone_iphone-13-pro-max.png rename to device_frame_community/test/devices/ios_phone_iphone-13-pro-max.png diff --git a/device_frame/test/devices/ios_phone_iphone-13.png b/device_frame_community/test/devices/ios_phone_iphone-13.png similarity index 100% rename from device_frame/test/devices/ios_phone_iphone-13.png rename to device_frame_community/test/devices/ios_phone_iphone-13.png diff --git a/device_frame/test/devices/ios_phone_iphone-se.png b/device_frame_community/test/devices/ios_phone_iphone-se.png similarity index 100% rename from device_frame/test/devices/ios_phone_iphone-se.png rename to device_frame_community/test/devices/ios_phone_iphone-se.png diff --git a/device_frame/test/devices/ios_tablet_ipad-air-4.png b/device_frame_community/test/devices/ios_tablet_ipad-air-4.png similarity index 100% rename from device_frame/test/devices/ios_tablet_ipad-air-4.png rename to device_frame_community/test/devices/ios_tablet_ipad-air-4.png diff --git a/device_frame/test/devices/ios_tablet_ipad-pad-pro-11inches.png b/device_frame_community/test/devices/ios_tablet_ipad-pad-pro-11inches.png similarity index 100% rename from device_frame/test/devices/ios_tablet_ipad-pad-pro-11inches.png rename to device_frame_community/test/devices/ios_tablet_ipad-pad-pro-11inches.png diff --git a/device_frame/test/devices/ios_tablet_ipad.png b/device_frame_community/test/devices/ios_tablet_ipad.png similarity index 100% rename from device_frame/test/devices/ios_tablet_ipad.png rename to device_frame_community/test/devices/ios_tablet_ipad.png diff --git a/device_frame/test/devices/linux_desktop_large.png b/device_frame_community/test/devices/linux_desktop_large.png similarity index 100% rename from device_frame/test/devices/linux_desktop_large.png rename to device_frame_community/test/devices/linux_desktop_large.png diff --git a/device_frame/test/devices/linux_laptop_laptop.png b/device_frame_community/test/devices/linux_laptop_laptop.png similarity index 100% rename from device_frame/test/devices/linux_laptop_laptop.png rename to device_frame_community/test/devices/linux_laptop_laptop.png diff --git a/device_frame/test/devices/macos_desktop_large.png b/device_frame_community/test/devices/macos_desktop_large.png similarity index 100% rename from device_frame/test/devices/macos_desktop_large.png rename to device_frame_community/test/devices/macos_desktop_large.png diff --git a/device_frame/test/devices/macos_laptop_macbook-pro.png b/device_frame_community/test/devices/macos_laptop_macbook-pro.png similarity index 100% rename from device_frame/test/devices/macos_laptop_macbook-pro.png rename to device_frame_community/test/devices/macos_laptop_macbook-pro.png diff --git a/device_frame/test/devices/windows_desktop_large.png b/device_frame_community/test/devices/windows_desktop_large.png similarity index 100% rename from device_frame/test/devices/windows_desktop_large.png rename to device_frame_community/test/devices/windows_desktop_large.png diff --git a/device_frame/test/devices/windows_laptop_laptop.png b/device_frame_community/test/devices/windows_laptop_laptop.png similarity index 100% rename from device_frame/test/devices/windows_laptop_laptop.png rename to device_frame_community/test/devices/windows_laptop_laptop.png diff --git a/device_frame/test/devices_golden_test.dart b/device_frame_community/test/devices_golden_test.dart similarity index 97% rename from device_frame/test/devices_golden_test.dart rename to device_frame_community/test/devices_golden_test.dart index b9c764b7..af2c6767 100644 --- a/device_frame/test/devices_golden_test.dart +++ b/device_frame_community/test/devices_golden_test.dart @@ -1,6 +1,6 @@ import 'dart:ui'; -import 'package:device_frame/device_frame.dart'; +import 'package:device_frame_community/device_frame_community.dart'; import 'package:flutter/foundation.dart'; import 'package:flutter/material.dart'; import 'package:flutter/widgets.dart'; diff --git a/device_preview/.DS_Store b/device_preview/.DS_Store deleted file mode 100644 index 30ceb4fc..00000000 Binary files a/device_preview/.DS_Store and /dev/null differ diff --git a/device_preview/example/lib/generated_plugin_registrant.dart b/device_preview/example/lib/generated_plugin_registrant.dart deleted file mode 100644 index ff433033..00000000 --- a/device_preview/example/lib/generated_plugin_registrant.dart +++ /dev/null @@ -1,16 +0,0 @@ -// -// Generated file. Do not edit. -// - -// ignore_for_file: directives_ordering -// ignore_for_file: lines_longer_than_80_chars - -import 'package:shared_preferences_web/shared_preferences_web.dart'; - -import 'package:flutter_web_plugins/flutter_web_plugins.dart'; - -// ignore: public_member_api_docs -void registerPlugins(Registrar registrar) { - SharedPreferencesPlugin.registerWith(registrar); - registrar.registerMessageHandler(); -} diff --git a/device_preview/lib/.DS_Store b/device_preview/lib/.DS_Store deleted file mode 100644 index 7bb87598..00000000 Binary files a/device_preview/lib/.DS_Store and /dev/null differ diff --git a/device_preview/.firebase/hosting.ZXhhbXBsZS9idWlsZC93ZWI.cache b/device_preview_community/.firebase/hosting.ZXhhbXBsZS9idWlsZC93ZWI.cache similarity index 100% rename from device_preview/.firebase/hosting.ZXhhbXBsZS9idWlsZC93ZWI.cache rename to device_preview_community/.firebase/hosting.ZXhhbXBsZS9idWlsZC93ZWI.cache diff --git a/device_preview/.firebaserc b/device_preview_community/.firebaserc similarity index 100% rename from device_preview/.firebaserc rename to device_preview_community/.firebaserc diff --git a/device_preview/.gitignore b/device_preview_community/.gitignore similarity index 100% rename from device_preview/.gitignore rename to device_preview_community/.gitignore diff --git a/device_preview/.vscode/launch.json b/device_preview_community/.vscode/launch.json similarity index 100% rename from device_preview/.vscode/launch.json rename to device_preview_community/.vscode/launch.json diff --git a/device_preview/CHANGELOG.md b/device_preview_community/CHANGELOG.md similarity index 98% rename from device_preview/CHANGELOG.md rename to device_preview_community/CHANGELOG.md index 76fe5c9b..11cfa7e2 100644 --- a/device_preview/CHANGELOG.md +++ b/device_preview_community/CHANGELOG.md @@ -1,3 +1,9 @@ +## 1.0.3 +* Updating file name changes + +## 1.0.2 +* Reviving stale repo with fork + ## 1.0.0-alpha.15 * Updated device_frame which added new android devices and fixed padding. diff --git a/device_preview/LICENSE b/device_preview_community/LICENSE similarity index 100% rename from device_preview/LICENSE rename to device_preview_community/LICENSE diff --git a/device_preview/README.md b/device_preview_community/README.md similarity index 79% rename from device_preview/README.md rename to device_preview_community/README.md index 3e38b323..6a469cc1 100644 --- a/device_preview/README.md +++ b/device_preview_community/README.md @@ -1,20 +1,22 @@

- Device Preview for Flutter + Device Preview for Flutter

Approximate how your app looks and performs on another device.

- +

- Device Preview for Flutter + Device Preview for Flutter

+Disclaimer: This is a fork of the [Flutter Device Preview Repo](https://github.com/aloisdeniel/flutter_device_preview) that is currently not accepting pull requests. + ## Main features * Preview any device from any device @@ -47,7 +49,7 @@ Wrap your app's root widget in a `DevicePreview` and make sure to : > Make sure to override the previous properties as described. If not defined, `MediaQuery` won't be simulated for the selected device. ```dart -import 'package:device_preview/device_preview.dart'; +import 'package:device_preview_community/device_preview.dart'; void main() => runApp( DevicePreview( diff --git a/device_preview/analysis_options.yaml b/device_preview_community/analysis_options.yaml similarity index 100% rename from device_preview/analysis_options.yaml rename to device_preview_community/analysis_options.yaml diff --git a/device_preview/deploy_gallery.sh b/device_preview_community/deploy_gallery.sh similarity index 100% rename from device_preview/deploy_gallery.sh rename to device_preview_community/deploy_gallery.sh diff --git a/device_preview/example/.gitignore b/device_preview_community/example/.gitignore similarity index 100% rename from device_preview/example/.gitignore rename to device_preview_community/example/.gitignore diff --git a/device_preview/example/.metadata b/device_preview_community/example/.metadata similarity index 100% rename from device_preview/example/.metadata rename to device_preview_community/example/.metadata diff --git a/device_preview/example/README.md b/device_preview_community/example/README.md similarity index 100% rename from device_preview/example/README.md rename to device_preview_community/example/README.md diff --git a/device_preview/example/analysis_options.yaml b/device_preview_community/example/analysis_options.yaml similarity index 100% rename from device_preview/example/analysis_options.yaml rename to device_preview_community/example/analysis_options.yaml diff --git a/device_preview/example/android/.gitignore b/device_preview_community/example/android/.gitignore similarity index 100% rename from device_preview/example/android/.gitignore rename to device_preview_community/example/android/.gitignore diff --git a/device_preview/example/android/app/build.gradle b/device_preview_community/example/android/app/build.gradle similarity index 100% rename from device_preview/example/android/app/build.gradle rename to device_preview_community/example/android/app/build.gradle diff --git a/device_preview/example/android/app/src/debug/AndroidManifest.xml b/device_preview_community/example/android/app/src/debug/AndroidManifest.xml similarity index 100% rename from device_preview/example/android/app/src/debug/AndroidManifest.xml rename to device_preview_community/example/android/app/src/debug/AndroidManifest.xml diff --git a/device_preview/example/android/app/src/main/AndroidManifest.xml b/device_preview_community/example/android/app/src/main/AndroidManifest.xml similarity index 100% rename from device_preview/example/android/app/src/main/AndroidManifest.xml rename to device_preview_community/example/android/app/src/main/AndroidManifest.xml diff --git a/device_preview/example/android/app/src/main/kotlin/com/example/example/MainActivity.kt b/device_preview_community/example/android/app/src/main/kotlin/com/example/example/MainActivity.kt similarity index 100% rename from device_preview/example/android/app/src/main/kotlin/com/example/example/MainActivity.kt rename to device_preview_community/example/android/app/src/main/kotlin/com/example/example/MainActivity.kt diff --git a/device_preview/example/android/app/src/main/res/drawable-v21/launch_background.xml b/device_preview_community/example/android/app/src/main/res/drawable-v21/launch_background.xml similarity index 100% rename from device_preview/example/android/app/src/main/res/drawable-v21/launch_background.xml rename to device_preview_community/example/android/app/src/main/res/drawable-v21/launch_background.xml diff --git a/device_preview/example/android/app/src/main/res/drawable/launch_background.xml b/device_preview_community/example/android/app/src/main/res/drawable/launch_background.xml similarity index 100% rename from device_preview/example/android/app/src/main/res/drawable/launch_background.xml rename to device_preview_community/example/android/app/src/main/res/drawable/launch_background.xml diff --git a/device_preview/example/android/app/src/main/res/mipmap-hdpi/ic_launcher.png b/device_preview_community/example/android/app/src/main/res/mipmap-hdpi/ic_launcher.png similarity index 100% rename from device_preview/example/android/app/src/main/res/mipmap-hdpi/ic_launcher.png rename to device_preview_community/example/android/app/src/main/res/mipmap-hdpi/ic_launcher.png diff --git a/device_preview/example/android/app/src/main/res/mipmap-mdpi/ic_launcher.png b/device_preview_community/example/android/app/src/main/res/mipmap-mdpi/ic_launcher.png similarity index 100% rename from device_preview/example/android/app/src/main/res/mipmap-mdpi/ic_launcher.png rename to device_preview_community/example/android/app/src/main/res/mipmap-mdpi/ic_launcher.png diff --git a/device_preview/example/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png b/device_preview_community/example/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png similarity index 100% rename from device_preview/example/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png rename to device_preview_community/example/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png diff --git a/device_preview/example/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png b/device_preview_community/example/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png similarity index 100% rename from device_preview/example/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png rename to device_preview_community/example/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png diff --git a/device_preview/example/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png b/device_preview_community/example/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png similarity index 100% rename from device_preview/example/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png rename to device_preview_community/example/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png diff --git a/device_preview/example/android/app/src/main/res/values-night/styles.xml b/device_preview_community/example/android/app/src/main/res/values-night/styles.xml similarity index 100% rename from device_preview/example/android/app/src/main/res/values-night/styles.xml rename to device_preview_community/example/android/app/src/main/res/values-night/styles.xml diff --git a/device_preview/example/android/app/src/main/res/values/styles.xml b/device_preview_community/example/android/app/src/main/res/values/styles.xml similarity index 100% rename from device_preview/example/android/app/src/main/res/values/styles.xml rename to device_preview_community/example/android/app/src/main/res/values/styles.xml diff --git a/device_preview/example/android/app/src/profile/AndroidManifest.xml b/device_preview_community/example/android/app/src/profile/AndroidManifest.xml similarity index 100% rename from device_preview/example/android/app/src/profile/AndroidManifest.xml rename to device_preview_community/example/android/app/src/profile/AndroidManifest.xml diff --git a/device_preview/example/android/build.gradle b/device_preview_community/example/android/build.gradle similarity index 100% rename from device_preview/example/android/build.gradle rename to device_preview_community/example/android/build.gradle diff --git a/device_preview/example/android/gradle.properties b/device_preview_community/example/android/gradle.properties similarity index 100% rename from device_preview/example/android/gradle.properties rename to device_preview_community/example/android/gradle.properties diff --git a/device_preview/example/android/gradle/wrapper/gradle-wrapper.properties b/device_preview_community/example/android/gradle/wrapper/gradle-wrapper.properties similarity index 100% rename from device_preview/example/android/gradle/wrapper/gradle-wrapper.properties rename to device_preview_community/example/android/gradle/wrapper/gradle-wrapper.properties diff --git a/device_preview/example/android/settings.gradle b/device_preview_community/example/android/settings.gradle similarity index 100% rename from device_preview/example/android/settings.gradle rename to device_preview_community/example/android/settings.gradle diff --git a/device_preview/example/ios/.gitignore b/device_preview_community/example/ios/.gitignore similarity index 100% rename from device_preview/example/ios/.gitignore rename to device_preview_community/example/ios/.gitignore diff --git a/device_preview/example/ios/Flutter/AppFrameworkInfo.plist b/device_preview_community/example/ios/Flutter/AppFrameworkInfo.plist similarity index 100% rename from device_preview/example/ios/Flutter/AppFrameworkInfo.plist rename to device_preview_community/example/ios/Flutter/AppFrameworkInfo.plist diff --git a/device_preview/example/ios/Flutter/Debug.xcconfig b/device_preview_community/example/ios/Flutter/Debug.xcconfig similarity index 100% rename from device_preview/example/ios/Flutter/Debug.xcconfig rename to device_preview_community/example/ios/Flutter/Debug.xcconfig diff --git a/device_preview/example/ios/Flutter/Release.xcconfig b/device_preview_community/example/ios/Flutter/Release.xcconfig similarity index 100% rename from device_preview/example/ios/Flutter/Release.xcconfig rename to device_preview_community/example/ios/Flutter/Release.xcconfig diff --git a/device_preview/example/ios/Podfile b/device_preview_community/example/ios/Podfile similarity index 100% rename from device_preview/example/ios/Podfile rename to device_preview_community/example/ios/Podfile diff --git a/device_preview/example/ios/Podfile.lock b/device_preview_community/example/ios/Podfile.lock similarity index 100% rename from device_preview/example/ios/Podfile.lock rename to device_preview_community/example/ios/Podfile.lock diff --git a/device_preview/example/ios/Runner.xcodeproj/project.pbxproj b/device_preview_community/example/ios/Runner.xcodeproj/project.pbxproj similarity index 100% rename from device_preview/example/ios/Runner.xcodeproj/project.pbxproj rename to device_preview_community/example/ios/Runner.xcodeproj/project.pbxproj diff --git a/device_preview/example/ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata b/device_preview_community/example/ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata similarity index 100% rename from device_preview/example/ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata rename to device_preview_community/example/ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata diff --git a/device_preview/example/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/device_preview_community/example/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist similarity index 100% rename from device_preview/example/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist rename to device_preview_community/example/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist diff --git a/device_preview/example/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings b/device_preview_community/example/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings similarity index 100% rename from device_preview/example/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings rename to device_preview_community/example/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings diff --git a/device_preview/example/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme b/device_preview_community/example/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme similarity index 100% rename from device_preview/example/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme rename to device_preview_community/example/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme diff --git a/device_preview/example/ios/Runner.xcworkspace/contents.xcworkspacedata b/device_preview_community/example/ios/Runner.xcworkspace/contents.xcworkspacedata similarity index 100% rename from device_preview/example/ios/Runner.xcworkspace/contents.xcworkspacedata rename to device_preview_community/example/ios/Runner.xcworkspace/contents.xcworkspacedata diff --git a/device_preview/example/ios/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/device_preview_community/example/ios/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist similarity index 100% rename from device_preview/example/ios/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist rename to device_preview_community/example/ios/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist diff --git a/device_preview/example/ios/Runner.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings b/device_preview_community/example/ios/Runner.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings similarity index 100% rename from device_preview/example/ios/Runner.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings rename to device_preview_community/example/ios/Runner.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings diff --git a/device_preview/example/ios/Runner/AppDelegate.swift b/device_preview_community/example/ios/Runner/AppDelegate.swift similarity index 100% rename from device_preview/example/ios/Runner/AppDelegate.swift rename to device_preview_community/example/ios/Runner/AppDelegate.swift diff --git a/device_preview/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json b/device_preview_community/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json similarity index 100% rename from device_preview/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json rename to device_preview_community/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json diff --git a/device_preview/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png b/device_preview_community/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png similarity index 100% rename from device_preview/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png rename to device_preview_community/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png diff --git a/device_preview/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png b/device_preview_community/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png similarity index 100% rename from device_preview/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png rename to device_preview_community/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png diff --git a/device_preview/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png b/device_preview_community/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png similarity index 100% rename from device_preview/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png rename to device_preview_community/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png diff --git a/device_preview/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png b/device_preview_community/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png similarity index 100% rename from device_preview/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png rename to device_preview_community/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png diff --git a/device_preview/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png b/device_preview_community/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png similarity index 100% rename from device_preview/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png rename to device_preview_community/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png diff --git a/device_preview/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png b/device_preview_community/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png similarity index 100% rename from device_preview/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png rename to device_preview_community/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png diff --git a/device_preview/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png b/device_preview_community/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png similarity index 100% rename from device_preview/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png rename to device_preview_community/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png diff --git a/device_preview/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png b/device_preview_community/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png similarity index 100% rename from device_preview/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png rename to device_preview_community/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png diff --git a/device_preview/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png b/device_preview_community/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png similarity index 100% rename from device_preview/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png rename to device_preview_community/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png diff --git a/device_preview/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png b/device_preview_community/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png similarity index 100% rename from device_preview/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png rename to device_preview_community/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png diff --git a/device_preview/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png b/device_preview_community/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png similarity index 100% rename from device_preview/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png rename to device_preview_community/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png diff --git a/device_preview/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png b/device_preview_community/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png similarity index 100% rename from device_preview/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png rename to device_preview_community/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png diff --git a/device_preview/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png b/device_preview_community/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png similarity index 100% rename from device_preview/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png rename to device_preview_community/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png diff --git a/device_preview/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png b/device_preview_community/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png similarity index 100% rename from device_preview/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png rename to device_preview_community/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png diff --git a/device_preview/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png b/device_preview_community/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png similarity index 100% rename from device_preview/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png rename to device_preview_community/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png diff --git a/device_preview/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/Contents.json b/device_preview_community/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/Contents.json similarity index 100% rename from device_preview/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/Contents.json rename to device_preview_community/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/Contents.json diff --git a/device_preview/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png b/device_preview_community/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png similarity index 100% rename from device_preview/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png rename to device_preview_community/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png diff --git a/device_preview/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png b/device_preview_community/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png similarity index 100% rename from device_preview/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png rename to device_preview_community/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png diff --git a/device_preview/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png b/device_preview_community/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png similarity index 100% rename from device_preview/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png rename to device_preview_community/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png diff --git a/device_preview/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/README.md b/device_preview_community/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/README.md similarity index 100% rename from device_preview/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/README.md rename to device_preview_community/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/README.md diff --git a/device_preview/example/ios/Runner/Base.lproj/LaunchScreen.storyboard b/device_preview_community/example/ios/Runner/Base.lproj/LaunchScreen.storyboard similarity index 100% rename from device_preview/example/ios/Runner/Base.lproj/LaunchScreen.storyboard rename to device_preview_community/example/ios/Runner/Base.lproj/LaunchScreen.storyboard diff --git a/device_preview/example/ios/Runner/Base.lproj/Main.storyboard b/device_preview_community/example/ios/Runner/Base.lproj/Main.storyboard similarity index 100% rename from device_preview/example/ios/Runner/Base.lproj/Main.storyboard rename to device_preview_community/example/ios/Runner/Base.lproj/Main.storyboard diff --git a/device_preview/example/ios/Runner/Info.plist b/device_preview_community/example/ios/Runner/Info.plist similarity index 100% rename from device_preview/example/ios/Runner/Info.plist rename to device_preview_community/example/ios/Runner/Info.plist diff --git a/device_preview/example/ios/Runner/Runner-Bridging-Header.h b/device_preview_community/example/ios/Runner/Runner-Bridging-Header.h similarity index 100% rename from device_preview/example/ios/Runner/Runner-Bridging-Header.h rename to device_preview_community/example/ios/Runner/Runner-Bridging-Header.h diff --git a/device_preview/example/lib/basic.dart b/device_preview_community/example/lib/basic.dart similarity index 93% rename from device_preview/example/lib/basic.dart rename to device_preview_community/example/lib/basic.dart index cbb7fc54..a567e3ee 100644 --- a/device_preview/example/lib/basic.dart +++ b/device_preview_community/example/lib/basic.dart @@ -1,4 +1,4 @@ -import 'package:device_preview/device_preview.dart'; +import 'package:device_preview_community/device_preview.dart'; import 'package:flutter/material.dart'; import 'package:flutter/widgets.dart'; diff --git a/device_preview/example/lib/custom_plugin.dart b/device_preview_community/example/lib/custom_plugin.dart similarity index 88% rename from device_preview/example/lib/custom_plugin.dart rename to device_preview_community/example/lib/custom_plugin.dart index 3a78c890..05ff921c 100644 --- a/device_preview/example/lib/custom_plugin.dart +++ b/device_preview_community/example/lib/custom_plugin.dart @@ -1,4 +1,4 @@ -import 'package:device_preview/device_preview.dart'; +import 'package:device_preview_community/device_preview.dart'; import 'package:flutter/material.dart'; class CustomPlugin extends StatelessWidget { diff --git a/device_preview/example/lib/main.dart b/device_preview_community/example/lib/main.dart similarity index 84% rename from device_preview/example/lib/main.dart rename to device_preview_community/example/lib/main.dart index 8c0a228e..7d6b7448 100644 --- a/device_preview/example/lib/main.dart +++ b/device_preview_community/example/lib/main.dart @@ -1,4 +1,4 @@ -import 'package:device_preview/device_preview.dart'; +import 'package:device_preview_community/device_preview.dart'; import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; diff --git a/device_preview/example/macos/.gitignore b/device_preview_community/example/macos/.gitignore similarity index 100% rename from device_preview/example/macos/.gitignore rename to device_preview_community/example/macos/.gitignore diff --git a/device_preview/example/macos/Flutter/Flutter-Debug.xcconfig b/device_preview_community/example/macos/Flutter/Flutter-Debug.xcconfig similarity index 100% rename from device_preview/example/macos/Flutter/Flutter-Debug.xcconfig rename to device_preview_community/example/macos/Flutter/Flutter-Debug.xcconfig diff --git a/device_preview/example/macos/Flutter/Flutter-Release.xcconfig b/device_preview_community/example/macos/Flutter/Flutter-Release.xcconfig similarity index 100% rename from device_preview/example/macos/Flutter/Flutter-Release.xcconfig rename to device_preview_community/example/macos/Flutter/Flutter-Release.xcconfig diff --git a/device_preview/example/macos/Flutter/GeneratedPluginRegistrant.swift b/device_preview_community/example/macos/Flutter/GeneratedPluginRegistrant.swift similarity index 100% rename from device_preview/example/macos/Flutter/GeneratedPluginRegistrant.swift rename to device_preview_community/example/macos/Flutter/GeneratedPluginRegistrant.swift diff --git a/device_preview/example/macos/Podfile b/device_preview_community/example/macos/Podfile similarity index 100% rename from device_preview/example/macos/Podfile rename to device_preview_community/example/macos/Podfile diff --git a/device_preview/example/macos/Podfile.lock b/device_preview_community/example/macos/Podfile.lock similarity index 100% rename from device_preview/example/macos/Podfile.lock rename to device_preview_community/example/macos/Podfile.lock diff --git a/device_preview/example/macos/Runner.xcodeproj/project.pbxproj b/device_preview_community/example/macos/Runner.xcodeproj/project.pbxproj similarity index 100% rename from device_preview/example/macos/Runner.xcodeproj/project.pbxproj rename to device_preview_community/example/macos/Runner.xcodeproj/project.pbxproj diff --git a/device_preview/example/macos/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/device_preview_community/example/macos/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist similarity index 100% rename from device_preview/example/macos/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist rename to device_preview_community/example/macos/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist diff --git a/device_preview/example/macos/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme b/device_preview_community/example/macos/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme similarity index 100% rename from device_preview/example/macos/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme rename to device_preview_community/example/macos/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme diff --git a/device_preview/example/macos/Runner.xcworkspace/contents.xcworkspacedata b/device_preview_community/example/macos/Runner.xcworkspace/contents.xcworkspacedata similarity index 100% rename from device_preview/example/macos/Runner.xcworkspace/contents.xcworkspacedata rename to device_preview_community/example/macos/Runner.xcworkspace/contents.xcworkspacedata diff --git a/device_preview/example/macos/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/device_preview_community/example/macos/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist similarity index 100% rename from device_preview/example/macos/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist rename to device_preview_community/example/macos/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist diff --git a/device_preview/example/macos/Runner/AppDelegate.swift b/device_preview_community/example/macos/Runner/AppDelegate.swift similarity index 100% rename from device_preview/example/macos/Runner/AppDelegate.swift rename to device_preview_community/example/macos/Runner/AppDelegate.swift diff --git a/device_preview/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json b/device_preview_community/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json similarity index 100% rename from device_preview/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json rename to device_preview_community/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json diff --git a/device_preview/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_1024.png b/device_preview_community/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_1024.png similarity index 100% rename from device_preview/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_1024.png rename to device_preview_community/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_1024.png diff --git a/device_preview/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_128.png b/device_preview_community/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_128.png similarity index 100% rename from device_preview/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_128.png rename to device_preview_community/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_128.png diff --git a/device_preview/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_16.png b/device_preview_community/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_16.png similarity index 100% rename from device_preview/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_16.png rename to device_preview_community/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_16.png diff --git a/device_preview/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_256.png b/device_preview_community/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_256.png similarity index 100% rename from device_preview/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_256.png rename to device_preview_community/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_256.png diff --git a/device_preview/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_32.png b/device_preview_community/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_32.png similarity index 100% rename from device_preview/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_32.png rename to device_preview_community/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_32.png diff --git a/device_preview/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_512.png b/device_preview_community/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_512.png similarity index 100% rename from device_preview/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_512.png rename to device_preview_community/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_512.png diff --git a/device_preview/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_64.png b/device_preview_community/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_64.png similarity index 100% rename from device_preview/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_64.png rename to device_preview_community/example/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_64.png diff --git a/device_preview/example/macos/Runner/Base.lproj/MainMenu.xib b/device_preview_community/example/macos/Runner/Base.lproj/MainMenu.xib similarity index 100% rename from device_preview/example/macos/Runner/Base.lproj/MainMenu.xib rename to device_preview_community/example/macos/Runner/Base.lproj/MainMenu.xib diff --git a/device_preview/example/macos/Runner/Configs/AppInfo.xcconfig b/device_preview_community/example/macos/Runner/Configs/AppInfo.xcconfig similarity index 100% rename from device_preview/example/macos/Runner/Configs/AppInfo.xcconfig rename to device_preview_community/example/macos/Runner/Configs/AppInfo.xcconfig diff --git a/device_preview/example/macos/Runner/Configs/Debug.xcconfig b/device_preview_community/example/macos/Runner/Configs/Debug.xcconfig similarity index 100% rename from device_preview/example/macos/Runner/Configs/Debug.xcconfig rename to device_preview_community/example/macos/Runner/Configs/Debug.xcconfig diff --git a/device_preview/example/macos/Runner/Configs/Release.xcconfig b/device_preview_community/example/macos/Runner/Configs/Release.xcconfig similarity index 100% rename from device_preview/example/macos/Runner/Configs/Release.xcconfig rename to device_preview_community/example/macos/Runner/Configs/Release.xcconfig diff --git a/device_preview/example/macos/Runner/Configs/Warnings.xcconfig b/device_preview_community/example/macos/Runner/Configs/Warnings.xcconfig similarity index 100% rename from device_preview/example/macos/Runner/Configs/Warnings.xcconfig rename to device_preview_community/example/macos/Runner/Configs/Warnings.xcconfig diff --git a/device_preview/example/macos/Runner/DebugProfile.entitlements b/device_preview_community/example/macos/Runner/DebugProfile.entitlements similarity index 100% rename from device_preview/example/macos/Runner/DebugProfile.entitlements rename to device_preview_community/example/macos/Runner/DebugProfile.entitlements diff --git a/device_preview/example/macos/Runner/Info.plist b/device_preview_community/example/macos/Runner/Info.plist similarity index 100% rename from device_preview/example/macos/Runner/Info.plist rename to device_preview_community/example/macos/Runner/Info.plist diff --git a/device_preview/example/macos/Runner/MainFlutterWindow.swift b/device_preview_community/example/macos/Runner/MainFlutterWindow.swift similarity index 100% rename from device_preview/example/macos/Runner/MainFlutterWindow.swift rename to device_preview_community/example/macos/Runner/MainFlutterWindow.swift diff --git a/device_preview/example/macos/Runner/Release.entitlements b/device_preview_community/example/macos/Runner/Release.entitlements similarity index 100% rename from device_preview/example/macos/Runner/Release.entitlements rename to device_preview_community/example/macos/Runner/Release.entitlements diff --git a/device_frame/example/pubspec.yaml b/device_preview_community/example/pubspec.yaml similarity index 99% rename from device_frame/example/pubspec.yaml rename to device_preview_community/example/pubspec.yaml index 45b9b973..55104242 100644 --- a/device_frame/example/pubspec.yaml +++ b/device_preview_community/example/pubspec.yaml @@ -27,7 +27,7 @@ environment: # the latest version available on pub.dev. To see which dependencies have newer # versions available, run `flutter pub outdated`. dependencies: - device_frame: + device_preview_community: path: ../ flutter: sdk: flutter diff --git a/device_preview/example/web/favicon.png b/device_preview_community/example/web/favicon.png similarity index 100% rename from device_preview/example/web/favicon.png rename to device_preview_community/example/web/favicon.png diff --git a/device_preview/example/web/icons/Icon-192.png b/device_preview_community/example/web/icons/Icon-192.png similarity index 100% rename from device_preview/example/web/icons/Icon-192.png rename to device_preview_community/example/web/icons/Icon-192.png diff --git a/device_preview/example/web/icons/Icon-512.png b/device_preview_community/example/web/icons/Icon-512.png similarity index 100% rename from device_preview/example/web/icons/Icon-512.png rename to device_preview_community/example/web/icons/Icon-512.png diff --git a/device_preview/example/web/icons/Icon-maskable-192.png b/device_preview_community/example/web/icons/Icon-maskable-192.png similarity index 100% rename from device_preview/example/web/icons/Icon-maskable-192.png rename to device_preview_community/example/web/icons/Icon-maskable-192.png diff --git a/device_preview/example/web/icons/Icon-maskable-512.png b/device_preview_community/example/web/icons/Icon-maskable-512.png similarity index 100% rename from device_preview/example/web/icons/Icon-maskable-512.png rename to device_preview_community/example/web/icons/Icon-maskable-512.png diff --git a/device_preview/example/web/index.html b/device_preview_community/example/web/index.html similarity index 100% rename from device_preview/example/web/index.html rename to device_preview_community/example/web/index.html diff --git a/device_preview/example/web/manifest.json b/device_preview_community/example/web/manifest.json similarity index 100% rename from device_preview/example/web/manifest.json rename to device_preview_community/example/web/manifest.json diff --git a/device_preview/firebase.json b/device_preview_community/firebase.json similarity index 100% rename from device_preview/firebase.json rename to device_preview_community/firebase.json diff --git a/device_preview/lib/device_preview.dart b/device_preview_community/lib/device_preview_community.dart similarity index 90% rename from device_preview/lib/device_preview.dart rename to device_preview_community/lib/device_preview_community.dart index 58e6240e..5c1bb4d1 100644 --- a/device_preview/lib/device_preview.dart +++ b/device_preview_community/lib/device_preview_community.dart @@ -1,4 +1,4 @@ -export 'package:device_frame/device_frame.dart'; +export 'package:device_frame_community/device_frame_community.dart'; export 'src/device_preview.dart'; diff --git a/device_preview/lib/src/device_preview.dart b/device_preview_community/lib/src/device_preview.dart similarity index 95% rename from device_preview/lib/src/device_preview.dart rename to device_preview_community/lib/src/device_preview.dart index b3ce3017..5987c68c 100644 --- a/device_preview/lib/src/device_preview.dart +++ b/device_preview_community/lib/src/device_preview.dart @@ -1,17 +1,17 @@ import 'dart:async'; -import 'package:device_frame/device_frame.dart'; -import 'package:device_preview/src/state/state.dart'; -import 'package:device_preview/src/state/store.dart'; -import 'package:device_preview/src/storage/storage.dart'; -import 'package:device_preview/src/utilities/assert_inherited_media_query.dart'; -import 'package:device_preview/src/utilities/media_query_observer.dart'; -import 'package:device_preview/src/views/theme.dart'; -import 'package:device_preview/src/views/tool_panel/sections/accessibility.dart'; -import 'package:device_preview/src/views/tool_panel/sections/device.dart'; -import 'package:device_preview/src/views/tool_panel/sections/settings.dart'; -import 'package:device_preview/src/views/tool_panel/sections/system.dart'; -import 'package:device_preview/src/views/tool_panel/tool_panel.dart'; +import 'package:device_frame_community/device_frame_community.dart'; +import 'package:device_preview_community/src/state/state.dart'; +import 'package:device_preview_community/src/state/store.dart'; +import 'package:device_preview_community/src/storage/storage.dart'; +import 'package:device_preview_community/src/utilities/assert_inherited_media_query.dart'; +import 'package:device_preview_community/src/utilities/media_query_observer.dart'; +import 'package:device_preview_community/src/views/theme.dart'; +import 'package:device_preview_community/src/views/tool_panel/sections/accessibility.dart'; +import 'package:device_preview_community/src/views/tool_panel/sections/device.dart'; +import 'package:device_preview_community/src/views/tool_panel/sections/settings.dart'; +import 'package:device_preview_community/src/views/tool_panel/sections/system.dart'; +import 'package:device_preview_community/src/views/tool_panel/tool_panel.dart'; import 'package:flutter/material.dart'; import 'package:flutter/rendering.dart'; import 'package:flutter/widgets.dart'; diff --git a/device_preview/lib/src/locales/default_locales.dart b/device_preview_community/lib/src/locales/default_locales.dart similarity index 100% rename from device_preview/lib/src/locales/default_locales.dart rename to device_preview_community/lib/src/locales/default_locales.dart diff --git a/device_preview/lib/src/locales/locales.dart b/device_preview_community/lib/src/locales/locales.dart similarity index 100% rename from device_preview/lib/src/locales/locales.dart rename to device_preview_community/lib/src/locales/locales.dart diff --git a/device_preview/lib/src/state/custom_device.dart b/device_preview_community/lib/src/state/custom_device.dart similarity index 97% rename from device_preview/lib/src/state/custom_device.dart rename to device_preview_community/lib/src/state/custom_device.dart index 3192a7b3..b22eadfa 100644 --- a/device_preview/lib/src/state/custom_device.dart +++ b/device_preview_community/lib/src/state/custom_device.dart @@ -1,6 +1,6 @@ import 'dart:ui'; -import 'package:device_preview/device_preview.dart'; +import 'package:device_preview_community/device_preview_community.dart'; import 'package:flutter/material.dart'; import 'state.dart'; diff --git a/device_preview/lib/src/state/state.dart b/device_preview_community/lib/src/state/state.dart similarity index 98% rename from device_preview/lib/src/state/state.dart rename to device_preview_community/lib/src/state/state.dart index 9ff8d299..b69751df 100644 --- a/device_preview/lib/src/state/state.dart +++ b/device_preview_community/lib/src/state/state.dart @@ -1,4 +1,4 @@ -import 'package:device_preview/device_preview.dart'; +import 'package:device_preview_community/device_preview_community.dart'; import 'package:flutter/widgets.dart'; import 'package:freezed_annotation/freezed_annotation.dart'; diff --git a/device_preview/lib/src/state/state.freezed.dart b/device_preview_community/lib/src/state/state.freezed.dart similarity index 100% rename from device_preview/lib/src/state/state.freezed.dart rename to device_preview_community/lib/src/state/state.freezed.dart diff --git a/device_preview/lib/src/state/state.g.dart b/device_preview_community/lib/src/state/state.g.dart similarity index 100% rename from device_preview/lib/src/state/state.g.dart rename to device_preview_community/lib/src/state/state.g.dart diff --git a/device_preview/lib/src/state/store.dart b/device_preview_community/lib/src/state/store.dart similarity index 97% rename from device_preview/lib/src/state/store.dart rename to device_preview_community/lib/src/state/store.dart index a6963412..25ab576b 100644 --- a/device_preview/lib/src/state/store.dart +++ b/device_preview_community/lib/src/state/store.dart @@ -1,15 +1,15 @@ import 'dart:async'; import 'dart:ui'; -import 'package:device_frame/device_frame.dart'; +import 'package:device_frame_community/device_frame_community.dart'; import 'package:flutter/foundation.dart'; import 'package:flutter/widgets.dart'; -import '../../device_preview.dart'; +import '../../device_preview_community.dart'; import '../storage/storage.dart'; import 'custom_device.dart'; import 'state.dart'; -import '../../device_preview.dart' as device_preview; +import '../../device_preview_community.dart' as device_preview; /// The store is a container for the current [state] of the device preview. /// diff --git a/device_preview/lib/src/storage/file/file.dart b/device_preview_community/lib/src/storage/file/file.dart similarity index 100% rename from device_preview/lib/src/storage/file/file.dart rename to device_preview_community/lib/src/storage/file/file.dart diff --git a/device_preview/lib/src/storage/file/file_io.dart b/device_preview_community/lib/src/storage/file/file_io.dart similarity index 94% rename from device_preview/lib/src/storage/file/file_io.dart rename to device_preview_community/lib/src/storage/file/file_io.dart index 23d6be1e..5f152627 100644 --- a/device_preview/lib/src/storage/file/file_io.dart +++ b/device_preview_community/lib/src/storage/file/file_io.dart @@ -1,7 +1,7 @@ import 'dart:convert'; import 'dart:io'; -import 'package:device_preview/src/state/state.dart'; +import 'package:device_preview_community/src/state/state.dart'; import '../storage.dart'; diff --git a/device_preview/lib/src/storage/file/file_mock.dart b/device_preview_community/lib/src/storage/file/file_mock.dart similarity index 88% rename from device_preview/lib/src/storage/file/file_mock.dart rename to device_preview_community/lib/src/storage/file/file_mock.dart index 4d95bf94..3e6bc689 100644 --- a/device_preview/lib/src/storage/file/file_mock.dart +++ b/device_preview_community/lib/src/storage/file/file_mock.dart @@ -1,4 +1,4 @@ -import 'package:device_preview/src/state/state.dart'; +import 'package:device_preview_community/src/state/state.dart'; import '../storage.dart'; diff --git a/device_preview/lib/src/storage/file/file_web.dart b/device_preview_community/lib/src/storage/file/file_web.dart similarity index 92% rename from device_preview/lib/src/storage/file/file_web.dart rename to device_preview_community/lib/src/storage/file/file_web.dart index befaffd6..ca4a7161 100644 --- a/device_preview/lib/src/storage/file/file_web.dart +++ b/device_preview_community/lib/src/storage/file/file_web.dart @@ -1,6 +1,6 @@ import 'dart:developer'; -import 'package:device_preview/src/state/state.dart'; +import 'package:device_preview_community/src/state/state.dart'; import '../storage.dart'; diff --git a/device_preview/lib/src/storage/preferences/preferences.dart b/device_preview_community/lib/src/storage/preferences/preferences.dart similarity index 100% rename from device_preview/lib/src/storage/preferences/preferences.dart rename to device_preview_community/lib/src/storage/preferences/preferences.dart diff --git a/device_preview/lib/src/storage/preferences/preferences_io.dart b/device_preview_community/lib/src/storage/preferences/preferences_io.dart similarity index 95% rename from device_preview/lib/src/storage/preferences/preferences_io.dart rename to device_preview_community/lib/src/storage/preferences/preferences_io.dart index eea157e1..2031deb4 100644 --- a/device_preview/lib/src/storage/preferences/preferences_io.dart +++ b/device_preview_community/lib/src/storage/preferences/preferences_io.dart @@ -1,6 +1,6 @@ import 'dart:convert'; -import 'package:device_preview/src/state/state.dart'; +import 'package:device_preview_community/src/state/state.dart'; import 'package:shared_preferences/shared_preferences.dart'; import '../storage.dart'; diff --git a/device_preview/lib/src/storage/preferences/preferences_mock.dart b/device_preview_community/lib/src/storage/preferences/preferences_mock.dart similarity index 92% rename from device_preview/lib/src/storage/preferences/preferences_mock.dart rename to device_preview_community/lib/src/storage/preferences/preferences_mock.dart index 4eb95210..523285fe 100644 --- a/device_preview/lib/src/storage/preferences/preferences_mock.dart +++ b/device_preview_community/lib/src/storage/preferences/preferences_mock.dart @@ -1,4 +1,4 @@ -import 'package:device_preview/src/state/state.dart'; +import 'package:device_preview_community/src/state/state.dart'; import '../storage.dart'; diff --git a/device_preview/lib/src/storage/preferences/preferences_web.dart b/device_preview_community/lib/src/storage/preferences/preferences_web.dart similarity index 95% rename from device_preview/lib/src/storage/preferences/preferences_web.dart rename to device_preview_community/lib/src/storage/preferences/preferences_web.dart index 952d402b..ef2b903a 100644 --- a/device_preview/lib/src/storage/preferences/preferences_web.dart +++ b/device_preview_community/lib/src/storage/preferences/preferences_web.dart @@ -3,7 +3,7 @@ import 'dart:async'; import 'dart:convert' show jsonDecode, jsonEncode; import 'dart:html' as html; -import 'package:device_preview/src/state/state.dart'; +import 'package:device_preview_community/src/state/state.dart'; import '../storage.dart'; diff --git a/device_preview/lib/src/storage/storage.dart b/device_preview_community/lib/src/storage/storage.dart similarity index 95% rename from device_preview/lib/src/storage/storage.dart rename to device_preview_community/lib/src/storage/storage.dart index 380bf196..135a489e 100644 --- a/device_preview/lib/src/storage/storage.dart +++ b/device_preview_community/lib/src/storage/storage.dart @@ -1,4 +1,4 @@ -import 'package:device_preview/src/state/state.dart'; +import 'package:device_preview_community/src/state/state.dart'; import 'preferences/preferences.dart'; diff --git a/device_preview/lib/src/utilities/assert_inherited_media_query.dart b/device_preview_community/lib/src/utilities/assert_inherited_media_query.dart similarity index 100% rename from device_preview/lib/src/utilities/assert_inherited_media_query.dart rename to device_preview_community/lib/src/utilities/assert_inherited_media_query.dart diff --git a/device_preview/lib/src/utilities/json_converters.dart b/device_preview_community/lib/src/utilities/json_converters.dart similarity index 100% rename from device_preview/lib/src/utilities/json_converters.dart rename to device_preview_community/lib/src/utilities/json_converters.dart diff --git a/device_preview/lib/src/utilities/media_query_observer.dart b/device_preview_community/lib/src/utilities/media_query_observer.dart similarity index 100% rename from device_preview/lib/src/utilities/media_query_observer.dart rename to device_preview_community/lib/src/utilities/media_query_observer.dart diff --git a/device_preview/lib/src/utilities/screenshot.dart b/device_preview_community/lib/src/utilities/screenshot.dart similarity index 90% rename from device_preview/lib/src/utilities/screenshot.dart rename to device_preview_community/lib/src/utilities/screenshot.dart index a21d533f..3c5e75d1 100644 --- a/device_preview/lib/src/utilities/screenshot.dart +++ b/device_preview_community/lib/src/utilities/screenshot.dart @@ -1,7 +1,7 @@ import 'dart:typed_data'; import 'dart:ui' as ui; -import 'package:device_frame/device_frame.dart'; +import 'package:device_frame_community/device_frame_community.dart'; /// A screenshot from a preview. class DeviceScreenshot { diff --git a/device_preview/lib/src/views/large.dart b/device_preview_community/lib/src/views/large.dart similarity index 92% rename from device_preview/lib/src/views/large.dart rename to device_preview_community/lib/src/views/large.dart index 4f5ca165..ab6d80af 100644 --- a/device_preview/lib/src/views/large.dart +++ b/device_preview_community/lib/src/views/large.dart @@ -1,6 +1,6 @@ -import 'package:device_preview/src/state/store.dart'; -import 'package:device_preview/src/views/theme.dart'; -import 'package:device_preview/src/views/tool_panel/tool_panel.dart'; +import 'package:device_preview_community/src/state/store.dart'; +import 'package:device_preview_community/src/views/theme.dart'; +import 'package:device_preview_community/src/views/tool_panel/tool_panel.dart'; import 'package:flutter/material.dart'; import 'package:flutter/widgets.dart'; import 'package:flutter_localizations/flutter_localizations.dart'; diff --git a/device_preview/lib/src/views/small.dart b/device_preview_community/lib/src/views/small.dart similarity index 95% rename from device_preview/lib/src/views/small.dart rename to device_preview_community/lib/src/views/small.dart index ac0eff8b..b3e17d3b 100644 --- a/device_preview/lib/src/views/small.dart +++ b/device_preview_community/lib/src/views/small.dart @@ -1,5 +1,5 @@ -import 'package:device_preview/src/state/store.dart'; -import 'package:device_preview/src/views/theme.dart'; +import 'package:device_preview_community/src/state/store.dart'; +import 'package:device_preview_community/src/views/theme.dart'; import 'package:flutter/material.dart'; import 'package:flutter/widgets.dart'; import 'package:provider/provider.dart'; diff --git a/device_preview/lib/src/views/theme.dart b/device_preview_community/lib/src/views/theme.dart similarity index 97% rename from device_preview/lib/src/views/theme.dart rename to device_preview_community/lib/src/views/theme.dart index b255eb3f..5bfddf19 100644 --- a/device_preview/lib/src/views/theme.dart +++ b/device_preview_community/lib/src/views/theme.dart @@ -1,4 +1,4 @@ -import 'package:device_preview/src/state/state.dart'; +import 'package:device_preview_community/src/state/state.dart'; import 'package:flutter/material.dart'; extension ThemeBackgroundExtension on DevicePreviewBackgroundThemeData { diff --git a/device_preview/lib/src/views/tool_panel/sections/accessibility.dart b/device_preview_community/lib/src/views/tool_panel/sections/accessibility.dart similarity index 98% rename from device_preview/lib/src/views/tool_panel/sections/accessibility.dart rename to device_preview_community/lib/src/views/tool_panel/sections/accessibility.dart index 3c3c1920..2ec45c0d 100644 --- a/device_preview/lib/src/views/tool_panel/sections/accessibility.dart +++ b/device_preview_community/lib/src/views/tool_panel/sections/accessibility.dart @@ -1,4 +1,4 @@ -import 'package:device_preview/src/state/store.dart'; +import 'package:device_preview_community/src/state/store.dart'; import 'package:flutter/material.dart'; import 'package:flutter/widgets.dart'; import 'package:provider/provider.dart'; diff --git a/device_preview/lib/src/views/tool_panel/sections/device.dart b/device_preview_community/lib/src/views/tool_panel/sections/device.dart similarity index 93% rename from device_preview/lib/src/views/tool_panel/sections/device.dart rename to device_preview_community/lib/src/views/tool_panel/sections/device.dart index fb2aaadb..a08ed208 100644 --- a/device_preview/lib/src/views/tool_panel/sections/device.dart +++ b/device_preview_community/lib/src/views/tool_panel/sections/device.dart @@ -1,7 +1,7 @@ -import 'package:device_preview/src/state/store.dart'; -import 'package:device_preview/src/views/tool_panel/sections/subsections/device_model.dart'; -import 'package:device_preview/src/views/tool_panel/widgets/device_type_icon.dart'; -import 'package:device_preview/src/views/tool_panel/widgets/target_platform_icon.dart'; +import 'package:device_preview_community/src/state/store.dart'; +import 'package:device_preview_community/src/views/tool_panel/sections/subsections/device_model.dart'; +import 'package:device_preview_community/src/views/tool_panel/widgets/device_type_icon.dart'; +import 'package:device_preview_community/src/views/tool_panel/widgets/target_platform_icon.dart'; import 'package:flutter/material.dart'; import 'package:flutter/widgets.dart'; import 'package:provider/provider.dart'; diff --git a/device_preview/lib/src/views/tool_panel/sections/section.dart b/device_preview_community/lib/src/views/tool_panel/sections/section.dart similarity index 100% rename from device_preview/lib/src/views/tool_panel/sections/section.dart rename to device_preview_community/lib/src/views/tool_panel/sections/section.dart diff --git a/device_preview/lib/src/views/tool_panel/sections/settings.dart b/device_preview_community/lib/src/views/tool_panel/sections/settings.dart similarity index 94% rename from device_preview/lib/src/views/tool_panel/sections/settings.dart rename to device_preview_community/lib/src/views/tool_panel/sections/settings.dart index eaf9f279..42a595f5 100644 --- a/device_preview/lib/src/views/tool_panel/sections/settings.dart +++ b/device_preview_community/lib/src/views/tool_panel/sections/settings.dart @@ -1,6 +1,6 @@ -import 'package:device_preview/device_preview.dart'; -import 'package:device_preview/src/state/store.dart'; -import 'package:device_preview/src/views/theme.dart'; +import 'package:device_preview_community/device_preview_community.dart'; +import 'package:device_preview_community/src/state/store.dart'; +import 'package:device_preview_community/src/views/theme.dart'; import 'package:flutter/material.dart'; import 'package:flutter/widgets.dart'; import 'package:provider/provider.dart'; diff --git a/device_preview/lib/src/views/tool_panel/sections/subsections/custom_device.dart b/device_preview_community/lib/src/views/tool_panel/sections/subsections/custom_device.dart similarity index 100% rename from device_preview/lib/src/views/tool_panel/sections/subsections/custom_device.dart rename to device_preview_community/lib/src/views/tool_panel/sections/subsections/custom_device.dart diff --git a/device_preview/lib/src/views/tool_panel/sections/subsections/device_model.dart b/device_preview_community/lib/src/views/tool_panel/sections/subsections/device_model.dart similarity index 93% rename from device_preview/lib/src/views/tool_panel/sections/subsections/device_model.dart rename to device_preview_community/lib/src/views/tool_panel/sections/subsections/device_model.dart index 533c3aba..4cf18581 100644 --- a/device_preview/lib/src/views/tool_panel/sections/subsections/device_model.dart +++ b/device_preview_community/lib/src/views/tool_panel/sections/subsections/device_model.dart @@ -1,7 +1,7 @@ -import 'package:device_frame/device_frame.dart'; -import 'package:device_preview/src/state/store.dart'; -import 'package:device_preview/src/views/tool_panel/widgets/device_type_icon.dart'; -import 'package:device_preview/src/views/tool_panel/widgets/target_platform_icon.dart'; +import 'package:device_frame_community/device_frame_community.dart'; +import 'package:device_preview_community/src/state/store.dart'; +import 'package:device_preview_community/src/views/tool_panel/widgets/device_type_icon.dart'; +import 'package:device_preview_community/src/views/tool_panel/widgets/target_platform_icon.dart'; import 'package:flutter/foundation.dart'; import 'package:flutter/material.dart'; import 'package:freezed_annotation/freezed_annotation.dart'; @@ -124,6 +124,7 @@ class _PlatformModelPicker extends StatelessWidget { final byDeviceType = groupBy(devices, (d) => d.identifier.type); return ListView( + key: const Key('DeviceListView'), children: [ ...byDeviceType.entries .map( diff --git a/device_preview/lib/src/views/tool_panel/sections/subsections/locale.dart b/device_preview_community/lib/src/views/tool_panel/sections/subsections/locale.dart similarity index 91% rename from device_preview/lib/src/views/tool_panel/sections/subsections/locale.dart rename to device_preview_community/lib/src/views/tool_panel/sections/subsections/locale.dart index 131b08b3..09c10bd1 100644 --- a/device_preview/lib/src/views/tool_panel/sections/subsections/locale.dart +++ b/device_preview_community/lib/src/views/tool_panel/sections/subsections/locale.dart @@ -1,6 +1,6 @@ -import 'package:device_preview/device_preview.dart'; -import 'package:device_preview/src/state/store.dart'; -import 'package:device_preview/src/views/tool_panel/widgets/search_field.dart'; +import 'package:device_preview_community/device_preview_community.dart'; +import 'package:device_preview_community/src/state/store.dart'; +import 'package:device_preview_community/src/views/tool_panel/widgets/search_field.dart'; import 'package:flutter/material.dart'; import 'package:flutter/widgets.dart'; import 'package:provider/provider.dart'; diff --git a/device_preview/lib/src/views/tool_panel/sections/system.dart b/device_preview_community/lib/src/views/tool_panel/sections/system.dart similarity index 93% rename from device_preview/lib/src/views/tool_panel/sections/system.dart rename to device_preview_community/lib/src/views/tool_panel/sections/system.dart index d4dd5c52..573809f6 100644 --- a/device_preview/lib/src/views/tool_panel/sections/system.dart +++ b/device_preview_community/lib/src/views/tool_panel/sections/system.dart @@ -1,5 +1,5 @@ -import 'package:device_preview/src/state/store.dart'; -import 'package:device_preview/src/views/tool_panel/sections/subsections/locale.dart'; +import 'package:device_preview_community/src/state/store.dart'; +import 'package:device_preview_community/src/views/tool_panel/sections/subsections/locale.dart'; import 'package:flutter/material.dart'; import 'package:flutter/widgets.dart'; import 'package:provider/provider.dart'; diff --git a/device_preview/lib/src/views/tool_panel/tool_panel.dart b/device_preview_community/lib/src/views/tool_panel/tool_panel.dart similarity index 96% rename from device_preview/lib/src/views/tool_panel/tool_panel.dart rename to device_preview_community/lib/src/views/tool_panel/tool_panel.dart index 9c2ee146..3b465bbd 100644 --- a/device_preview/lib/src/views/tool_panel/tool_panel.dart +++ b/device_preview_community/lib/src/views/tool_panel/tool_panel.dart @@ -1,5 +1,5 @@ -import 'package:device_preview/src/state/store.dart'; -import 'package:device_preview/src/views/theme.dart'; +import 'package:device_preview_community/src/state/store.dart'; +import 'package:device_preview_community/src/views/theme.dart'; import 'package:flutter/material.dart'; import 'package:flutter/widgets.dart'; import 'package:provider/provider.dart'; diff --git a/device_preview/lib/src/views/tool_panel/widgets/device_type_icon.dart b/device_preview_community/lib/src/views/tool_panel/widgets/device_type_icon.dart similarity index 93% rename from device_preview/lib/src/views/tool_panel/widgets/device_type_icon.dart rename to device_preview_community/lib/src/views/tool_panel/widgets/device_type_icon.dart index 1e0eec33..cd871752 100644 --- a/device_preview/lib/src/views/tool_panel/widgets/device_type_icon.dart +++ b/device_preview_community/lib/src/views/tool_panel/widgets/device_type_icon.dart @@ -1,4 +1,4 @@ -import 'package:device_preview/device_preview.dart'; +import 'package:device_preview_community/device_preview_community.dart'; import 'package:flutter/material.dart'; import 'package:flutter/widgets.dart'; diff --git a/device_preview/lib/src/views/tool_panel/widgets/search_field.dart b/device_preview_community/lib/src/views/tool_panel/widgets/search_field.dart similarity index 100% rename from device_preview/lib/src/views/tool_panel/widgets/search_field.dart rename to device_preview_community/lib/src/views/tool_panel/widgets/search_field.dart diff --git a/device_preview/lib/src/views/tool_panel/widgets/target_platform_icon.dart b/device_preview_community/lib/src/views/tool_panel/widgets/target_platform_icon.dart similarity index 100% rename from device_preview/lib/src/views/tool_panel/widgets/target_platform_icon.dart rename to device_preview_community/lib/src/views/tool_panel/widgets/target_platform_icon.dart diff --git a/device_preview/pubspec.yaml b/device_preview_community/pubspec.yaml similarity index 73% rename from device_preview/pubspec.yaml rename to device_preview_community/pubspec.yaml index 6206bfa0..712885db 100644 --- a/device_preview/pubspec.yaml +++ b/device_preview_community/pubspec.yaml @@ -1,10 +1,10 @@ -name: device_preview -version: 1.0.0 +name: device_preview_community +version: 1.0.3 description: Approximate how your Flutter app looks and performs on another device. -homepage: https://github.com/aloisdeniel/flutter_device_preview +homepage: https://github.com/the-mac/flutter_device_preview environment: - sdk: '>=2.12.0 <3.0.0' + sdk: '>=2.12.0 <3.0.0' dependencies: flutter: @@ -12,7 +12,7 @@ dependencies: flutter_localizations: sdk: flutter provider: ^6.0.1 - device_frame: ^1.0.0 + device_frame_community: ^1.0.2 freezed_annotation: ^1.0.0 json_annotation: ^4.4.0 shared_preferences: ^2.0.9 diff --git a/devtools_device_preview/.gitignore b/device_preview_devtools/.gitignore similarity index 100% rename from devtools_device_preview/.gitignore rename to device_preview_devtools/.gitignore diff --git a/devtools_device_preview/.metadata b/device_preview_devtools/.metadata similarity index 100% rename from devtools_device_preview/.metadata rename to device_preview_devtools/.metadata diff --git a/devtools_device_preview/.vscode/launch.json b/device_preview_devtools/.vscode/launch.json similarity index 100% rename from devtools_device_preview/.vscode/launch.json rename to device_preview_devtools/.vscode/launch.json diff --git a/devtools_device_preview/CHANGELOG.md b/device_preview_devtools/CHANGELOG.md similarity index 100% rename from devtools_device_preview/CHANGELOG.md rename to device_preview_devtools/CHANGELOG.md diff --git a/devtools_device_preview/LICENSE b/device_preview_devtools/LICENSE similarity index 100% rename from devtools_device_preview/LICENSE rename to device_preview_devtools/LICENSE diff --git a/devtools_device_preview/README.md b/device_preview_devtools/README.md similarity index 100% rename from devtools_device_preview/README.md rename to device_preview_devtools/README.md diff --git a/devtools_device_preview/analysis_options.yaml b/device_preview_devtools/analysis_options.yaml similarity index 100% rename from devtools_device_preview/analysis_options.yaml rename to device_preview_devtools/analysis_options.yaml diff --git a/devtools_device_preview/example/.gitignore b/device_preview_devtools/example/.gitignore similarity index 100% rename from devtools_device_preview/example/.gitignore rename to device_preview_devtools/example/.gitignore diff --git a/devtools_device_preview/example/.metadata b/device_preview_devtools/example/.metadata similarity index 100% rename from devtools_device_preview/example/.metadata rename to device_preview_devtools/example/.metadata diff --git a/devtools_device_preview/example/README.md b/device_preview_devtools/example/README.md similarity index 100% rename from devtools_device_preview/example/README.md rename to device_preview_devtools/example/README.md diff --git a/devtools_device_preview/example/analysis_options.yaml b/device_preview_devtools/example/analysis_options.yaml similarity index 100% rename from devtools_device_preview/example/analysis_options.yaml rename to device_preview_devtools/example/analysis_options.yaml diff --git a/devtools_device_preview/example/android/.gitignore b/device_preview_devtools/example/android/.gitignore similarity index 100% rename from devtools_device_preview/example/android/.gitignore rename to device_preview_devtools/example/android/.gitignore diff --git a/devtools_device_preview/example/android/app/build.gradle b/device_preview_devtools/example/android/app/build.gradle similarity index 100% rename from devtools_device_preview/example/android/app/build.gradle rename to device_preview_devtools/example/android/app/build.gradle diff --git a/devtools_device_preview/example/android/app/src/debug/AndroidManifest.xml b/device_preview_devtools/example/android/app/src/debug/AndroidManifest.xml similarity index 100% rename from devtools_device_preview/example/android/app/src/debug/AndroidManifest.xml rename to device_preview_devtools/example/android/app/src/debug/AndroidManifest.xml diff --git a/devtools_device_preview/example/android/app/src/main/AndroidManifest.xml b/device_preview_devtools/example/android/app/src/main/AndroidManifest.xml similarity index 100% rename from devtools_device_preview/example/android/app/src/main/AndroidManifest.xml rename to device_preview_devtools/example/android/app/src/main/AndroidManifest.xml diff --git a/devtools_device_preview/example/android/app/src/main/kotlin/com/example/example/MainActivity.kt b/device_preview_devtools/example/android/app/src/main/kotlin/com/example/example/MainActivity.kt similarity index 100% rename from devtools_device_preview/example/android/app/src/main/kotlin/com/example/example/MainActivity.kt rename to device_preview_devtools/example/android/app/src/main/kotlin/com/example/example/MainActivity.kt diff --git a/devtools_device_preview/example/android/app/src/main/res/drawable-v21/launch_background.xml b/device_preview_devtools/example/android/app/src/main/res/drawable-v21/launch_background.xml similarity index 100% rename from devtools_device_preview/example/android/app/src/main/res/drawable-v21/launch_background.xml rename to device_preview_devtools/example/android/app/src/main/res/drawable-v21/launch_background.xml diff --git a/devtools_device_preview/example/android/app/src/main/res/drawable/launch_background.xml b/device_preview_devtools/example/android/app/src/main/res/drawable/launch_background.xml similarity index 100% rename from devtools_device_preview/example/android/app/src/main/res/drawable/launch_background.xml rename to device_preview_devtools/example/android/app/src/main/res/drawable/launch_background.xml diff --git a/devtools_device_preview/example/android/app/src/main/res/mipmap-hdpi/ic_launcher.png b/device_preview_devtools/example/android/app/src/main/res/mipmap-hdpi/ic_launcher.png similarity index 100% rename from devtools_device_preview/example/android/app/src/main/res/mipmap-hdpi/ic_launcher.png rename to device_preview_devtools/example/android/app/src/main/res/mipmap-hdpi/ic_launcher.png diff --git a/devtools_device_preview/example/android/app/src/main/res/mipmap-mdpi/ic_launcher.png b/device_preview_devtools/example/android/app/src/main/res/mipmap-mdpi/ic_launcher.png similarity index 100% rename from devtools_device_preview/example/android/app/src/main/res/mipmap-mdpi/ic_launcher.png rename to device_preview_devtools/example/android/app/src/main/res/mipmap-mdpi/ic_launcher.png diff --git a/devtools_device_preview/example/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png b/device_preview_devtools/example/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png similarity index 100% rename from devtools_device_preview/example/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png rename to device_preview_devtools/example/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png diff --git a/devtools_device_preview/example/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png b/device_preview_devtools/example/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png similarity index 100% rename from devtools_device_preview/example/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png rename to device_preview_devtools/example/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png diff --git a/devtools_device_preview/example/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png b/device_preview_devtools/example/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png similarity index 100% rename from devtools_device_preview/example/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png rename to device_preview_devtools/example/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png diff --git a/devtools_device_preview/example/android/app/src/main/res/values-night/styles.xml b/device_preview_devtools/example/android/app/src/main/res/values-night/styles.xml similarity index 100% rename from devtools_device_preview/example/android/app/src/main/res/values-night/styles.xml rename to device_preview_devtools/example/android/app/src/main/res/values-night/styles.xml diff --git a/devtools_device_preview/example/android/app/src/main/res/values/styles.xml b/device_preview_devtools/example/android/app/src/main/res/values/styles.xml similarity index 100% rename from devtools_device_preview/example/android/app/src/main/res/values/styles.xml rename to device_preview_devtools/example/android/app/src/main/res/values/styles.xml diff --git a/devtools_device_preview/example/android/app/src/profile/AndroidManifest.xml b/device_preview_devtools/example/android/app/src/profile/AndroidManifest.xml similarity index 100% rename from devtools_device_preview/example/android/app/src/profile/AndroidManifest.xml rename to device_preview_devtools/example/android/app/src/profile/AndroidManifest.xml diff --git a/devtools_device_preview/example/android/build.gradle b/device_preview_devtools/example/android/build.gradle similarity index 100% rename from devtools_device_preview/example/android/build.gradle rename to device_preview_devtools/example/android/build.gradle diff --git a/devtools_device_preview/example/android/gradle.properties b/device_preview_devtools/example/android/gradle.properties similarity index 100% rename from devtools_device_preview/example/android/gradle.properties rename to device_preview_devtools/example/android/gradle.properties diff --git a/devtools_device_preview/example/android/gradle/wrapper/gradle-wrapper.properties b/device_preview_devtools/example/android/gradle/wrapper/gradle-wrapper.properties similarity index 100% rename from devtools_device_preview/example/android/gradle/wrapper/gradle-wrapper.properties rename to device_preview_devtools/example/android/gradle/wrapper/gradle-wrapper.properties diff --git a/devtools_device_preview/example/android/settings.gradle b/device_preview_devtools/example/android/settings.gradle similarity index 100% rename from devtools_device_preview/example/android/settings.gradle rename to device_preview_devtools/example/android/settings.gradle diff --git a/devtools_device_preview/example/ios/.gitignore b/device_preview_devtools/example/ios/.gitignore similarity index 100% rename from devtools_device_preview/example/ios/.gitignore rename to device_preview_devtools/example/ios/.gitignore diff --git a/devtools_device_preview/example/ios/Flutter/AppFrameworkInfo.plist b/device_preview_devtools/example/ios/Flutter/AppFrameworkInfo.plist similarity index 100% rename from devtools_device_preview/example/ios/Flutter/AppFrameworkInfo.plist rename to device_preview_devtools/example/ios/Flutter/AppFrameworkInfo.plist diff --git a/devtools_device_preview/example/ios/Flutter/Debug.xcconfig b/device_preview_devtools/example/ios/Flutter/Debug.xcconfig similarity index 100% rename from devtools_device_preview/example/ios/Flutter/Debug.xcconfig rename to device_preview_devtools/example/ios/Flutter/Debug.xcconfig diff --git a/devtools_device_preview/example/ios/Flutter/Release.xcconfig b/device_preview_devtools/example/ios/Flutter/Release.xcconfig similarity index 100% rename from devtools_device_preview/example/ios/Flutter/Release.xcconfig rename to device_preview_devtools/example/ios/Flutter/Release.xcconfig diff --git a/devtools_device_preview/example/ios/Runner.xcodeproj/project.pbxproj b/device_preview_devtools/example/ios/Runner.xcodeproj/project.pbxproj similarity index 100% rename from devtools_device_preview/example/ios/Runner.xcodeproj/project.pbxproj rename to device_preview_devtools/example/ios/Runner.xcodeproj/project.pbxproj diff --git a/devtools_device_preview/example/ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata b/device_preview_devtools/example/ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata similarity index 100% rename from devtools_device_preview/example/ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata rename to device_preview_devtools/example/ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata diff --git a/devtools_device_preview/example/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/device_preview_devtools/example/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist similarity index 100% rename from devtools_device_preview/example/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist rename to device_preview_devtools/example/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist diff --git a/devtools_device_preview/example/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings b/device_preview_devtools/example/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings similarity index 100% rename from devtools_device_preview/example/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings rename to device_preview_devtools/example/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings diff --git a/devtools_device_preview/example/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme b/device_preview_devtools/example/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme similarity index 100% rename from devtools_device_preview/example/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme rename to device_preview_devtools/example/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme diff --git a/devtools_device_preview/example/ios/Runner.xcworkspace/contents.xcworkspacedata b/device_preview_devtools/example/ios/Runner.xcworkspace/contents.xcworkspacedata similarity index 100% rename from devtools_device_preview/example/ios/Runner.xcworkspace/contents.xcworkspacedata rename to device_preview_devtools/example/ios/Runner.xcworkspace/contents.xcworkspacedata diff --git a/devtools_device_preview/example/ios/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/device_preview_devtools/example/ios/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist similarity index 100% rename from devtools_device_preview/example/ios/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist rename to device_preview_devtools/example/ios/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist diff --git a/devtools_device_preview/example/ios/Runner.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings b/device_preview_devtools/example/ios/Runner.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings similarity index 100% rename from devtools_device_preview/example/ios/Runner.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings rename to device_preview_devtools/example/ios/Runner.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings diff --git a/devtools_device_preview/example/ios/Runner/AppDelegate.swift b/device_preview_devtools/example/ios/Runner/AppDelegate.swift similarity index 100% rename from devtools_device_preview/example/ios/Runner/AppDelegate.swift rename to device_preview_devtools/example/ios/Runner/AppDelegate.swift diff --git a/devtools_device_preview/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json b/device_preview_devtools/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json similarity index 100% rename from devtools_device_preview/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json rename to device_preview_devtools/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json diff --git a/devtools_device_preview/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png b/device_preview_devtools/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png similarity index 100% rename from devtools_device_preview/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png rename to device_preview_devtools/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png diff --git a/devtools_device_preview/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png b/device_preview_devtools/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png similarity index 100% rename from devtools_device_preview/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png rename to device_preview_devtools/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png diff --git a/devtools_device_preview/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png b/device_preview_devtools/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png similarity index 100% rename from devtools_device_preview/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png rename to device_preview_devtools/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png diff --git a/devtools_device_preview/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png b/device_preview_devtools/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png similarity index 100% rename from devtools_device_preview/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png rename to device_preview_devtools/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png diff --git a/devtools_device_preview/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png b/device_preview_devtools/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png similarity index 100% rename from devtools_device_preview/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png rename to device_preview_devtools/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png diff --git a/devtools_device_preview/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png b/device_preview_devtools/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png similarity index 100% rename from devtools_device_preview/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png rename to device_preview_devtools/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png diff --git a/devtools_device_preview/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png b/device_preview_devtools/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png similarity index 100% rename from devtools_device_preview/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png rename to device_preview_devtools/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png diff --git a/devtools_device_preview/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png b/device_preview_devtools/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png similarity index 100% rename from devtools_device_preview/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png rename to device_preview_devtools/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png diff --git a/devtools_device_preview/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png b/device_preview_devtools/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png similarity index 100% rename from devtools_device_preview/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png rename to device_preview_devtools/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png diff --git a/devtools_device_preview/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png b/device_preview_devtools/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png similarity index 100% rename from devtools_device_preview/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png rename to device_preview_devtools/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png diff --git a/devtools_device_preview/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png b/device_preview_devtools/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png similarity index 100% rename from devtools_device_preview/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png rename to device_preview_devtools/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png diff --git a/devtools_device_preview/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png b/device_preview_devtools/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png similarity index 100% rename from devtools_device_preview/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png rename to device_preview_devtools/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png diff --git a/devtools_device_preview/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png b/device_preview_devtools/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png similarity index 100% rename from devtools_device_preview/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png rename to device_preview_devtools/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png diff --git a/devtools_device_preview/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png b/device_preview_devtools/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png similarity index 100% rename from devtools_device_preview/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png rename to device_preview_devtools/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png diff --git a/devtools_device_preview/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png b/device_preview_devtools/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png similarity index 100% rename from devtools_device_preview/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png rename to device_preview_devtools/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png diff --git a/devtools_device_preview/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/Contents.json b/device_preview_devtools/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/Contents.json similarity index 100% rename from devtools_device_preview/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/Contents.json rename to device_preview_devtools/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/Contents.json diff --git a/devtools_device_preview/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png b/device_preview_devtools/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png similarity index 100% rename from devtools_device_preview/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png rename to device_preview_devtools/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png diff --git a/devtools_device_preview/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png b/device_preview_devtools/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png similarity index 100% rename from devtools_device_preview/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png rename to device_preview_devtools/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png diff --git a/devtools_device_preview/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png b/device_preview_devtools/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png similarity index 100% rename from devtools_device_preview/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png rename to device_preview_devtools/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png diff --git a/devtools_device_preview/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/README.md b/device_preview_devtools/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/README.md similarity index 100% rename from devtools_device_preview/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/README.md rename to device_preview_devtools/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/README.md diff --git a/devtools_device_preview/example/ios/Runner/Base.lproj/LaunchScreen.storyboard b/device_preview_devtools/example/ios/Runner/Base.lproj/LaunchScreen.storyboard similarity index 100% rename from devtools_device_preview/example/ios/Runner/Base.lproj/LaunchScreen.storyboard rename to device_preview_devtools/example/ios/Runner/Base.lproj/LaunchScreen.storyboard diff --git a/devtools_device_preview/example/ios/Runner/Base.lproj/Main.storyboard b/device_preview_devtools/example/ios/Runner/Base.lproj/Main.storyboard similarity index 100% rename from devtools_device_preview/example/ios/Runner/Base.lproj/Main.storyboard rename to device_preview_devtools/example/ios/Runner/Base.lproj/Main.storyboard diff --git a/devtools_device_preview/example/ios/Runner/Info.plist b/device_preview_devtools/example/ios/Runner/Info.plist similarity index 100% rename from devtools_device_preview/example/ios/Runner/Info.plist rename to device_preview_devtools/example/ios/Runner/Info.plist diff --git a/devtools_device_preview/example/ios/Runner/Runner-Bridging-Header.h b/device_preview_devtools/example/ios/Runner/Runner-Bridging-Header.h similarity index 100% rename from devtools_device_preview/example/ios/Runner/Runner-Bridging-Header.h rename to device_preview_devtools/example/ios/Runner/Runner-Bridging-Header.h diff --git a/devtools_device_preview/example/lib/main.dart b/device_preview_devtools/example/lib/main.dart similarity index 100% rename from devtools_device_preview/example/lib/main.dart rename to device_preview_devtools/example/lib/main.dart diff --git a/devtools_device_preview/example/pubspec.yaml b/device_preview_devtools/example/pubspec.yaml similarity index 100% rename from devtools_device_preview/example/pubspec.yaml rename to device_preview_devtools/example/pubspec.yaml diff --git a/devtools_device_preview/example/test/widget_test.dart b/device_preview_devtools/example/test/widget_test.dart similarity index 100% rename from devtools_device_preview/example/test/widget_test.dart rename to device_preview_devtools/example/test/widget_test.dart diff --git a/devtools_device_preview/example/web/favicon.png b/device_preview_devtools/example/web/favicon.png similarity index 100% rename from devtools_device_preview/example/web/favicon.png rename to device_preview_devtools/example/web/favicon.png diff --git a/devtools_device_preview/example/web/icons/Icon-192.png b/device_preview_devtools/example/web/icons/Icon-192.png similarity index 100% rename from devtools_device_preview/example/web/icons/Icon-192.png rename to device_preview_devtools/example/web/icons/Icon-192.png diff --git a/devtools_device_preview/example/web/icons/Icon-512.png b/device_preview_devtools/example/web/icons/Icon-512.png similarity index 100% rename from devtools_device_preview/example/web/icons/Icon-512.png rename to device_preview_devtools/example/web/icons/Icon-512.png diff --git a/devtools_device_preview/example/web/icons/Icon-maskable-192.png b/device_preview_devtools/example/web/icons/Icon-maskable-192.png similarity index 100% rename from devtools_device_preview/example/web/icons/Icon-maskable-192.png rename to device_preview_devtools/example/web/icons/Icon-maskable-192.png diff --git a/devtools_device_preview/example/web/icons/Icon-maskable-512.png b/device_preview_devtools/example/web/icons/Icon-maskable-512.png similarity index 100% rename from devtools_device_preview/example/web/icons/Icon-maskable-512.png rename to device_preview_devtools/example/web/icons/Icon-maskable-512.png diff --git a/devtools_device_preview/example/web/index.html b/device_preview_devtools/example/web/index.html similarity index 100% rename from devtools_device_preview/example/web/index.html rename to device_preview_devtools/example/web/index.html diff --git a/devtools_device_preview/example/web/manifest.json b/device_preview_devtools/example/web/manifest.json similarity index 100% rename from devtools_device_preview/example/web/manifest.json rename to device_preview_devtools/example/web/manifest.json diff --git a/device_preview_devtools/lib/devtools_device_preview.dart b/device_preview_devtools/lib/devtools_device_preview.dart new file mode 100644 index 00000000..5a7e3fdc --- /dev/null +++ b/device_preview_devtools/lib/devtools_device_preview.dart @@ -0,0 +1,5 @@ +library devtools_device_preview; + +export 'src/tools.dart'; + +export 'package:device_frame_community/device_frame_community.dart'; diff --git a/devtools_device_preview/lib/src/binding/binding.dart b/device_preview_devtools/lib/src/binding/binding.dart similarity index 98% rename from devtools_device_preview/lib/src/binding/binding.dart rename to device_preview_devtools/lib/src/binding/binding.dart index d17f08ec..1d821674 100644 --- a/devtools_device_preview/lib/src/binding/binding.dart +++ b/device_preview_devtools/lib/src/binding/binding.dart @@ -1,6 +1,6 @@ import 'dart:ui' as ui; -import 'package:device_frame/device_frame.dart'; +import 'package:device_frame_community/device_frame_community.dart'; import 'package:devtools_device_preview/src/helpers/transforms.dart'; import 'package:flutter/foundation.dart'; import 'package:flutter/gestures.dart'; diff --git a/devtools_device_preview/lib/src/binding/render_view.dart b/device_preview_devtools/lib/src/binding/render_view.dart similarity index 97% rename from devtools_device_preview/lib/src/binding/render_view.dart rename to device_preview_devtools/lib/src/binding/render_view.dart index 617cccc6..845f9152 100644 --- a/devtools_device_preview/lib/src/binding/render_view.dart +++ b/device_preview_devtools/lib/src/binding/render_view.dart @@ -1,7 +1,7 @@ import 'dart:math'; import 'dart:ui' as ui; -import 'package:device_frame/device_frame.dart'; +import 'package:device_frame_community/device_frame_community.dart'; import 'package:devtools_device_preview/src/helpers/transforms.dart'; import 'package:flutter/material.dart'; import 'package:flutter/rendering.dart'; diff --git a/devtools_device_preview/lib/src/binding/window.dart b/device_preview_devtools/lib/src/binding/window.dart similarity index 100% rename from devtools_device_preview/lib/src/binding/window.dart rename to device_preview_devtools/lib/src/binding/window.dart diff --git a/devtools_device_preview/lib/src/helpers/transforms.dart b/device_preview_devtools/lib/src/helpers/transforms.dart similarity index 98% rename from devtools_device_preview/lib/src/helpers/transforms.dart rename to device_preview_devtools/lib/src/helpers/transforms.dart index 562a3a98..dc83ced3 100644 --- a/devtools_device_preview/lib/src/helpers/transforms.dart +++ b/device_preview_devtools/lib/src/helpers/transforms.dart @@ -1,6 +1,6 @@ import 'dart:ui' as ui; -import 'package:device_frame/device_frame.dart'; +import 'package:device_frame_community/device_frame_community.dart'; import 'package:flutter/material.dart'; abstract class PreviewTransforms { diff --git a/devtools_device_preview/lib/src/tools.dart b/device_preview_devtools/lib/src/tools.dart similarity index 96% rename from devtools_device_preview/lib/src/tools.dart rename to device_preview_devtools/lib/src/tools.dart index 66dae60b..ed9a81ad 100644 --- a/devtools_device_preview/lib/src/tools.dart +++ b/device_preview_devtools/lib/src/tools.dart @@ -1,4 +1,4 @@ -import 'package:device_frame/device_frame.dart'; +import 'package:device_frame_community/device_frame_community.dart'; import 'package:flutter/services.dart'; import 'package:flutter/widgets.dart'; diff --git a/devtools_device_preview/pubspec.yaml b/device_preview_devtools/pubspec.yaml similarity index 94% rename from devtools_device_preview/pubspec.yaml rename to device_preview_devtools/pubspec.yaml index 27831ddc..3d4b55ae 100644 --- a/devtools_device_preview/pubspec.yaml +++ b/device_preview_devtools/pubspec.yaml @@ -1,7 +1,7 @@ -name: devtools_device_preview +name: device_preview_devtools description: Approximate how your Flutter app looks and performs on another device from the Flutter devtools. version: 0.5.0-alpha.1 -homepage: https://github.com/aloisdeniel/flutter_device_preview +homepage: https://github.com/the-mac/flutter_device_preview environment: sdk: ">=2.12.0 <3.0.0" diff --git a/devtools_device_preview/lib/devtools_device_preview.dart b/devtools_device_preview/lib/devtools_device_preview.dart deleted file mode 100644 index 3e1f39a2..00000000 --- a/devtools_device_preview/lib/devtools_device_preview.dart +++ /dev/null @@ -1,5 +0,0 @@ -library devtools_device_preview; - -export 'src/tools.dart'; - -export 'package:device_frame/device_frame.dart'; diff --git a/docs/content/plugins/custom.md b/docs/content/plugins/custom.md index d41dd218..947efbdf 100644 --- a/docs/content/plugins/custom.md +++ b/docs/content/plugins/custom.md @@ -9,7 +9,7 @@ A plugin is nothing more than a regular [Sliver] that is added to the main Devic To make things more aligned with built-in sections, you can add the `ToolPanelSection` widget and the `package:flutter/material.dart` widgets. ```dart -import 'package:device_preview/device_preview.dart'; +import 'package:device_preview_community/device_preview.dart'; import 'package:flutter/material.dart'; class CustomPlugin extends StatelessWidget { diff --git a/docs/content/usage/device_frame.md b/docs/content/usage/device_frame.md index 7a6d3d66..684f4d74 100644 --- a/docs/content/usage/device_frame.md +++ b/docs/content/usage/device_frame.md @@ -12,7 +12,7 @@ dependencies: ## Usage ```dart -import 'package:device_frame/device_frame.dart'; +import 'package:device_frame_community/device_frame_community.dart'; DeviceFrame( device: IosDevices.iPhone11, diff --git a/docs/content/usage/install.md b/docs/content/usage/install.md index 1e8f9a7a..99638945 100644 --- a/docs/content/usage/install.md +++ b/docs/content/usage/install.md @@ -22,7 +22,7 @@ Wrap your app's root widget in a `DevicePreview` and make sure to : !> Make sure to override the previous properties as described. If not defined, `MediaQuery` won't be simulated for the selected device. ```dart -import 'package:device_preview/device_preview.dart'; +import 'package:device_preview_community/device_preview.dart'; void main() => runApp( DevicePreview( diff --git a/docs/content/usage/options.md b/docs/content/usage/options.md index a3df7cf1..b5248155 100644 --- a/docs/content/usage/options.md +++ b/docs/content/usage/options.md @@ -67,7 +67,7 @@ See the [plugins section](/context/plugins/screenshots.) to learn more on how to ##### Example ```dart -import 'package:device_preview/plugins.dart'; +import 'package:device_preview_community/plugins.dart'; DevicePreview( builder: (context) => const MyApp(), diff --git a/plugins/device_preview_screenshot/lib/device_preview_screenshot.dart b/plugins/device_preview_screenshot/lib/device_preview_screenshot.dart index 4fb8a133..57260c6a 100644 --- a/plugins/device_preview_screenshot/lib/device_preview_screenshot.dart +++ b/plugins/device_preview_screenshot/lib/device_preview_screenshot.dart @@ -1,6 +1,6 @@ library device_preview_screenshot; -export 'package:device_preview/device_preview.dart'; +export 'package:device_preview_community/device_preview.dart'; export 'src/processors/base64.dart'; export 'src/processors/file.dart'; diff --git a/plugins/device_preview_screenshot/lib/src/processors/base64.dart b/plugins/device_preview_screenshot/lib/src/processors/base64.dart index 65f082c2..df6171b0 100644 --- a/plugins/device_preview_screenshot/lib/src/processors/base64.dart +++ b/plugins/device_preview_screenshot/lib/src/processors/base64.dart @@ -1,7 +1,7 @@ import 'dart:convert'; import 'dart:developer'; -import 'package:device_preview/device_preview.dart'; +import 'package:device_preview_community/device_preview.dart'; import 'package:flutter/services.dart'; import 'package:flutter/widgets.dart'; diff --git a/plugins/device_preview_screenshot/lib/src/processors/processor.dart b/plugins/device_preview_screenshot/lib/src/processors/processor.dart index 4724bc13..a3a3c988 100644 --- a/plugins/device_preview_screenshot/lib/src/processors/processor.dart +++ b/plugins/device_preview_screenshot/lib/src/processors/processor.dart @@ -1,4 +1,4 @@ -import 'package:device_preview/device_preview.dart'; +import 'package:device_preview_community/device_preview.dart'; import 'package:flutter/widgets.dart'; typedef ScreenshotProcessor = Future Function( diff --git a/plugins/device_preview_screenshot/lib/src/section.dart b/plugins/device_preview_screenshot/lib/src/section.dart index 535dc811..7a48b11d 100644 --- a/plugins/device_preview_screenshot/lib/src/section.dart +++ b/plugins/device_preview_screenshot/lib/src/section.dart @@ -1,4 +1,4 @@ -import 'package:device_preview/device_preview.dart'; +import 'package:device_preview_community/device_preview.dart'; import 'package:flutter/material.dart'; import 'package:flutter/widgets.dart';