Created
May 25, 2022 15:31
-
-
Save pxpc2/24c27d550e030d48aa764cdbb34beed6 to your computer and use it in GitHub Desktop.
skeleton flutter
skeleton flutter
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import 'package:flutter/material.dart'; | |
void main() { | |
MaterialApp app = MaterialApp( | |
home: Scaffold( | |
appBar: AppBar( | |
title: const Text('Quotes'), | |
backgroundColor: Colors.deepPurple, | |
), | |
body: const Padding( | |
padding: EdgeInsets.all(20), | |
child: Text('Content'), | |
), | |
bottomNavigationBar: BottomAppBar( | |
color: Colors.deepPurpleAccent, | |
child: Padding( | |
padding: const EdgeInsets.all(20), | |
child: Row( | |
children: const [ | |
Text('bottom content'), | |
Text('In the row!') | |
], | |
), | |
), | |
), | |
), | |
); | |
runApp(app); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment