https://grocerytimerdev.page.link/v4n9Hidfrfbsni5AA
// with ?shared= type url
https://grocerytimerdev.page.link/1tf1cWPTFjbX2LvV9
| func makeUIView(context: Context) -> WKWebView { | |
| let webView = WKWebView() | |
| webView.navigationDelegate = context.coordinator | |
| webView.scrollView.contentInset = UIEdgeInsets(top: ArticleWebView.webviewContentOffset, left: 0, bottom: 0, right: 0) | |
| webView.scrollView.verticalScrollIndicatorInsets = UIEdgeInsets(top: ArticleWebView.webviewContentOffset, left: 0, bottom: 0, right: 0) | |
| return webView | |
| } |
| <html> | |
| <h1>helo</h1> | |
| </html> |
| import 'package:app_client/shared/models/video_asset_preview.dart'; | |
| import 'package:intl/intl.dart'; | |
| class CalendarHelpers{ | |
| static String _formatDateTime(DateTime dateTime) { | |
| final DateFormat formatter = DateFormat('yyyyMMddTHHmmss'); | |
| return '${formatter.format(dateTime)}Z'; | |
| } |
| import 'package:flutter/material.dart'; | |
| import 'dart:math' as math; | |
| class DotPainter extends CustomPainter { | |
| final int dotCount; | |
| double outerDotsPositionAngle = 51.42; |
| { | |
| "name": "Lorem Ipsum 0", | |
| "description": "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Curabitur condimentum feugiat sollicitudin", | |
| "external_url": "https://hypermint.com", | |
| "image": "https://cdn.glitch.global/a23b8c7b-ba8f-40fa-8139-f59e44b54a66/moments-logo.png?v=1664984068978", | |
| "animation_url": null, | |
| "attributes": null | |
| } |
| // ==UserScript== | |
| // @name Indiehackers home button | |
| // @namespace http://tampermonkey.net/ | |
| // @version 0.1 | |
| // @description Add Home to IndieHackers.com | |
| // @author Arpit Mathur | |
| // @match https://www.indiehackers.com/* | |
| // @icon https://www.google.com/s2/favicons?domain=indiehackers.com | |
| // @grant none | |
| // ==/UserScript== |
Google IO
AI:
| static LinearGradient getGradient(Color color, double ratio, double sign) { | |
| return LinearGradient( | |
| colors: [ | |
| color.withOpacity(ratio * 1.0), | |
| color.withOpacity(ratio * 0.30), | |
| color.withOpacity(ratio * 0.10), | |
| ], | |
| stops: [ | |
| 0.012, | |
| 0.012, |
Note: When creating widgets in column / row, if the size is too big (like when presenting in a modal screen) use the attribute: mainAxisSize.min to contain the widget
Use Spacer when you want to create space using a flex property. Use SizedBox when you want to create space using a specific number of logical pixels.