Code Monkey home page Code Monkey logo

flutter_clock's Introduction

Flutter CI Status Discord badge Twitter handle codecov CII Best Practices OpenSSF Scorecard SLSA 1

Flutter is Google's SDK for crafting beautiful, fast user experiences for mobile, web, and desktop from a single codebase. Flutter works with existing code, is used by developers and organizations around the world, and is free and open source.

Documentation

For announcements about new releases, follow the [email protected] mailing list. Our documentation also tracks breaking changes across releases.

Terms of service

The Flutter tool may occasionally download resources from Google servers. By downloading or using the Flutter SDK, you agree to the Google Terms of Service: https://policies.google.com/terms

For example, when installed from GitHub (as opposed to from a prepackaged archive), the Flutter tool will download the Dart SDK from Google servers immediately when first run, as it is used to execute the flutter tool itself. This will also occur when Flutter is upgraded (e.g. by running the flutter upgrade command).

About Flutter

We think Flutter will help you create beautiful, fast apps, with a productive, extensible and open development model, whether you're targeting iOS or Android, web, Windows, macOS, Linux or embedding it as the UI toolkit for a platform of your choice.

Beautiful user experiences

We want to enable designers to deliver their full creative vision without being forced to water it down due to limitations of the underlying framework. Flutter's layered architecture gives you control over every pixel on the screen and its powerful compositing capabilities let you overlay and animate graphics, video, text, and controls without limitation. Flutter includes a full set of widgets that deliver pixel-perfect experiences whether you're building for iOS (Cupertino) or other platforms (Material), along with support for customizing or creating entirely new visual components.

Reflectly hero image

Fast results

Flutter is fast. It's powered by hardware-accelerated 2D graphics libraries like Skia (that underpins Chrome and Android) and Impeller. We architected Flutter to support glitch-free, jank-free graphics at the native speed of your device.

Flutter code is powered by the world-class Dart platform, which enables compilation to 32-bit and 64-bit ARM machine code for iOS and Android, JavaScript and WebAssembly for the web, as well as Intel x64 and ARM for desktop devices.

Dart diagram

Productive development

Flutter offers stateful hot reload, allowing you to make changes to your code and see the results instantly without restarting your app or losing its state.

Hot reload animation

Extensible and open model

Flutter works with any development tool (or none at all), and also includes editor plug-ins for both Visual Studio Code and IntelliJ / Android Studio. Flutter provides tens of thousands of packages to speed your development, regardless of your target platform. And accessing other native code is easy, with support for both FFI (on Android, on iOS, on macOS, and on Windows) as well as platform-specific APIs.

Flutter is a fully open-source project, and we welcome contributions. Information on how to get started can be found in our contributor guide.

flutter_clock's People

Contributors

hixie avatar maryx avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

flutter_clock's Issues

google_fonts package

Can I use the new google_fonts package to set fonts in my app? Since the are "fetched once via http at runtime" would it disqualify due to the fetch from internet part?

Other licenses than BSD-3 ?

Hi,

I'm wondering if other freely available assets can be used, such as images that are licensed CC0 or CC-BY?

The rules state that any assets need to be licensed under BSD-3, but it would make sense for me that I should be able to use assets licensed under for example CC0.

Getting it onto a smart clock

Im not really interested in the competition, however I would like to program a new face for my own clock, it requires making a network request, to update the display periodically, so its outside of the rules of the competition. Anyway I just wanted to know once something is designed and coded, how would I get it on the clock, is that even possible?

is default orientation landscape ?

Sample Clocks's orientations are Portrait. Looks like this. N:1
Screen Shot 2019-12-23 at 10 39 21 pm
Then it should looks like this ? N:2
Screen Shot 2019-12-23 at 10 38 16 pm

Which one ? N1 Or N2
And application's default orientation should be landscape ? or Judges will rotate themselves ?

Thank you.

Extension functions

Is there any limit on which version of dart can be used? Or the real question is: can extension functions be used, requiring dart 2.6.0?

More clarification on License

First of all thanks for conducting this awesome contest.

I'm using an image download from https://besthqwallpapers.com with some modifications.

How do I know if the image is copyrighted since I'm able to download it for free?

Do I need to use a license? If Yes, How to obtain one?

What is the location that we get

I would like to use the current location, but the the location provided in the ClockModel says "Mountain View, CA". Am I allowed to transform the location to coordinates via the Play Services?

What should we have in git repository

