Skip to content

Instantly share code, notes, and snippets.

@danielmsd1
danielmsd1 / Code.gs
Created December 29, 2020 12:05 — forked from benbjurstrom/Code.gs
PurgeOldEmails
/*
|--------------------------------------------------------------------------
| PurgeOldEmails
|--------------------------------------------------------------------------
| https://gist.github.com/benbjurstrom/00cdfdb24e39c59c124e812d5effa39a
|
*/
// Purge messages automatically after how many days?
var DELETE_AFTER_DAYS = 7
class ColorAnimationWithStaticFinal extends StatelessWidget {
static final colorTween = Tween<Color>(begin: Colors.white, end: Colors.red);
@override
Widget build(BuildContext context) {
return Stack(
children: <Widget>[
starsBackground,
Center(
child: TweenAnimationBuilder<Color>(