A productivity mobile application UI kit built with Flutter
davies-k / taskez Goto Github PK
View Code? Open in Web Editor NEWA Productivity Mobile Application UI kit built with Flutter
License: BSD 3-Clause "New" or "Revised" License
A Productivity Mobile Application UI kit built with Flutter
License: BSD 3-Clause "New" or "Revised" License
A productivity mobile application UI kit built with Flutter
Full implementation of search bar with showing the result on typing the character (enachement)
Very cool screens !!
But on my emulator (pixel3a, 1080x22220), I got renderflex overflow error on most screens
It would be great if you could fix this ?
lib/widgets/Dashboard/bar_chart.dart:230:26: Error: The argument type 'TextStyle Function(BuildContext)' can't be assigned to the parameter type 'TextStyle? Function(BuildContext, double)?'.
- 'TextStyle' is from 'package:flutter/src/painting/text_style.dart' ('/D:/flutter/packages/flutter/lib/src/painting/text_style.dart').
- 'BuildContext' is from 'package:flutter/src/widgets/framework.dart' ('/D:/flutter/packages/flutter/lib/src/widgets/framework.dart').
getTextStyles: (value) => const TextStyle(
^
lib/widgets/Dashboard/bar_chart.dart:274:26: Error: The argument type 'TextStyle Function(BuildContext)' can't be assigned to the parameter type 'TextStyle? Function(BuildContext, double)?'.
- 'TextStyle' is from 'package:flutter/src/painting/text_style.dart' ('/D:/flutter/packages/flutter/lib/src/painting/text_style.dart').
- 'BuildContext' is from 'package:flutter/src/widgets/framework.dart' ('/D:/flutter/packages/flutter/lib/src/widgets/framework.dart').
getTextStyles: (value) => const TextStyle(
^
FAILURE: Build failed with an exception.
* Where:
Script 'D:\flutter\packages\flutter_tools\gradle\flutter.gradle' line: 1070
* What went wrong:
Execution failed for task ':app:compileFlutterBuildDebug'.
> Process 'command 'D:\flutter\bin\flutter.bat'' 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 38s
flutter 2.6
Hi, thanks for your work.
I just want to ask, why i get error like this ? What should i do ?
An Observatory debugger and profiler on Android SDK built for x86 is available at:
http://127.0.0.1:61694/sEw9W_TnKUc=/
The Flutter DevTools debugger and profiler on Android SDK built for x86 is available at:
http://127.0.0.1:9101?uri=http%3A%2F%2F127.0.0.1%3A61694%2FsEw9W_TnKUc%3D%2F
W/.example.taske(12401): Accessing hidden method Lsun/misc/Unsafe;->getUnsafe()Lsun/misc/Unsafe; (greylist,core-platform-api, linking, allowed)
W/.example.taske(12401): Accessing hidden method Lsun/misc/Unsafe;->objectFieldOffset(Ljava/lang/reflect/Field;)J (greylist,core-platform-api, linking, allowed)
W/.example.taske(12401): Accessing hidden method Lsun/misc/Unsafe;->compareAndSwapObject(Ljava/lang/Object;JLjava/lang/Object;Ljava/lang/Object;)Z (greylist, linking, allowed)
W/.example.taske(12401): Accessing hidden method Lsun/misc/Unsafe;->putObject(Ljava/lang/Object;JLjava/lang/Object;)V (greylist, linking, allowed)
W/.example.taske(12401): Accessing hidden method Lsun/misc/Unsafe;->compareAndSwapObject(Ljava/lang/Object;JLjava/lang/Object;Ljava/lang/Object;)Z (greylist, linking, allowed)══╡ EXCEPTION CAUGHT BY RENDERING LIBRARY ╞═════════════════════════════════════════════════════════
The following assertion was thrown during layout:
A RenderFlex overflowed by 40 pixels on the right.The relevant error-causing widget was:
Row
file:///C:/Users/Administrator.SPCWIT011/Downloads/Taskez-main/lib/Screens/Onboarding/onboarding_ca rousel.dart:122:23To inspect this widget in Flutter DevTools, visit:
http://127.0.0.1:9101/#/inspector?uri=http%3A%2F%2F127.0.0.1%3A61694%2FsEw9W_TnKUc%3D%2F&inspectorRef=inspector-0The overflowing RenderFlex has an orientation of Axis.horizontal.
The edge of the RenderFlex that is overflowing has been marked in the rendering with a yellow and
black striped pattern. This is usually caused by the contents being too big for the RenderFlex.
Consider applying a flex factor (e.g. using an Expanded widget) to force the children of the
RenderFlex to fit within the available space instead of being sized to their natural size.
This is considered an error condition because it indicates that there is content that cannot be
seen. If the content is legitimately bigger than the available space, consider clipping it with a
ClipRect widget before putting it in the flex, or using a scrollable container rather than a Flex,
like a ListView.
The specific RenderFlex in question is: RenderFlex#c8e66 relayoutBoundary=up6 OVERFLOWING:
needs compositing
creator: Row ← Column ← Padding ← Column ← Stack ← Container ←
AnnotatedRegion
← _BodyBuilder ← MediaQuery ← LayoutId-[<_ScaffoldSlot.body>] ← CustomMultiChildLayout ←
AnimatedBuilder ← ⋯
parentData: offset=Offset(0.0, 128.0); flex=null; fit=null (can use size)
constraints: BoxConstraints(0.0<=w<=320.0, 0.0<=h<=Infinity)
size: Size(320.0, 60.0)
direction: horizontal
mainAxisAlignment: spaceBetween
mainAxisSize: max
crossAxisAlignment: center
textDirection: ltr
verticalDirection: down
◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤◢◤
════════════════════════════════════════════════════════════════════════════════════════════════════Another exception was thrown: A RenderFlex overflowed by 343 pixels on the bottom.
Another exception was thrown: A RenderFlex overflowed by 46 pixels on the right.
Another exception was thrown: A RenderFlex overflowed by 246 pixels on the bottom.
Another exception was thrown: Incorrect use of ParentDataWidget.
Another exception was thrown: A RenderFlex overflowed by 22 pixels on the right.
Another exception was thrown: A RenderFlex overflowed by 25 pixels on the right.
Another exception was thrown: A RenderFlex overflowed by 9.0 pixels on the right.
Another exception was thrown: A RenderFlex overflowed by 305 pixels on the bottom.
Another exception was thrown: A RenderFlex overflowed by 22 pixels on the right.
Another exception was thrown: A RenderFlex overflowed by 25 pixels on the right.
Another exception was thrown: A RenderFlex overflowed by 9.0 pixels on the right.
Another exception was thrown: A RenderFlex overflowed by 22 pixels on the right.
Another exception was thrown: A RenderFlex overflowed by 25 pixels on the right.
Another exception was thrown: A RenderFlex overflowed by 9.0 pixels on the right.
unable to sign up/in with google account
I took a look of your commit hash: c8deb3d
but still have some issue with Pixel 4 device which has 1080 x 2280 pixels, 19:9 ratio.
What about chainging the height factor * 1.4 to 1.3 ?
P.S: many thanks to your project. I have learned many via this project.
Hi,
I updated to flutter 2.5 last week. Since then, I cannot run Taskez of an IOS simulator or actual device. Below is a copy of the error as shown in the console.
`
Launching lib/main.dart on iPhone 12 Pro Max in debug mode...
lib/main.dart:1
Upgrading AppFrameworkInfo.plist
Xcode build done. 18.2s
Failed to build iOS app
Error output from Xcode build:
↳
objc[55671]: Class AMSupportURLConnectionDelegate is implemented in both /usr/lib/libauthinstall.dylib (0x1f925bad8) and /System/Library/PrivateFrameworks/MobileDevice.framework/Versions/A/MobileDevice (0x1142b02b8). One of the two will be used. Which one is undefined.
objc[55671]: Class AMSupportURLSession is implemented in both /usr/lib/libauthinstall.dylib (0x1f925bb28) and /System/Library/PrivateFrameworks/MobileDevice.framework/Versions/A/MobileDevice (0x1142b0308). One of the two will be used. Which one is undefined.
** BUILD FAILED **
Xcode's output:
↳
../../flutter/.pub-cache/hosted/pub.dartlang.org/get-4.2.4/lib/get_core/src/get_main.dart:11:13: Error: Method not found: '_GetImpl'.
final Get = _GetImpl();
^^^^^^^^
Failed to package /Users/cristianocrassus/Developer/Apps/Taskez-main.
Command PhaseScriptExecution failed with a nonzero exit code
note: Using new build system
note: Building targets in parallel
note: Planning build
note: Analyzing workspace
note: Constructing build description
note: Build preparation complete
warning: Capabilities for Signing & Capabilities may not function correctly because its entitlements use a placeholder team ID. To resolve this, select a development team in the Runner editor. (in target 'Runner' from project 'Runner')
Could not build the application for the simulator.
Error launching application on iPhone 12 Pro Max.
Exited (sigterm)
`
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.