Skip to content

Instantly share code, notes, and snippets.

View CillianMyles's full-sized avatar
👋

Cillian Myles CillianMyles

👋
View GitHub Profile
@CillianMyles
CillianMyles / keyboard_visibility_builder.dart
Last active December 9, 2023 14:28
KeyboardVisibilityBuilder - a Flutter widget that rebuilds when the keyboard is shown or dismissed
import 'package:flutter/material.dart';
class KeyboardVisibilityBuilder extends StatefulWidget {
const KeyboardVisibilityBuilder({
required this.builder,
this.child,
Key? key,
}) : super(key: key);
final Widget Function(
@CillianMyles
CillianMyles / product.html
Created April 19, 2018 17:40
Social Media Meta Tag Template: Product
<!-- Update your html tag to include the itemscope and itemtype attributes. -->
<html itemscope itemtype="http://schema.org/Product">
<!-- Place this data between the <head> tags of your website -->
<title>Page Title. Maximum length 60-70 characters</title>
<meta name="description" content="Page description. No longer than 155 characters." />
<!-- Schema.org markup for Google+ -->
<meta itemprop="name" content="The Name or Title Here">
<meta itemprop="description" content="This is the page description">
@CillianMyles
CillianMyles / article.html
Last active April 26, 2018 09:45
Social Media Meta Tag Template: Article
<!-- Update your html tag to include the itemscope and itemtype attributes. -->
<html itemscope itemtype="http://schema.org/Article">
<!-- Place this data between the <head> tags of your website -->
<title>Page Title. Maximum length 60-70 characters</title>
<meta name="description" content="Page description. No longer than 155 characters."/>
<!-- Schema.org markup for Google+ -->
<meta itemprop="name" content="The Name or Title Here">
<meta itemprop="description" content="This is the page description">