iampawan / flutter-ui-kit Goto Github PK
View Code? Open in Web Editor NEWFlutter app for collection of UI in a UIKit
License: Apache License 2.0
Flutter app for collection of UI in a UIKit
License: Apache License 2.0
error: could not find included file 'Pods/Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig' in search paths
&
This app is using a deprecated version of the Android embedding.
To avoid unexpected runtime failures, or future build failures, try to migrate this app to the V2 embedding.
Getting error
Could not find a file named "packages/flutter_web/pubspec.yaml" in https://github.com/flutter/flutter_web e2728abe0058d8a268881d82061d81e0171bbe86.
Running "flutter packages get" in Flutter-UI-Kit-master...
pub get failed (1)
Waqass-Mac:flutter-ui-kit waqas$ flutter run
Launching lib/main.dart on iPhone 6 in debug mode...
Starting Xcode build...
Xcode build done. 1.7s
Failed to build iOS app
Error output from Xcode build:
↳
** BUILD FAILED **
Xcode's output:
↳
=== BUILD TARGET Runner OF PROJECT Runner WITH CONFIGURATION Debug ===
Debug.xcconfig line 1: Unable to find included file "Pods/Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig"
Debug.xcconfig line 1: Unable to find included file "Pods/Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig"
=== BUILD TARGET Runner OF PROJECT Runner WITH CONFIGURATION Debug ===
diff: /Podfile.lock: No such file or directory
diff: /Manifest.lock: No such file or directory
error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.
Could not build the application for the simulator.
Error launching application on iPhone 6.
Kindly guide what to do to run this on iOS Simulator
Having BuildContext _context;
Generates this warning:
This class is marked as '@inmutable', but one or more of its instance fields are not final: LoginPage._context
so how can we have global vars?
Thanks for your help ;)
flutter run fails with:
Your application could not be compiled, because its dependencies could not be established.
The following Dart file:
/Users/arnehendricks/work/flutter_kram/Flutter-UI-Kit/lib/services/restclient.dart
...refers, in an import, to the following library:
package:http/http.dart
That library is in a package that is not known. Maybe you forgot to mention it in your pubspec.yaml file?
FAILURE: Build failed with an exception.
Where:
Build file 'C:\Users\YBECERRIL\Downloads\Flutter UI\android\app\build.gradle' line: 29
What went wrong:
A problem occurred evaluating project ':app'.
Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
Get more help at https://help.gradle.org
BUILD FAILED in 1s
Command: C:\Users\YBECERRIL\Downloads\Flutter UI\android\gradlew.bat app:properties
Please review your Gradle project setup in the android/ folder.
Exited (sigterm)
I clone the project and flutter run
on my local project . logs show something wrong.
(づ。◕‿‿◕。)づ PROJECT cd Flutter-UI-Kit
(づ。◕‿‿◕。)づ Flutter-UI-Kit [master] flutter run
Running "flutter packages get" in Flutter-UI-Kit... 7.8s
Launching lib/main.dart on iPhone X in debug mode...
compiler message: lib/ui/widgets/common_scaffold.dart:33:16: Error: Method not found: 'CircularNotchedRectangle'.
compiler message: shape: CircularNotchedRectangle(),
compiler message: ^^^^^^^^^^^^^^^^^^^^^^^^
compiler message: lib/ui/widgets/common_scaffold.dart:33:9: Error: No named parameter with the name 'shape'.
compiler message: shape: CircularNotchedRectangle(),
compiler message: ^^^^^
compiler message: file:///Users/chengsixgold/PROJECT/flutter/packages/flutter/lib/src/material/bottom_app_bar.dart:45:9: Context: Found this candidate, but the arguments don't match.
compiler message: const BottomAppBar({
compiler message: ^
Compiler failed on /Users/chengsixgold/PROJECT/Flutter-UI-Kit/lib/main.dart
Error launching application on iPhone X.
I downloaded the application, installed the repository and can not find the main layout described in the repository:
https://github.com/iampawan/Flutter-UI-Kit/raw/master/raw/fu12.png
I did not find it, or is it clickbait?
Just the layout defined as cover and described as "Flutter Ui Kit" does not exist in the repository.
LoginCard class how to get stream: loginBloc.otpResult result set in editext
@iampawan I just built a debug apk (with flutter 1.12.13+hotfix9). And I found all the images that are supposed to be there like screenshots attached in README, now disappeared. See the pictures below.
Any advice on how to solve this problem ?
Thanks!
**Hi Pawan,
I am having these issues. Do you know how to correct the issue.**
Running "flutter packages get" in Flutter-UI-Kit-master...
Launching lib/main.dart on Android SDK built for x86 in debug mode...
Initializing gradle...
Resolving dependencies...
FAILURE: Build failed with an exception.
Finished with error: Please review your Gradle project setup in the android/ folder.
versionCode not found. Define flutter.versionCode in the local.properties file.
Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
Get more help at https://help.gradle.org
BUILD FAILED in 0s
Hi there,
Thank you for your examples and effort.
I have done what was described in the README, but I still get issues.
Launching lib/main.dart on Nexus 5 in debug mode...
Initializing gradle... 0.5s
Resolving dependencies... 0.6s
Running 'gradlew assembleDebug'...
compiler message: lib/ui/widgets/common_scaffold.dart:33:16: Error: Method not found: 'CircularNotchedRectangle'.
compiler message: shape: CircularNotchedRectangle(),
compiler message: ^^^^^^^^^^^^^^^^^^^^^^^^
compiler message: lib/ui/widgets/common_scaffold.dart:33:9: Error: No named parameter with the name 'shape'.
compiler message: shape: CircularNotchedRectangle(),
compiler message: ^^^^^
compiler message: file:///flutter_sdk/flutter/packages/flutter/lib/src/material/bottom_app_bar.dart:45:9: Context: Found this candidate, but the arguments don't match.
compiler message: const BottomAppBar({
compiler message: ^
Compiler failed on /flutter_ui_kit/lib/main.dart
FAILURE: Build failed with an exception.
* Where:
Script '/flutter_sdk/flutter/packages/flutter_tools/gradle/flutter.gradle' line: 435
* What went wrong:
Execution failed for task ':app:flutterBuildDebug'.
> Process 'command '~/flutter_sdk/flutter/bin/flutter'' finished with non-zero exit value 1
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
* Get more help at https://help.gradle.org
BUILD FAILED in 4s
Gradle build failed: 1
Any hints on what could the issue be? I'm relatively new to flutter.
Please see below the output of flutter doctor:
⇒ flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel beta, v0.5.1, on Linux, locale en_US.UTF-8)
[✓] Android toolchain - develop for Android devices (Android SDK 28.0.0)
[✓] Android Studio (version 3.1)
[✓] IntelliJ IDEA Ultimate Edition (version 2018.1)
[✓] Connected devices (1 available)
• No issues found!
Kind regards.
Hi Pawan,
Kindly help me in resolving the below issue.
Xcode's output:
↳
=== BUILD TARGET Runner OF PROJECT Runner WITH CONFIGURATION Debug ===
Debug.xcconfig line 1: Unable to find included file "Pods/Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig"
Debug.xcconfig line 1: Unable to find included file "Pods/Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig"
=== BUILD TARGET Runner OF PROJECT Runner WITH CONFIGURATION Debug ===
diff: /Podfile.lock: No such file or directory
diff: /Manifest.lock: No such file or directory
error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.
Android error:
Launching lib/main.dart on Redmi 5 Plus in debug mode...
Initializing gradle... 2.1s
Resolving dependencies...
* Error running Gradle:
Exit code 1 from: /Volumes/xs/awesome/uranus/clients/flutter/vendor/Flutter-UI-Kit-master/android/gradlew app:properties:
Starting a Gradle Daemon (subsequent builds will be faster)
FAILURE: Build failed with an exception.
* Where:
Build file '/Volumes/xs/awesome/uranus/clients/flutter/vendor/Flutter-UI-Kit-master/android/app/build.gradle' line: 16
* What went wrong:
A problem occurred evaluating project ':app'.
> versionCode not found. Define flutter.versionCode in the local.properties file.
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
* Get more help at https://help.gradle.org
BUILD FAILED in 5s
Please review your Gradle project setup in the android/ folder.
iOS also have some issue.
I downloaded this app and opened with VS Code. But I couldn't run it.
I got an error message like this:
`> C:\Users\just0\Desktop\flutter_apps\Flutter-UI-Kit-master\android\key.properties (The system cannot find the file specified)
Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
Get more help at https://help.gradle.org
BUILD FAILED in 1s
Please review your Gradle project setup in the android/ folder.
Exited (sigterm)`
Hi Pawan,
Thank you for your posts.
I am unable to compile the build which i took from master branch can you please look the below log and kindly let me know what i am doing wrong.
Thanks in advance.
compiler message: lib/ui/page/home_page.dart:303:17: Error: No named parameter with the name 'border'.
compiler message: border: Border(bottom: BorderSide.none),
compiler message: ^^^^^^
compiler message: file:///Users/prathap/Documents/Flutter%20Development/flutter/packages/flutter/lib/src/cupertino/nav_bar.dart:191:9: Context: Found this candidate, but the arguments don't match.
compiler message: const CupertinoSliverNavigationBar({
compiler message: ^
compiler message: lib/ui/widgets/common_scaffold.dart:33:16: Error: Method not found: 'CircularNotchedRectangle'.
compiler message: shape: CircularNotchedRectangle(),
compiler message: ^^^^^^^^^^^^^^^^^^^^^^^^
compiler message: lib/ui/widgets/common_scaffold.dart:33:9: Error: No named parameter with the name 'shape'.
compiler message: shape: CircularNotchedRectangle(),
compiler message: ^^^^^
compiler message: file:///Users/prathap/Documents/Flutter%20Development/flutter/packages/flutter/lib/src/material/bottom_app_bar.dart:45:9: Context: Found this candidate, but the arguments don't match.
compiler message: const BottomAppBar({
compiler message: ^
Compiler failed on /Users/prathap/Desktop/Flutter/Flutter-UI-Kit/lib/main.dart
Error launching application on iPhone X.
Project evaluation failed including an error in afterEvaluate {}. Run with --stacktrace for details of the afterEvaluate {} error.
FAILURE: Build failed with an exception.
Where:
Build file '/Users/ekwong/Code/Github/Flutter-UI-Kit/android/app/build.gradle' line: 29
What went wrong:
A problem occurred evaluating project ':app'.
/path/to/project/Flutter-UI-Kit/android/key.properties (No such file or directory)
so where is the key.properties file?
Your Flutter application is created using an older version of the Android embedding. It's being deprecated in favor of Android embedding v2.
This is the error we are getting when we try to run the project
Was hoping you could update the repo to latest build, I'm really curious on what you've accomplished and would like to contribute also.
For BottomAppBar =>shape. I am getting this error
What is the reason?
I noticed the way flutter gallery does the whole i18n with RTL / LTR support.
It's quite decoupled.
Maybe you can reuse for this kit if your interested in it.
Hi Pawan,
The dashboard 2 onPressed doesnt work
new SizedBox.fromSize(
size: Size.square(_myWidth / 5),
child: Card(
color: Colors.yellow.shade900,
child: LabelBelowIcon(
betweenHeight: 5.0,
icon: Icons.shop,
label: "Harcama",
iconColor: Colors.white,
isCircleEnabled: false,
onPressed: () {
Navigator.pop(
context,
new MaterialPageRoute(
builder: (context) =>
new MySpending(title: "MySpending")));
},
),
),
),
Detail Info:
Another exception was thrown: NoSuchMethodError: No top-level method '' declared.
Application show this:
Flutter info:
Doctor summary (to see all details, run flutter doctor -v):
[√] Flutter (Channel dev, v0.5.6, on Microsoft Windows [Version 6.1.7601], locale zh-CN)
[!] Android toolchain - develop for Android devices (Android SDK 27.0.3)
! Some Android licenses not accepted. To resolve this, run: flutter doctor --android-licenses
[√] Android Studio (version 3.1)
[√] IntelliJ IDEA Ultimate Edition (version 2017.2)
[√] Connected devices (1 available)
! Doctor found issues in 1 category.
Hey, awesome project, can you please update this to latest and complete all the coming soon section!
Thanks!
it looks like your setting up for multi language in the UI namespace since you have constants mapping to the English names ?
flutter run --release
Runner.app/Frameworks/App.framework/flutter_assets/kernel_blob.bin
cause the error,
Failed to find snapshot: /var/containers/Bundle/Application/5C5E8099-6007-4E7C-9F95-8097BD9C2F7E/Runner.app/Frameworks/App.framework/flutter_assets/kernel_blob.bin
[VERBOSE-2:engine.cc(116)] Engine run configuration was invalid.
[VERBOSE-2:FlutterEngine.mm(294)] Could not launch engine with configuration.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.