Skip to content

Instantly share code, notes, and snippets.

@blaugold
Created January 11, 2020 20:38
Show Gist options
  • Save blaugold/2dbe7941e1fc47919dd2d2e96dee33c1 to your computer and use it in GitHub Desktop.
Save blaugold/2dbe7941e1fc47919dd2d2e96dee33c1 to your computer and use it in GitHub Desktop.
import 'package:flutter/material.dart';
final Color darkBlue = Color.fromARGB(255, 18, 32, 47);
void main() {
runApp(MyApp());
}
class MyApp extends StatelessWidget {
@override
Widget build(BuildContext context) {
return MaterialApp(
theme: ThemeData.dark().copyWith(scaffoldBackgroundColor: darkBlue),
debugShowCheckedModeBanner: false,
home: Scaffold(
body: Center(
child: Column(
children: <Widget>[
Container(
margin: EdgeInsets.all(16),
height: 200,
width: 200,
decoration: BoxDecoration(
border: Border(
top: BorderSide(color: Colors.white, width: 0),
left: BorderSide(color: Colors.white, width: .1),
bottom: BorderSide(color: Colors.white, width: 1),
),
),
),
Container(
margin: EdgeInsets.all(16),
height: 200,
width: 200,
decoration: BoxDecoration(
border: Border.all(color: Colors.white, width: 0),
),
),
],
),
),
),
);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment