This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{"v":"5.7.3","fr":30,"ip":0,"op":25,"w":960,"h":960,"nm":"Dog","ddd":0,"assets":[{"id":"image_0","w":2756,"h":1677,"u":"","p":"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAACsQAAAaNCAYAAABpjrhxAAAACXBIWXMAAAABAAAAAQBPJcTWAAAAJHpUWHRDcmVhdG9yAAAImXNMyU9KVXBMK0ktUnBNS0tNLikGAEF6Bs5qehXFAAAgAElEQVR4nOzdbXCd93ke+OsAIAWQIAm+iAJFWyRFWUJiRYESy5YUSaaTVlrHuzW1k3iTuLNm3KbJdqcJKrtT7+RD1d3ZTWfrJux2p+Np6jHTfojG7U7YZuqqStPQL7EY27FhS5YhRTJBSqIhvoIECRwCB+fsB1oyJYIkDvAcPAfU7zfDEfU853//L74M+eXijUretj6xLWk8evH7lcEfPW/0J+l/y4drSeXZpDH6o0cdB64+vzac7B1ffE4AAAAAAAAAAAAArqZSdoCl8cldSf1DST6UZEuSvnLztIUvlh2geI3hpHK9lZDHk47hskMU79MHyk4AAAAAAAAAAADA9eM6LcR+YndS35VUdiX5yZLDAEtrjrL3W8vSr294ro0ne6/DwjEAAAAAAAAAAMDby3VSiB3annTsSrI7yYfLTAIsW68XaQ/kjc28teFk7/W2dRgAAAAAAAAAAOC6s4wLsUN9ScfuJEOxBRZonTNJhpMcSCrDyexwsne03EgAAAAAAAAAAABcahkWYj+5K2nsSRofKzsJ8LZ1OKkcSBoHkvp+W2QBAAAAAAAAAADKtYwKsY/tSfJ4km3l5gC4zLeT7PthOXa05CwAAAAAAAAAAABvO21eiB3qSzr2JBmKIiywPHw7yV6bYwEAAAAAAAAAAJZOGxdibYQFlrUzSWV/Mvu4rbEAAAAAAAAAAACt1YaF2E/uSur7oggLXD++mHQ8nnz6QNlBAAA |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Helper to get element by xpath | |
function getElementByXpath(path) { | |
return document.evaluate(path, document, null, XPathResult.FIRST_ORDERED_NODE_TYPE, null).singleNodeValue; | |
} | |
// XPaths for buttons | |
let zoomInButtonXPath = '//*[@id="ExploreLayoutController"]/div/div[4]/aside/div/div[4]/div/button[1]'; | |
let zoomOutButtonXPath = '//*[@id="ExploreLayoutController"]/div/div[4]/aside/div/div[4]/div/button[2]'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class AutoHidingSliverAppBarTitle extends StatefulWidget { | |
final Widget child; | |
const AutoHidingSliverAppBarTitle({ | |
Key key, | |
@required this.child, | |
}) : super(key: key); | |
@override | |
_AutoHidingSliverAppBarTitleState createState() => _AutoHidingSliverAppBarTitleState(); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import 'package:fl_chart/fl_chart.dart'; | |
import 'package:flutter/material.dart'; | |
class BarChartSample extends StatefulWidget { | |
final String countryName; | |
BarChartSample({this.countryName); | |
@override | |
State<StatefulWidget> createState() => BarChartSampleState(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import 'package:flutter/material.dart'; | |
import 'package:provider/provider.dart'; | |
void main() => runApp(MyApp()); | |
class FormModel extends ChangeNotifier { | |
String _firstInput; | |
String _secondInput; | |
String get firstInput => _firstInput; | |
String get secondInput => _secondInput; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import 'package:flutter/material.dart'; | |
import 'package:flutter/physics.dart'; | |
void main() async { | |
runApp( | |
MaterialApp( | |
debugShowCheckedModeBanner: false, | |
home: SpringAnimationExample(), | |
), | |
); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import 'package:flutter/material.dart'; | |
import 'package:flutter/physics.dart'; | |
void main() async { | |
runApp( | |
MaterialApp( | |
debugShowCheckedModeBanner: false, | |
home: GravityAnimationExample(), | |
), | |
); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import 'package:flutter/material.dart'; | |
void main() async { | |
runApp( | |
MaterialApp( | |
debugShowCheckedModeBanner: false, | |
home: AnimatedDefaultTextStyleExample(), | |
), | |
); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import 'package:flutter/material.dart'; | |
void main() async { | |
runApp( | |
MaterialApp( | |
debugShowCheckedModeBanner: false, | |
home: AnimatedPositionedExample(), | |
), | |
); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import 'dart:math'; | |
import 'package:flutter/material.dart'; | |
void main() async { | |
runApp( | |
MaterialApp( | |
debugShowCheckedModeBanner: false, | |
home: AnimatedContainerExample(), | |
), | |
); |