diff --git a/ios/Flutter/AppFrameworkInfo.plist b/ios/Flutter/AppFrameworkInfo.plist index 9367d48..8d4492f 100644 --- a/ios/Flutter/AppFrameworkInfo.plist +++ b/ios/Flutter/AppFrameworkInfo.plist @@ -21,6 +21,6 @@ CFBundleVersion 1.0 MinimumOSVersion - 8.0 + 9.0 diff --git a/ios/Podfile.lock b/ios/Podfile.lock new file mode 100644 index 0000000..0310ad8 --- /dev/null +++ b/ios/Podfile.lock @@ -0,0 +1,87 @@ +PODS: + - DKImagePickerController/Core (4.3.2): + - DKImagePickerController/ImageDataManager + - DKImagePickerController/Resource + - DKImagePickerController/ImageDataManager (4.3.2) + - DKImagePickerController/PhotoGallery (4.3.2): + - DKImagePickerController/Core + - DKPhotoGallery + - DKImagePickerController/Resource (4.3.2) + - DKPhotoGallery (0.0.17): + - DKPhotoGallery/Core (= 0.0.17) + - DKPhotoGallery/Model (= 0.0.17) + - DKPhotoGallery/Preview (= 0.0.17) + - DKPhotoGallery/Resource (= 0.0.17) + - SDWebImage + - SwiftyGif + - DKPhotoGallery/Core (0.0.17): + - DKPhotoGallery/Model + - DKPhotoGallery/Preview + - SDWebImage + - SwiftyGif + - DKPhotoGallery/Model (0.0.17): + - SDWebImage + - SwiftyGif + - DKPhotoGallery/Preview (0.0.17): + - DKPhotoGallery/Model + - DKPhotoGallery/Resource + - SDWebImage + - SwiftyGif + - DKPhotoGallery/Resource (0.0.17): + - SDWebImage + - SwiftyGif + - file_picker (0.0.1): + - DKImagePickerController/PhotoGallery + - Flutter + - Flutter (1.0.0) + - SDWebImage (5.12.0): + - SDWebImage/Core (= 5.12.0) + - SDWebImage/Core (5.12.0) + - shared_preferences (0.0.1): + - Flutter + - SwiftyGif (5.4.0) + - url_launcher (0.0.1): + - Flutter + - webview_flutter_wkwebview (0.0.1): + - Flutter + +DEPENDENCIES: + - file_picker (from `.symlinks/plugins/file_picker/ios`) + - Flutter (from `Flutter`) + - shared_preferences (from `.symlinks/plugins/shared_preferences/ios`) + - url_launcher (from `.symlinks/plugins/url_launcher/ios`) + - webview_flutter_wkwebview (from `.symlinks/plugins/webview_flutter_wkwebview/ios`) + +SPEC REPOS: + trunk: + - DKImagePickerController + - DKPhotoGallery + - SDWebImage + - SwiftyGif + +EXTERNAL SOURCES: + file_picker: + :path: ".symlinks/plugins/file_picker/ios" + Flutter: + :path: Flutter + shared_preferences: + :path: ".symlinks/plugins/shared_preferences/ios" + url_launcher: + :path: ".symlinks/plugins/url_launcher/ios" + webview_flutter_wkwebview: + :path: ".symlinks/plugins/webview_flutter_wkwebview/ios" + +SPEC CHECKSUMS: + DKImagePickerController: b5eb7f7a388e4643264105d648d01f727110fc3d + DKPhotoGallery: fdfad5125a9fdda9cc57df834d49df790dbb4179 + file_picker: 3e6c3790de664ccf9b882732d9db5eaf6b8d4eb1 + Flutter: 50d75fe2f02b26cc09d224853bb45737f8b3214a + SDWebImage: 4ea20cca2986adc5aacde07aa686742fd4c67a37 + shared_preferences: 5033afbb22d372e15aff8ff766df9021b845f273 + SwiftyGif: 5d4af95df24caf1c570dbbcb32a3b8a0763bc6d7 + url_launcher: b6e016d912f04be9f5bf6e8e82dc599b7ba59649 + webview_flutter_wkwebview: 44aa025fbcf6730d808f1e0d86a5af5ac25fa8de + +PODFILE CHECKSUM: aafe91acc616949ddb318b77800a7f51bffa2a4c + +COCOAPODS: 1.10.2 diff --git a/ios/Runner.xcodeproj/project.pbxproj b/ios/Runner.xcodeproj/project.pbxproj index 7585560..c542c9f 100644 --- a/ios/Runner.xcodeproj/project.pbxproj +++ b/ios/Runner.xcodeproj/project.pbxproj @@ -8,6 +8,7 @@ /* Begin PBXBuildFile section */ 1498D2341E8E89220040F4C2 /* GeneratedPluginRegistrant.m in Sources */ = {isa = PBXBuildFile; fileRef = 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */; }; + 17761CEB91BC12FE4AF6094D /* Pods_Runner.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 8C71880323D5DBABFCB55C84 /* Pods_Runner.framework */; }; 3B3967161E833CAA004F5970 /* AppFrameworkInfo.plist in Resources */ = {isa = PBXBuildFile; fileRef = 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */; }; 74858FAF1ED2DC5600515810 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 74858FAE1ED2DC5600515810 /* AppDelegate.swift */; }; 97C146FC1CF9000F007C117D /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FA1CF9000F007C117D /* Main.storyboard */; }; @@ -35,6 +36,8 @@ 74858FAD1ED2DC5600515810 /* Runner-Bridging-Header.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "Runner-Bridging-Header.h"; sourceTree = ""; }; 74858FAE1ED2DC5600515810 /* AppDelegate.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; }; 7AFA3C8E1D35360C0083082E /* Release.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; name = Release.xcconfig; path = Flutter/Release.xcconfig; sourceTree = ""; }; + 833216DBFD1FCEAE60C5098B /* Pods-Runner.profile.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Runner.profile.xcconfig"; path = "Target Support Files/Pods-Runner/Pods-Runner.profile.xcconfig"; sourceTree = ""; }; + 8C71880323D5DBABFCB55C84 /* Pods_Runner.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_Runner.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 9740EEB21CF90195004384FC /* Debug.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; name = Debug.xcconfig; path = Flutter/Debug.xcconfig; sourceTree = ""; }; 9740EEB31CF90195004384FC /* Generated.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; name = Generated.xcconfig; path = Flutter/Generated.xcconfig; sourceTree = ""; }; 97C146EE1CF9000F007C117D /* Runner.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Runner.app; sourceTree = BUILT_PRODUCTS_DIR; }; @@ -42,6 +45,8 @@ 97C146FD1CF9000F007C117D /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; }; 97C147001CF9000F007C117D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = ""; }; 97C147021CF9000F007C117D /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; + AD2BE362C49B4A84FBB6A1EA /* Pods-Runner.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Runner.debug.xcconfig"; path = "Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig"; sourceTree = ""; }; + ADB3EA44944B6F3FD47DDC89 /* Pods-Runner.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Runner.release.xcconfig"; path = "Target Support Files/Pods-Runner/Pods-Runner.release.xcconfig"; sourceTree = ""; }; /* End PBXFileReference section */ /* Begin PBXFrameworksBuildPhase section */ @@ -49,6 +54,7 @@ isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( + 17761CEB91BC12FE4AF6094D /* Pods_Runner.framework in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -72,6 +78,8 @@ 9740EEB11CF90186004384FC /* Flutter */, 97C146F01CF9000F007C117D /* Runner */, 97C146EF1CF9000F007C117D /* Products */, + F827905E448E8F136AD23CFC /* Pods */, + B16E5B34135F6F57E54A620E /* Frameworks */, ); sourceTree = ""; }; @@ -98,6 +106,25 @@ path = Runner; sourceTree = ""; }; + B16E5B34135F6F57E54A620E /* Frameworks */ = { + isa = PBXGroup; + children = ( + 8C71880323D5DBABFCB55C84 /* Pods_Runner.framework */, + ); + name = Frameworks; + sourceTree = ""; + }; + F827905E448E8F136AD23CFC /* Pods */ = { + isa = PBXGroup; + children = ( + AD2BE362C49B4A84FBB6A1EA /* Pods-Runner.debug.xcconfig */, + ADB3EA44944B6F3FD47DDC89 /* Pods-Runner.release.xcconfig */, + 833216DBFD1FCEAE60C5098B /* Pods-Runner.profile.xcconfig */, + ); + name = Pods; + path = Pods; + sourceTree = ""; + }; /* End PBXGroup section */ /* Begin PBXNativeTarget section */ @@ -105,12 +132,14 @@ isa = PBXNativeTarget; buildConfigurationList = 97C147051CF9000F007C117D /* Build configuration list for PBXNativeTarget "Runner" */; buildPhases = ( + AE066107C4C29E0062268A32 /* [CP] Check Pods Manifest.lock */, 9740EEB61CF901F6004384FC /* Run Script */, 97C146EA1CF9000F007C117D /* Sources */, 97C146EB1CF9000F007C117D /* Frameworks */, 97C146EC1CF9000F007C117D /* Resources */, 9705A1C41CF9048500538489 /* Embed Frameworks */, 3B06AD1E1E4923F5004D2608 /* Thin Binary */, + 256E7E29146183AE4491881C /* [CP] Embed Pods Frameworks */, ); buildRules = ( ); @@ -169,6 +198,23 @@ /* End PBXResourcesBuildPhase section */ /* Begin PBXShellScriptBuildPhase section */ + 256E7E29146183AE4491881C /* [CP] Embed Pods Frameworks */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputFileListPaths = ( + "${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-frameworks-${CONFIGURATION}-input-files.xcfilelist", + ); + name = "[CP] Embed Pods Frameworks"; + outputFileListPaths = ( + "${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-frameworks-${CONFIGURATION}-output-files.xcfilelist", + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-frameworks.sh\"\n"; + showEnvVarsInLog = 0; + }; 3B06AD1E1E4923F5004D2608 /* Thin Binary */ = { isa = PBXShellScriptBuildPhase; buildActionMask = 2147483647; @@ -197,6 +243,28 @@ shellPath = /bin/sh; shellScript = "/bin/sh \"$FLUTTER_ROOT/packages/flutter_tools/bin/xcode_backend.sh\" build"; }; + AE066107C4C29E0062268A32 /* [CP] Check Pods Manifest.lock */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputFileListPaths = ( + ); + inputPaths = ( + "${PODS_PODFILE_DIR_PATH}/Podfile.lock", + "${PODS_ROOT}/Manifest.lock", + ); + name = "[CP] Check Pods Manifest.lock"; + outputFileListPaths = ( + ); + outputPaths = ( + "$(DERIVED_FILE_DIR)/Pods-Runner-checkManifestLockResult.txt", + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n"; + showEnvVarsInLog = 0; + }; /* End PBXShellScriptBuildPhase section */ /* Begin PBXSourcesBuildPhase section */ diff --git a/ios/Runner.xcworkspace/contents.xcworkspacedata b/ios/Runner.xcworkspace/contents.xcworkspacedata index 1d526a1..21a3cc1 100644 --- a/ios/Runner.xcworkspace/contents.xcworkspacedata +++ b/ios/Runner.xcworkspace/contents.xcworkspacedata @@ -4,4 +4,7 @@ + + diff --git a/ios/build/Pods.build/Release-iphonesimulator/DKImagePickerController-DKImagePickerController.build/dgph b/ios/build/Pods.build/Release-iphonesimulator/DKImagePickerController-DKImagePickerController.build/dgph new file mode 100644 index 0000000..b63cc2f Binary files /dev/null and b/ios/build/Pods.build/Release-iphonesimulator/DKImagePickerController-DKImagePickerController.build/dgph differ diff --git a/ios/build/Pods.build/Release-iphonesimulator/DKImagePickerController.build/dgph b/ios/build/Pods.build/Release-iphonesimulator/DKImagePickerController.build/dgph new file mode 100644 index 0000000..b63cc2f Binary files /dev/null and b/ios/build/Pods.build/Release-iphonesimulator/DKImagePickerController.build/dgph differ diff --git a/ios/build/Pods.build/Release-iphonesimulator/DKPhotoGallery-DKPhotoGallery.build/dgph b/ios/build/Pods.build/Release-iphonesimulator/DKPhotoGallery-DKPhotoGallery.build/dgph new file mode 100644 index 0000000..b63cc2f Binary files /dev/null and b/ios/build/Pods.build/Release-iphonesimulator/DKPhotoGallery-DKPhotoGallery.build/dgph differ diff --git a/ios/build/Pods.build/Release-iphonesimulator/DKPhotoGallery.build/dgph b/ios/build/Pods.build/Release-iphonesimulator/DKPhotoGallery.build/dgph new file mode 100644 index 0000000..b63cc2f Binary files /dev/null and b/ios/build/Pods.build/Release-iphonesimulator/DKPhotoGallery.build/dgph differ diff --git a/ios/build/Pods.build/Release-iphonesimulator/Flutter.build/dgph b/ios/build/Pods.build/Release-iphonesimulator/Flutter.build/dgph new file mode 100644 index 0000000..b63cc2f Binary files /dev/null and b/ios/build/Pods.build/Release-iphonesimulator/Flutter.build/dgph differ diff --git a/ios/build/Pods.build/Release-iphonesimulator/Pods-Runner.build/dgph b/ios/build/Pods.build/Release-iphonesimulator/Pods-Runner.build/dgph new file mode 100644 index 0000000..b63cc2f Binary files /dev/null and b/ios/build/Pods.build/Release-iphonesimulator/Pods-Runner.build/dgph differ diff --git a/ios/build/Pods.build/Release-iphonesimulator/SDWebImage.build/dgph b/ios/build/Pods.build/Release-iphonesimulator/SDWebImage.build/dgph new file mode 100644 index 0000000..b63cc2f Binary files /dev/null and b/ios/build/Pods.build/Release-iphonesimulator/SDWebImage.build/dgph differ diff --git a/ios/build/Pods.build/Release-iphonesimulator/SwiftyGif.build/dgph b/ios/build/Pods.build/Release-iphonesimulator/SwiftyGif.build/dgph new file mode 100644 index 0000000..b63cc2f Binary files /dev/null and b/ios/build/Pods.build/Release-iphonesimulator/SwiftyGif.build/dgph differ diff --git a/ios/build/Pods.build/Release-iphonesimulator/file_picker.build/dgph b/ios/build/Pods.build/Release-iphonesimulator/file_picker.build/dgph new file mode 100644 index 0000000..b63cc2f Binary files /dev/null and b/ios/build/Pods.build/Release-iphonesimulator/file_picker.build/dgph differ diff --git a/ios/build/Pods.build/Release-iphonesimulator/shared_preferences.build/dgph b/ios/build/Pods.build/Release-iphonesimulator/shared_preferences.build/dgph new file mode 100644 index 0000000..b63cc2f Binary files /dev/null and b/ios/build/Pods.build/Release-iphonesimulator/shared_preferences.build/dgph differ diff --git a/ios/build/Pods.build/Release-iphonesimulator/url_launcher.build/dgph b/ios/build/Pods.build/Release-iphonesimulator/url_launcher.build/dgph new file mode 100644 index 0000000..b63cc2f Binary files /dev/null and b/ios/build/Pods.build/Release-iphonesimulator/url_launcher.build/dgph differ diff --git a/ios/build/Pods.build/Release-iphonesimulator/webview_flutter_wkwebview.build/dgph b/ios/build/Pods.build/Release-iphonesimulator/webview_flutter_wkwebview.build/dgph new file mode 100644 index 0000000..b63cc2f Binary files /dev/null and b/ios/build/Pods.build/Release-iphonesimulator/webview_flutter_wkwebview.build/dgph differ diff --git a/lib/routes/reorderableListView.dart b/lib/routes/reorderableListView.dart index 9ffd932..0290004 100644 --- a/lib/routes/reorderableListView.dart +++ b/lib/routes/reorderableListView.dart @@ -3,7 +3,6 @@ import 'package:flutter/material.dart'; class ReOrderableListViewImplementation extends StatelessWidget { const ReOrderableListViewImplementation({Key? key}) : super(key: key); - static const String _title = 'Flutter Code Sample'; @override Widget build(BuildContext context) { diff --git a/lib/routes/settings.dart b/lib/routes/settings.dart index b31f1aa..b527317 100644 --- a/lib/routes/settings.dart +++ b/lib/routes/settings.dart @@ -4,6 +4,7 @@ import 'package:fludget/themes/theme_switch.dart'; import 'package:flutter/material.dart'; import 'package:url_launcher/url_launcher.dart'; +// ignore: must_be_immutable class SettingsWidget extends StatelessWidget { final padding = EdgeInsets.symmetric(horizontal: 20); diff --git a/lib/routes/slider.dart b/lib/routes/slider.dart index dadf47d..7eb9f17 100644 --- a/lib/routes/slider.dart +++ b/lib/routes/slider.dart @@ -135,6 +135,8 @@ class _SliderSampleState extends State { }); }, ), + + ], ), ), diff --git a/lib/routes/spacer.dart b/lib/routes/spacer.dart index 773930e..d82f31c 100644 --- a/lib/routes/spacer.dart +++ b/lib/routes/spacer.dart @@ -1,6 +1,5 @@ // import 'dart:js'; -import 'package:fludget/routes/sizedbox.dart'; import 'package:flutter/material.dart'; class SpacerImplementation extends StatelessWidget { diff --git a/lib/routes/tost.dart b/lib/routes/tost.dart new file mode 100644 index 0000000..ba65e9e --- /dev/null +++ b/lib/routes/tost.dart @@ -0,0 +1,46 @@ + +import 'package:flutter/material.dart'; +import 'package:motion_toast/motion_toast.dart'; +import 'package:motion_toast/resources/arrays.dart'; + +class TostImplementation extends StatelessWidget { + const TostImplementation({Key? key}) : super(key: key); + + @override + Widget build(BuildContext context) { + return Container( + width: MediaQuery.of(context).size.width, + margin: EdgeInsets.only(top: 20), + child: Column( + mainAxisAlignment: MainAxisAlignment.start, + crossAxisAlignment: CrossAxisAlignment.center, + children: [ + Container( + width: 250, + height: 60, + margin: EdgeInsets.only(top: 10), + child: ElevatedButton( + onPressed: () { + successMotionToast(); + }, + child: Text("Success Toast"), + ), + ), + ])); + } +} + +void successMotionToast() { + MotionToast.success( + title: "Successfully Sent", + titleStyle: TextStyle(fontWeight: FontWeight.bold), + description: "Example of success motion toast", + descriptionStyle: TextStyle(fontSize: 15), + width: 300, + position: MOTION_TOAST_POSITION.CENTER, + toastDuration: Duration(seconds: 4), + + ); + // .show(context); + +} diff --git a/lib/widgetList.dart b/lib/widgetList.dart index 80e1b5c..2b12977 100644 --- a/lib/widgetList.dart +++ b/lib/widgetList.dart @@ -50,10 +50,10 @@ import 'package:fludget/routes/table.dart'; import 'package:fludget/routes/text.dart'; import 'package:fludget/routes/textButton.dart'; import 'package:fludget/routes/textfield.dart'; +import 'package:fludget/routes/tost.dart'; import 'package:fludget/routes/transform.dart'; import 'package:fludget/routes/togglebutton.dart'; import 'package:fludget/routes/wrap.dart'; -import 'package:flutter/material.dart'; import 'Models/widgetModel.dart'; const List widgets = [ @@ -341,12 +341,12 @@ const List widgets = [ category: [WidgetCategoy.Layout], ), WidgetModel( - name: "CupertinoActionSheet", - link: "https://api.flutter.dev/flutter/cupertino/CupertinoActionSheet-class.html", - implementation: CupertinoActionSheetImplementation(), - description: CupertinoActionSheetDescription(), - category: [WidgetCategoy.Cupertino,WidgetCategoy.Material] - ), + name: "CupertinoActionSheet", + link: + "https://api.flutter.dev/flutter/cupertino/CupertinoActionSheet-class.html", + implementation: CupertinoActionSheetImplementation(), + description: CupertinoActionSheetDescription(), + category: [WidgetCategoy.Cupertino, WidgetCategoy.Material]), WidgetModel( name: "AnimatedIcon", link: "https://api.flutter.dev/flutter/material/AnimatedIcon-class.html", @@ -412,7 +412,6 @@ const List widgets = [ category: [WidgetCategoy.Layout, WidgetCategoy.Interaction], ), WidgetModel( - category: [WidgetCategoy.Layout, WidgetCategoy.Scrolling], name: "Sliver Grid", link: "https://api.flutter.dev/flutter/widgets/SliverGrid-class.html", @@ -427,5 +426,12 @@ const List widgets = [ description: ScrollBarDescription(), category: [WidgetCategoy.Scrolling, WidgetCategoy.Interaction], ), - + WidgetModel( + name: "Tost message", + subtitle: "Implementation of Tost meaasge Widget", + link: "https://api.flutter.dev/flutter/material/Scrollbar-class.html", + implementation: TostImplementation(), + description: ScrollBarDescription(), + category: [WidgetCategoy.Scrolling, WidgetCategoy.Interaction], + ), ]; diff --git a/lib/widgets_doc.dart b/lib/widgets_doc.dart index 40ea614..c391113 100644 --- a/lib/widgets_doc.dart +++ b/lib/widgets_doc.dart @@ -11,7 +11,6 @@ class WidgetsDoc extends StatefulWidget { class _WidgetsDocState extends State { - WebViewController? _controller; bool isLoading = true; @override @@ -27,7 +26,6 @@ class _WidgetsDocState extends State { initialUrl: 'https://api.flutter.dev/flutter/widgets/widgets-library.html', javascriptMode: JavascriptMode.unrestricted, onWebViewCreated: (WebViewController webViewController) { - _controller = webViewController; }, onPageFinished: (finish) { setState(() { diff --git a/pubspec.lock b/pubspec.lock index d74788d..5454ec8 100644 --- a/pubspec.lock +++ b/pubspec.lock @@ -135,6 +135,13 @@ packages: url: "https://pub.dartlang.org" source: hosted version: "1.7.0" + motion_toast: + dependency: "direct main" + description: + name: motion_toast + url: "https://pub.dartlang.org" + source: hosted + version: "1.5.0" nested: dependency: transitive description: @@ -343,7 +350,6 @@ packages: url: "https://pub.dartlang.org" source: hosted version: "2.1.0" - webview_flutter: dependency: "direct main" description: @@ -386,7 +392,6 @@ packages: url: "https://pub.dartlang.org" source: hosted version: "0.2.0" - sdks: dart: ">=2.14.0 <3.0.0" flutter: ">=2.5.0" diff --git a/pubspec.yaml b/pubspec.yaml index c351cdc..e243c62 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -30,6 +30,7 @@ dependencies: shared_preferences: ^2.0.8 provider: ^6.0.0 webview_flutter: ^2.0.1 + motion_toast: ^1.2.0 dev_dependencies: flutter_test: