flutter_pretty_animation 0.0.2 copy "flutter_pretty_animation: ^0.0.2" to clipboard
flutter_pretty_animation: ^0.0.2 copied to clipboard

outdated

A new Flutter Animation package.

example/lib/main.dart

import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
import 'package:flutter_pretty_animation/flutter_pretty_animation.dart';

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,
      ),
      home: MyHomePage(title: 'Flutter Demo Animation Group'),
    );
  }
}

class MyHomePage extends StatefulWidget {
  MyHomePage({Key key, this.title}) : super(key: key);
  final String title;


  @override
  _MyHomePageState createState() => _MyHomePageState();
}

class _MyHomePageState extends State<MyHomePage> {

  @override
  void initState() {
    // TODO: implement initState
    super.initState();

  }

  @override
  Widget build(BuildContext context) {

    return Scaffold(
      appBar: AppBar(
        // Here we take the value from the MyHomePage object that was created by
        // the App.build method, and use it to set our appbar title.
        title: Text(widget.title),
      ),
      body:Center(
        child:  AnimationlikeWidget(isLike: false,width: 180,),
      )

      // AnimationGroupWidget(
      //     [
      //      Icon(Icons.map),
      //
      //       Text(
      //         'C',
      //         style: new TextStyle(fontSize: 44),
      //       ),
      //       Text(
      //         'H',
      //         style: new TextStyle(fontSize: 44),
      //       ),
      //       Icon(Icons.airplanemode_on,size: 40,),
      //       Text(
      //         'A',
      //         style: new TextStyle(fontSize: 44),
      //       ),
      //       Text(
      //         'N',
      //         style: new TextStyle(fontSize: 44),
      //       ),
      //       Text(
      //         'N',
      //         style: new TextStyle(fontSize: 44),
      //       )
      //     ]
      // ),
    );
  }
}
4
likes
0
pub points
22%
popularity

Publisher

unverified uploader

A new Flutter Animation package.

Homepage

License

unknown (LICENSE)

Dependencies

flutter

More

Packages that depend on flutter_pretty_animation