Skip to content

A Designer News App, made with keeping Mobile and Web in mind.

Notifications You must be signed in to change notification settings

khurramrizvi/designer_news

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Designer News

A responsive Flutter App.

A Designer News App, made with keeping Mobile and Web in mind.

Getting Started

This project is a starting point for a Flutter application.

A few resources to get you started if this is your first Flutter project:

For help getting started with Flutter, view our online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference.

Screenshots

Mockup

UI Mockup by Rocket Science

Mobile UI

Article Screen GIF Detailed Screen

Web UI

Full Expanded
Half Expanded

Sample Code

main.dart

import 'package:designernewsapp/views/main_page.dart';
import 'package:flutter/material.dart';
import 'package:google_fonts/google_fonts.dart';

void main() => runApp(
MaterialApp(
 debugShowCheckedModeBanner: false,
 title: 'Designer News',
 theme: ThemeData(
   visualDensity: VisualDensity.adaptivePlatformDensity,
   primaryColor: Colors.purple[800],
   accentColor: Colors.purple[800].withOpacity(0.8),
   textTheme: GoogleFonts.questrialTextTheme()
 ),
 home: MyNewsApp(),
)
);


class MyNewsApp extends StatelessWidget {
 @override
 Widget build(BuildContext context) {
   return Scaffold(
     backgroundColor: Colors.white,
     bottomNavigationBar: BottomAppBar(
       elevation: 5,
       child: Row(
         mainAxisAlignment: MainAxisAlignment.spaceAround,
         children: <Widget>[
           IconButton(icon: Icon(
             Icons.event_note,
             color: Theme.of(context).accentColor,
           ), onPressed: (){}),

           IconButton(icon: Icon(
               Icons.search
           ), onPressed: null),

           IconButton(icon: Icon(
               Icons.bookmark_border
           ), onPressed: null),

           IconButton(icon: Icon(
               Icons.person_outline
           ), onPressed: null)
         ],
       ),
     ),
     body: Padding(
         padding: EdgeInsets.symmetric(horizontal: 16, vertical: 8),
       child: SafeArea(
         child: SingleChildScrollView(
             child: MainPage()
         ),
       ),
     ),

   );
 }
}

If you like my work and want to show some ❤️, please consider giving a ⭐️ to this Repository.

About

A Designer News App, made with keeping Mobile and Web in mind.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages