Skip to content

Instantly share code, notes, and snippets.

import 'package:flutter/material.dart';
import 'package:flutter/cupertino.dart';
import 'package:flutterwave_card_deck/utils/widgets/animated_card_deck.dart';
import 'package:flutterwave_card_deck/utils/widgets/atm_card.dart';
class PlaygroundPage extends StatefulWidget {
@override
_PlaygroundPageState createState() => _PlaygroundPageState();
}
@JosteveGit
JosteveGit / _google-logo-animated-flutter.dart
Last active June 1, 2021 20:38
Google's "G" logo purely drawn and animated in Flutter Raw
// Drawn by @lesliearkorful; See: https://gist.github.com/lesliearkorful/052dc86c5e3a5d4453902126ac62a458
// Animated by @jostevegit
import 'package:flutter/material.dart';
void main() {
runApp(MyApp());
}
class MyApp extends StatelessWidget {
void main(){
}
@JosteveGit
JosteveGit / setup.dart
Created February 23, 2020 23:33
Setup
void main() => runApp(MyApp());
class MyApp extends StatelessWidget {
// This widget is the root of your application.
@override
Widget build(BuildContext context) {
return MaterialApp(
title: 'Flutter Demo',
theme: ThemeData(
primarySwatch: Colors.blue,
@JosteveGit
JosteveGit / import.dart
Created February 23, 2020 23:28
importing library
import 'package:extended_transitions/coupled_transition/coupled_transition.dart';
import 'package:extended_transitions/coupled_transition/coupled_transition_controller.dart';
import 'package:extended_transitions/coupled_transition/transition.dart';
@JosteveGit
JosteveGit / yaml.yaml
Created February 23, 2020 23:23
adding the dependency
dependencies:
flutter:
sdk: flutter
# The following adds the Cupertino Icons font to your application.
# Use with the CupertinoIcons class for iOS style icons.
cupertino_icons: ^0.1.3
extended_transitions: ^0.0.4