Git Product home page Git Product logo

ny-times-most-viewed-articles's Introduction

NY-Times-Most-Viewed-Articles

Article Application created with flutter using Cubit.I also used MVVM(Model-View-Model View) pattern in this project.

Libraries & Tools Used

  • Dio (^5.3.0)
  • equatable: (^2.0.5)
  • flutter_screenutil: (^5.8.4)
  • Bloc (^8.1.0)
  • Flutter Bloc (^8.1.3)
  • json_annotation: (^4.8.1)
  • pretty_dio_logger: (^1.3.1)
  • json_serializable: (^6.7.1)
  • build_runner: (^2.4.6)

Main

This is the starting point of the application. All the application level configurations are defined in this file.

import 'package:ny_times_most_popular_articles/product/const/app_text.dart';

import 'app_shelf.dart';
import 'core/provider/multi_bloc_provider.dart';

void main() {
  runApp(const MyApp());
}

class MyApp extends StatelessWidget {
  const MyApp({super.key});

  @override
  Widget build(BuildContext context) {
    return ScreenUtilInit(
        minTextAdapt: true,
        splitScreenMode: true,
        builder: (BuildContext context, Widget? child) => MultiBlocProviderWidget(
              child: MaterialApp(
                title: AppText.appTitle,
                debugShowCheckedModeBanner: false,
                theme: ThemeData(
                  useMaterial3: true,
                ),
                home: const HomeView(),
              ),
            ));
  }
}

Conclusion

I will be happy to answer any questions that you may have on this approach, and if you want to lend a hand with the boilerplate then please feel free to submit an issue and/or pull request 🙂

ny-times-most-viewed-articles's People

Contributors

sedatdynn avatar

Stargazers

Mehmet Zubaroğlu avatar  avatar  avatar Can İlgu avatar Hüseyin Gür avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.