Skip to content

Netflix clone mobile app written with flutter. It is a non-profit example made for development purposes only.

Notifications You must be signed in to change notification settings

nurllhk/NetflixClone

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Netflix Clone


Resim 1 Resim 2

Ekran.Kaydi.2023-07-04.17.42.02.mp4

packages used

  lottie: ^2.4.0

Album card

SizedBox(
      width: MediaQuery.of(context).size.width,
      height: MediaQuery.of(context).size.height * .6,
      child: Stack(
        children: [
          Container(
            constraints: const BoxConstraints.expand(),
            child: Image(
              image: AssetImage(imagename),
              fit: BoxFit.cover,
            ),
          ),
          Positioned(
            bottom: 0,
            child: Container(
              width: MediaQuery.of(context).size.width,
              height: MediaQuery.of(context).size.height * .5,
              decoration: BoxDecoration(
                  gradient: LinearGradient(
                      colors: [Colors.black.withOpacity(0), Colors.black],
                      begin: Alignment.topCenter,
                      end: Alignment.bottomCenter)),
            ),
          ),
          Positioned(
            bottom: 0,
            child: Container(
              width: MediaQuery.of(context).size.width,
              padding: Palet.pagePadding,
              child: Row(
                mainAxisAlignment: MainAxisAlignment.spaceEvenly,
                crossAxisAlignment: CrossAxisAlignment.center,
                children: [
                  const Column(
                    mainAxisAlignment: MainAxisAlignment.center,
                    children: [Icon(Icons.add), Text(DefaultKey.list)],
                  ),
                  Container(
                    padding: Palet.cardPadding,
                    decoration: BoxDecoration(
                        borderRadius: Palet.cardBorder,
                        color: Colors.white),
                    child: Row(
                      children: [
                        const Icon(
                          Icons.play_arrow_sharp,
                          color: Palet.iconColor,
                        ),
                        Text(
                          DefaultKey.play,
                          style: Theme.of(context)
                              .textTheme
                              .titleMedium
                              ?.copyWith(color: Palet.iconColor),
                        ),
                      ],
                    ),
                  ),
                  const Column(
                    mainAxisAlignment: MainAxisAlignment.spaceBetween,
                    children: [Icon(Icons.info), Text(DefaultKey.info)],
                  ),
                ],
              ),
            ),
          )
        ],
      ),
    );
 

About

Netflix clone mobile app written with flutter. It is a non-profit example made for development purposes only.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages