Skip to content

Instantly share code, notes, and snippets.

@CoderJava
Last active December 19, 2020 15:51
Show Gist options
  • Select an option

  • Save CoderJava/6ff426498fcc0caede2443dee4d22cc5 to your computer and use it in GitHub Desktop.

Select an option

Save CoderJava/6ff426498fcc0caede2443dee4d22cc5 to your computer and use it in GitHub Desktop.
Flutter Instagram Desktop (rev 2)
import 'package:flutter/material.dart';
final color1 = Color(0xFF282A34);
final color2 = Color(0XFF3C3F51);
final color3 = Color(0xFFE2336B);
final color4 = Color(0xFFFCAC46);
final fontFamilyAvenir = 'Avenir';
final fontFamilyBillabong = 'Billabong';
void main() => runApp(App());
class App extends StatelessWidget {
@override
Widget build(BuildContext context) {
return MaterialApp(
home: HomePage(),
debugShowCheckedModeBanner: false,
);
}
}
class HomePage extends StatelessWidget {
@override
Widget build(BuildContext context) {
return Scaffold(
body: Row(
children: [
WidgetNavigationDrawer(),
WidgetContent(),
],
),
);
}
}
class WidgetNavigationDrawer extends StatelessWidget {
@override
Widget build(BuildContext context) {
return Container();
// TODO: buat widget navigation drawer
}
}
class WidgetContent extends StatelessWidget {
@override
Widget build(BuildContext context) {
return Container();
// TODO: buat widget content
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment