Skip to content

Instantly share code, notes, and snippets.

View package.json
{
"name": "Apptivate Base packages",
"version": "0.0.1",
"private": true,
"scripts": {
"start": "node node_modules/react-native/local-cli/cli.js start",
"test": "jest"
},
"dependencies": {
"aws-amplify": "^1.1.26",
View animatedlist.dart
import 'package:flutter/material.dart';
import 'package:flutter/foundation.dart';
main() {
runApp(new TestSample());
}
class TestSample extends StatelessWidget{
@override
Widget build(BuildContext context) {
@manujbahl
manujbahl / textfield.dart
Created Jul 16, 2018
TextField formatter
View textfield.dart
import 'package:flutter/material.dart';
import 'package:flutter/services.dart';
main() {
runApp(new Home());
}
class MyFormatter extends TextInputFormatter {
MyFormatter();
View inkwellsample.dart
import 'package:flutter/material.dart';
main() {
runApp(new TestSample());
}
class TestSample extends StatelessWidget{
@override
Widget build(BuildContext context) {
var widget = new MaterialApp(
View future.dart
import 'package:flutter/material.dart';
main() {
runApp(new TestSample());
}
class TestSample extends StatelessWidget{
@override
Widget build(BuildContext context) {
var widget = new MaterialApp(
home: new Scaffold(
View flexlayout.dart
import 'package:flutter/material.dart';
void main() {
runApp(new AnimatedListSample());
}
class AnimatedListSample extends StatelessWidget{
final GlobalKey<AnimatedListState> _listKey =
new GlobalKey<AnimatedListState>();
View column.dart
import 'package:flutter/material.dart';
import 'package:flutter/services.dart';
void main() {
runApp(new MyApp());
}
class MyApp extends StatelessWidget {
@override
Widget build(BuildContext context) {
View textfield.dart
import 'package:flutter/material.dart';
import 'package:flutter/services.dart';
void main() {
runApp(new MyApp());
}
class MyApp extends StatelessWidget {
@override
Widget build(BuildContext context) {
View animatePerspective.dart
import 'dart:async';
import 'package:flutter/material.dart';
enum AnimationOptions { None, Transform }
void main() {
var app = new Scaffold(
body:new AnimationDemo()
);
@manujbahl
manujbahl / animateScale.dart
Last active Apr 21, 2018
animateScale.dart
View animateScale.dart
import 'dart:async';
import 'package:flutter/material.dart';
enum AnimationOptions { None, Transform }
void main() {
var app = new Scaffold(
body:new AnimationDemo()
);