This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package main | |
| import ( | |
| "database/sql" | |
| "fmt" | |
| "io" | |
| "net/http" | |
| _ "github.com/mattn/go-sqlite3" | |
| ) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import 'package:flutter/material.dart'; | |
| void main() { | |
| runApp(MyApp()); | |
| } | |
| class MyApp extends StatelessWidget { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import 'dart:math'; | |
| import 'package:flutter/material.dart'; | |
| import 'package:flutter/physics.dart'; | |
| main() { | |
| runApp(MaterialApp(home: Scaffold(body: ColorWheel()))); | |
| } | |
| typedef RangeRecord = ({int index, double begin, double end, double turn}); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import 'package:flutter/material.dart'; | |
| import 'dart:math'; | |
| class MyWidget extends StatelessWidget { | |
| const MyWidget({super.key}); | |
| @override | |
| Widget build(BuildContext context) { | |
| return Scaffold( |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| struct ContentViews: View { | |
| @State var imageWidth: CGFloat = 0 | |
| @State var imageHeight: CGFloat = 0 | |
| @State private var rotationAngle: Double = 0 | |
| @State private var wdt: Double = 0 | |
| @State private var hgt: Double = 0 | |
| @State private var cropRect = CGRect(x: 0, y: 0, width: 200, height: 200) | |
| @State var image: UIImage |