breathing_collection 1.0.0+3 breathing_collection: ^1.0.0+3 copied to clipboard
A collection of Flutter widgets with breathing animation. More widgets will be added.
import 'package:breathing_collection/breathing_collection.dart';
import 'package:flutter/material.dart';
class MyApp extends StatefulWidget {
@override
_MyAppState createState() => _MyAppState();
}
class _MyAppState extends State<MyApp> {
@override
Widget build(BuildContext context) {
return MaterialApp(
title: 'Breathing Collection',
theme: ThemeData(
primarySwatch: Colors.blue,
),
debugShowCheckedModeBanner: false,
home: SafeArea(
child: Scaffold(
body: Center(
child: Stack(
children: [
BreathingBackground(),
BreathingGlowingButton(),
],
),
),
),
),
);
}
}