Skip to content

Instantly share code, notes, and snippets.

View cbenhagen's full-sized avatar

Ben Hagen cbenhagen

View GitHub Profile
@buntagonalprism
buntagonalprism / Dart Class.dart
Last active April 2, 2023 12:22
Flutter and Dart collection of file templates for Android Studio development
#set( $nameparts = $NAME.split("_"))
#set( $namepart = '')
#set( $classname = '')
#foreach( $namepart in $nameparts )
#set( $classname = $classname + $namepart.substring(0, 1).toUpperCase() + $namepart.substring(1))
#end
class $classname {
// TODO: add class properties and methods
@rnixx
rnixx / gist:f1c94490e636a4ed54b4
Last active May 2, 2016 20:14
Kivy: Material design ripple behavior mixin, based on TouchRippleBehavior from FlatKivy
from kivy.animation import Animation
from kivy.graphics import CanvasBase
from kivy.graphics import Color
from kivy.graphics import Ellipse
from kivy.graphics import ScissorPush
from kivy.graphics import ScissorPop
from kivy.properties import ListProperty
from kivy.properties import NumericProperty
from kivy.uix.relativelayout import RelativeLayout