Just wanted to know what should / should not be inside our git repositories.
If we have cloned whole repo does the whole repo with both example clocks, original README.md, flutter_clock_helper directory have to be present in our own repo?

Location Permission

I have some ideas to do some cool things based on a rough location. A string isn't enough, I need lat/long coordinates. Is it acceptable to use the location permission on the device? I don't see anything against this in the rules (we aren't collecting the data), but wanted to check.

The other option is to modify ClockCustomizer and add a latitude / longitude field with defaults.

Licence of modifided OFL font subset used as vector image (SVG)

Hey Google!

To begin with, I want to thank you for the great competition that I can be a part of! So, I have downloaded a font from fonts.google.com (which is licensed as OFL), but:

  1. i'm using only numbers from that font,
  2. I have slightly changed the way it look
  3. and the most important thing โ€” I'm using it as vector image (SVG).

So question is โ€” do I need to specify the original font and it's license? Thanks in advance!

Best regards,
Roman

Certain submission requirements not understood

Hello Google.
Thanks for organizing such a contest.
I am a Flutter novice and there are certain issues I have not quite understood with the submission requirements

  • The clock face developed should not have user interaction (such as tapping, gestures, dragging, mouse, keyboard, and so on) but once I run the initial digital clock I get a settings Icon on tap. That I don't really understand.

  • The clock seems to depend a lot on the flutter_clock_helper directory but I don't quite understand why, since we are expected to submit this directory unedited. I actually don't really understand the importance of the flutter_clock_helper directory.

-Next, the submitted clock should show only the time as indicated but the customizer.png image in the flutter clock helper directory shows other parameters such as temperature.
Please, I will like to have a more detailed explanation of the contest submission requirements in general and also on the flutter_clock_helper directory.
Thanks in advance.
Ronny.

Licence question

So the official rules states the following to get started:

image

this already has a licence file. If I am to build on top of some fundamental concepts in this example app Do i NEED to leave this licence file?

later in the instructions it states that I must add a licence that meets the following:

image

This will create a copyright under my name. what licence is appropriate to use?

clock type

should the clock i build be analog or digital or it doesn't matter which one i build

Temperature?

Settings give the possibility to set Celsius vs Fahrenheit, but what's the point of it if there's no way to get temperature information in the first place since network requests are forbidden?

clock challenge

can i add the digital clock with analog clock at the same app

Is accelerometer usage allowed?

Rule says that no direct user interaction like user taps gestures are allowed. But is it permitted to include some indirect interaction by taking reading from accelerometer and gyroscope to determine the orientation of the device and detect user shakes and react according to it?

Screen size

Does analog_clock/ digital_clock follows 5:3 aspect ratio

Submission

I submitted my clock but now how do I get the confirmation that I am in the contest

Sunrise and sunset times should be added to the clock model

Daylight hours information may be important even more than weather for many users.

The user will decide which interface to use and how to customize it, but as a clock interface developer, I need this info without network requests.

Could sunrise and sunset times be added to the clock model?

changes to the clock

I have submitted a clock. But have to make a few minor changes. In the faqs, it is mentioned

Yes, as long as your changes occur before January 20th, 11:59pm PST (GMT - 8).

Is making these changes only on the GitHub repo enough or the codebase should be zipped and resubmitted.

Screen size

Does the clock need to be adaptive to screen size? I know it needs to be 5:3.

Flutter for web suddenly stops

when i try to change the location given by the clockHelper class using the textField in web, it suddenly stops working. If I host that clock and I submit the link of it , will it affect my submission.

Flutter Clock from scratch

is it mandatory to use the flutter clock helpers or download the flutter clock repository. Can i start from scratch?

Second Hand display issue in the Analog clock

I'm not sure if this was made on purpose, but the default analog clock seconds hand is going out of boundaries of the clock. I noticed that when drawing the hands, the strokeCap is set to square, so in the end the hand size is bigger than expected, since the size of the seconds is set to the half of the shortest side. I guess the hands are customize-able and we can put there whatever we want.

Two pixels border on customizer.dart

If we try to pixel perfect fill a container with tiles inside the 5/3 aspect ratio, there will be an overflow since customizer.dart contains a 2.0 pixels border. @override Widget build(BuildContext context) { final clock = Center( child: AspectRatio( aspectRatio: 5 / 3, child: Container( decoration: BoxDecoration( border: Border.all( width: 2, color: Theme.of(context).unselectedWidgetColor, ), ), child: widget._clock(_model), ), ), );

Can we change that one or please change it and make container background grey for visibility instead of a border.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.