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:async'; | |
| import 'package:flutter/foundation.dart'; | |
| import 'package:flutter/material.dart'; | |
| import 'package:flutter/services.dart'; | |
| import 'package:uri/uri.dart'; | |
| class PathRouteMatch { | |
| PathRouteMatch( | |
| {required this.parameters, |
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:async'; | |
| import 'dart:convert'; | |
| import 'dart:io'; | |
| import 'package:meta/meta.dart'; | |
| import 'package:mime/mime.dart'; | |
| import 'package:path/path.dart'; | |
| import 'package:http/http.dart' as http; | |
| abstract class ApiClient { |
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 ( | |
| "log" | |
| "time" | |
| "github.com/labstack/echo/v5" | |
| "github.com/pocketbase/pocketbase" | |
| "github.com/pocketbase/pocketbase/apis" | |
| "github.com/pocketbase/pocketbase/core" |
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
| void main() { | |
| final p1 = Point(0, 0); | |
| final p2 = Point(-5, -10); | |
| final p3 = Point(-10, -5); | |
| final p4 = Point(15, -5); | |
| final r1 = Line(p1, p2); | |
| final r2 = Line(p3, p4); | |
| final pi = intersection(r1, r2); | |
| print("${pi.x}, ${pi.y}"); | |
| } |
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/foundation.dart'; | |
| import 'package:flutter/widgets.dart'; | |
| import 'package:flutter_svg/flutter_svg.dart'; | |
| import 'package:xml/xml.dart'; | |
| import 'package:flutter/services.dart'; | |
| /// An example widget which uses an [SvgOverride] widget to render an SVG with dynamic colors. | |
| class ZenButtonCookie extends StatelessWidget { | |
| final CookieColor color; // My internal color object. Adapt this for your needs. | |
| const ZenButtonCookie(this.color); |