Skip to content

Instantly share code, notes, and snippets.

View theshivamlko's full-sized avatar
🏠
Working from home

shivam srivastava theshivamlko

🏠
Working from home
View GitHub Profile
@theshivamlko
theshivamlko / main.dart
Last active June 3, 2018 21:34
opacity: value changed
new Opacity(
opacity: animationFadeInInput.value,
child: new Stack(children: <Widget>[
new Center(
child: new Container(
width: 320.0,
height: 60.0,
alignment: Alignment.center,
child: new Container(
alignment: Alignment(0.0, animationMoveUp.value),
child: new Wrap(
spacing: 8.0, // gap between adjacent chips
runSpacing: 4.0,
children: <Widget>[
new Container(
child: new Image.asset(
'images/namaste2.png',
child: new Image.asset(
'images/namaste2.png',
height: height,
width: width,
),
new Transform(
alignment: FractionalOffset.center,
transform: new Matrix4.rotationZ(-animationRotate.value / 360),
child: new Image.asset(
'images/ring_design.png',
height: 150.0,
width: 150.0,
)),
// https://navoki.com
main() {
print("Message 1");
getSum().then((value){
print("Sum: $value");
print("Message 2");
// https://navoki.com
main() {
print("Message 1");
getSum().then((value){
print("Sum: $value");
print("Message 2");
// https://navoki.com
main() {
print("Message 1");
getSum().then((value){
print("Sum: $value");
print("Message 2");