phlox_animations 0.0.1 phlox_animations: ^0.0.1 copied to clipboard
A new Flutter project.
import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
import 'package:flutter/rendering.dart';
import 'divider.dart';
import 'phlox_animation_example_01.dart';
import 'phlox_animation_example_02.dart';
import 'phlox_animation_example_03.dart';
import 'phlox_animation_example_04.dart';
import 'phlox_animation_example_05.dart';
void main() {
runApp(MaterialApp(
title: 'Phlox Animations - Example',
theme: ThemeData(
primarySwatch: Colors.indigo,
),
home: const AnimationsListPage(),
));
}
class AnimationsListPage extends StatelessWidget {
const AnimationsListPage({Key? key}) : super(key: key);
@override
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(
title: const Text("PhloxAnimations - Example"),
),
body: SingleChildScrollView(
child: Column(
crossAxisAlignment: CrossAxisAlignment.center,
children: const [
// 1 ______________
SimpleDivider(text: "1"),
PhloxAnimationsExample01(),
// 2 ______________
SimpleDivider(text: "2"),
PhloxAnimationsExample02(),
// 3 ______________
SimpleDivider(text: "3"),
PhloxAnimationsExample03(),
// 4 ______________
SimpleDivider(text: "4"),
PhloxAnimationsExample04(),
// 5 ______________
SimpleDivider(text: "5"),
PhloxAnimationsExample05(),
],
),
),
);
}
}