tunitowen / gradient_text Goto Github PK
View Code? Open in Web Editor NEWFlutter Widget to display gradient text
License: Apache License 2.0
Flutter Widget to display gradient text
License: Apache License 2.0
Works very well with kind of standard fonts, but I tried to use it with a font I found on Google Fonts called "Dancing Script" and I found out that there's a little piece of the last letter of the text that doesn't change colour, it remains white. I've also tried changing last letter, size of the text and colours of the gradient but nothing happens.
This is the error message-
java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
I'm using flutter 1.22.6 and dart 2.10.5
when i add this package in my pubspec and build .
This error occurs and as a result text written in gradient_test is not visible
Can the expression in the input method of the system not change the color?
GradientText( "Demo Text", style: new TextStyle( fontSize: width * 0.18, fontWeight: FontWeight.bold, fontFamily: 'Piedra', letterSpacing: 5.0, ), gradient: LinearGradient( colors: [ Colors.deepPurple, Colors.deepOrange, Colors.pink, ], ), ),
when I use this code I am getting an error running on flutter web
`
The following UnimplementedError was thrown during a scheduler callback:
UnimplementedError
When the exception was thrown, this was the stack
throw_ (dart-sdk/lib/_internal/js_dev_runtime/private/ddc_runtime/errors.dart:212:49))
pushShaderMask (lib/_engine/engine/html/scene_builder.dart:231:5))
addToScene (packages/flutter/src/rendering/layer.dart:1814:26))
[_addToSceneWithRetainedRendering] (packages/flutter/src/rendering/layer.dart:442:5))
addChildrenToScene (packages/flutter/src/rendering/layer.dart:1029:14))
`
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.