Skip to content

Instantly share code, notes, and snippets.

View jagmit's full-sized avatar
👨‍💻

Jagmit Singh jagmit

👨‍💻
View GitHub Profile
@fladago
fladago / main.dart
Created August 29, 2021 10:07
Flutter the containers with shadows.
import 'package:flutter/material.dart';
class ShadowExamples extends StatelessWidget {
const ShadowExamples({
Key? key,
}) : super(key: key);
@override
Widget build(BuildContext context) {
return Center(
@diachedelic
diachedelic / deep-link-from-browser.js
Last active October 31, 2024 07:31
Deep link to a native app from a browser, with a fallback
@slightfoot
slightfoot / always_scrollbar.dart
Created March 4, 2019 18:20
Always Visible Scrollbar for Flutter - 4th March 2019
import 'package:flutter/gestures.dart' show DragStartBehavior;
import 'package:flutter/material.dart';
import 'package:flutter/widgets.dart';
void main() {
runApp(
MaterialApp(
debugShowCheckedModeBanner: false,
theme: ThemeData(
primaryColor: Colors.indigo,
@katta
katta / mvncolor.sh
Created June 15, 2011 18:50
Script to add colors to maven output
#!/usr/bin/env bash
# Formatting constants
export BOLD=`tput bold`
export UNDERLINE_ON=`tput smul`
export UNDERLINE_OFF=`tput rmul`
export TEXT_BLACK=`tput setaf 0`
export TEXT_RED=`tput setaf 1`
export TEXT_GREEN=`tput setaf 2`
export TEXT_YELLOW=`tput setaf 3`