Skip to content

Commit

Permalink
✨ add custom animation
Browse files Browse the repository at this point in the history
  • Loading branch information
Antoinegtir committed Jul 10, 2023
1 parent 6c1673f commit 78d152a
Showing 1 changed file with 3 additions and 17 deletions.
20 changes: 3 additions & 17 deletions client/lib/pages/home.dart
Original file line number Diff line number Diff line change
@@ -1,25 +1,13 @@
import 'package:animate_do/animate_do.dart';
import 'package:cached_network_image/cached_network_image.dart';
import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
import 'package:flutter/rendering.dart';
import 'package:flutter/services.dart';
import 'package:iconsax/iconsax.dart';
import 'package:lottie/lottie.dart';
import 'package:provider/provider.dart';
import 'package:threads/camera/camera.dart';
import 'package:threads/model/post.dart';
import 'package:threads/model/user.dart';
import 'package:threads/pages/profile.dart';
import 'package:threads/state/authState.dart';
import 'package:threads/state/post.dart';
import 'package:threads/state/searchState.dart';
import 'package:threads/styles/color.dart';
import 'package:threads/pages/myprofile.dart';
import 'package:threads/widget/feedpost.dart';
import 'package:threads/widget/gridpost.dart';
import 'package:threads/widget/list.dart';
import '../widget/custom/rippleButton.dart';
import 'feed.dart';

class HomePage extends StatefulWidget {
const HomePage({super.key});
Expand Down Expand Up @@ -160,10 +148,8 @@ class _HomePageState extends State<HomePage> with TickerProviderStateMixin {
backgroundColor: Colors.black,
appBar: AppBar(
leading: Container(),
title: Image.asset(
"assets/thread.png",
height: 50,
),
title: Lottie.network(
"https://assets3.lottiefiles.com/packages/lf20_Ht77kFLXYw.json",height: 50),
toolbarHeight: 37,
elevation: 0,
backgroundColor: Colors.transparent,
Expand Down

0 comments on commit 78d152a

Please sign in to comment.