flutter_fortune_wheel
flutter_architecture_samples
flutter_fortune_wheel | flutter_architecture_samples | |
---|---|---|
2 | 3 | |
99 | 8,640 | |
- | - | |
6.9 | 0.0 | |
3 months ago | about 3 years ago | |
Dart | Dart | |
MIT License | BSD 3-clause "New" or "Revised" License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
flutter_fortune_wheel
-
How to build advanced layouts in Flutter
We want to position the child widget on the line, which cuts a given slice in half. To achieve that, we start of with a vector that points to the center of the top edge of our bounding box starting from its top left. This ensures that the vector's length is half the circle's radius. To actually point to the center of our slice, we need to rotate this vector by half the slice's angle, which gives us the blue vector in above illustration.. If you are interested in how the rotateVector works, you can find its implementation in this package's Github repository. With the slice's center at hand, the child's offset can be retrieved by adjusting the center to the child's size. If you believe there is a simpler way to achieve the same result, I encourage you to send me a message or comment with your ideas about this problem; I am always glad to learn of new features and tricks.
-
Making-of: Flutter Fortune Wheel
Great! We are now able to draw a circle composed of any number of individually customizable slices. In my next article we will implement a MultiChildLayoutDelegate to correctly position child widgets within the slices. In the meantime, if you don't want to wait for the next article, you can find the package's code on Github.
flutter_architecture_samples
-
Flutter architecture examples that show the same thing built with different architectural patterns - does this exist?
Maybe is this what you are looking for? https://github.com/brianegan/flutter_architecture_samples
-
Can anyone recommend to me some resources to start developing in flutter?
Agree. This is a great value course that got me up and running quickly. Otherwise, looking at code samples helps. When you’re ready to build an app, this is a good architecture sample repo: https://github.com/brianegan/flutter_architecture_samples
- Good repos to level up code
What are some alternatives?
flutter-fortune-wheel - Flutter Fortune Wheel
code_with_andrea_flutter - Code With Andrea Home Page - Flutter Clone
awesome-flutter - An awesome list that curates the best Flutter libraries, tools, tutorials, articles and more.
flutter-starter - A Flutter starter-kit for production-level apps.
bloc - A predictable state management library that helps implement the BLoC design pattern
karee - Another way to build Flutter applications for mobile, web and desktop using the powerful of MVC Design Pattern.
flutter-go - flutter 开发者帮助 APP,包含 flutter 常用 140+ 组件的demo 演示与中文文档
plus_plugins - Flutter Community Plus Plugins
sentry-dart - Sentry SDK for Dart and Flutter
universal_io - Cross-platform 'dart:io', including browser-compatible HttpClient.
dio - A powerful HTTP client for Dart and Flutter, which supports global settings, Interceptors, FormData, aborting and canceling a request, files uploading and downloading, requests timeout, custom adapters, etc.
flutter_map - A versatile mapping package for Flutter. Simple and easy to learn, yet completely customizable and configurable, it's the best choice for mapping in your Flutter app.