Skip to content

Latest commit

 

History

History
84 lines (64 loc) · 3.13 KB

README.md

File metadata and controls

84 lines (64 loc) · 3.13 KB

About the project

Atom is a prototype chat-bot application designed to showcase engaging animations and smooth screen transitions, aimed at enhancing user experience. With Atom, users can interact with a chat-bot interface while enjoying captivating animations and seamless navigation throughout the app.

Features

  • Interactive chat-bot interface.
  • Engaging animations for a delightful user experience.
  • Smooth screen transitions between different sections of the app.

Built with

  • Flutter - Beautiful native apps in record time.
  • IntelliJ IDEA - Code Editing.
  • Clean Architecture - To separate architecture into loosely coupled layers.
  • Flutter BloC - State Management for separating the UI from Business Logic.
  • Get It - Dependency Injection.
  • AutoRoute - Streamlines Flutter navigation with code-generated routes and typed arguments.

Chat sheet animation

static const _springDescription = SpringDescription(
    mass: 1,
    stiffness: 300,
    damping: 20,
  );
static const double _velocity = 10;

_chatSizeAnimationController = AnimationController.unbounded(vsync: this);

///Show chat
 final reverseSimulation = SpringSimulation(
   _springDescription,
   1,
   0,
   -_velocity,
 );
 _chatSizeAnimationController.animateWith(reverseSimulation);

///Hide chat
 final forwardSimulation = SpringSimulation(
   _springDescription,
   0,
   1,
   _velocity,
 );
 _chatSizeAnimationController.animateWith(forwardSimulation);

Getting Started

Step 1:

Download or clone this repo by using the link below:

https://github.com/TBR-Group-software/flutter_chat_bot_animation.git

Step 2:

Go to project root and execute the following command in console to get the required dependencies:

flutter pub get 

License

This project is licensed under the GNU GPL v3 License - see the LICENSE.md file for details.