erluxman / awesomefluttertips Goto Github PK
View Code? Open in Web Editor NEW❤️ Awesome Flutter Tips and Tricks ❤️
❤️ Awesome Flutter Tips and Tricks ❤️
Day 49 has a ClipRRect
with a ridiculously high radius to do a circular widget. If you are after a circular widget, use ClipOval
instead.
Generally - when you are using an image (or GIF) you can control the size of the image so it won't be too big (as for the moment its kind of too big).
Example:
<img src="your image link" height="450">
<img src="your image link" width="450">
You can also use both height and width together
<img src="your image link" height="450" width="450">
Shortcut for generating stateful/stateless widgets is either:
"st" + enter = Stateful Widget
"st" + downarrow + enter = Stateless Widget
or
"stf" + enter = Stateful Widget
"stl" + enter = Stateless Widget
While code images can be nice looking, will you consider a PR that replaces all (static) code images with code blocks?
The code images are not consistent, they've different sizes, colours, and they're generally really big.
Code blocks will still be syntax highlighted and will add homogeneity and enable visitors to copy the code.
I already mentioned that on PR #41 where I added syntax highlighting on some code blocks.
A powerful but not very well known feature.
Allows for custom function prototypes to be defined for Enumeration types. Can be very useful in situations such as getting the value of an enumeration type in string. Check out this link for an example.
Make use syntax highlighting using a specific language.
How to use:
```dart
code block
` ``
Before
// Without the ```code_language
final name = 'Haris';
After
// With the ```code_language
final name = 'Haris';
It would be better to make it smaller:
https://github.com/erluxman/awesomefluttertips/blob/master/page2.md#tip-24--rectangular-fab-with-notched-bottom-appbar
One of the aspects I liked about putting all tips in a single page was that I could just keep scroll without navigation.
Now it needs action from the reader which is an additional burden that will reduce the average consumption amount.
I am not sure if anybody is seeing issues in this repo (please put some reaction if you do, just to let me know that you see them), but I would want to discuss this before making change.
20 tips a page is the sweet spot I think will have a good enough loading time and the continuous supply of tips in a single Page.
Add Dart recommended settings Vs code tip.
https://www.youtube.com/watch?v=nAmOt5_fMtU&feature=emb_logo
Check out this package
https://pub.dev/packages/freezed
A great way to generate the code for your immutable data classes!
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.