Skip to content

Instantly share code, notes, and snippets.

View divyanshub024's full-sized avatar
๐Ÿ’™
Fluttering

Divyanshu Bhargava divyanshub024

๐Ÿ’™
Fluttering
View GitHub Profile
Path createSpiralPath(Size size) {
double radius = 0, angle = 0;
Path path = Path();
for (int n = 0; n < 200; n++) {
radius += 0.75;
angle += (math.pi * 2) / 50;
var x = size.width / 2 + radius * math.cos(angle);
var y = size.height / 2 + radius * math.sin(angle);
path.lineTo(x, y);
}
import 'package:flutter/material.dart';
import 'dart:ui';
void main() {
runApp(MyApp());
}
class MyApp extends StatelessWidget {
@override
Widget build(BuildContext context) {

Contributor License Agreement (CLA) for Stac

1. Definitions

  • "Project" refers to Stac and any related repositories.
  • "You" (or "Your") refers to the individual or entity making a contribution.
  • "Contribution" means any code, documentation, or other material submitted to the Project.
  • "Maintainers" refers to the owners and administrators of the Stac Project.

2. Grant of Copyright License

By submitting a Contribution to this Project: