Skip to content

Instantly share code, notes, and snippets.

@angelabauer
Created March 7, 2019 12:17
Show Gist options
  • Select an option

  • Save angelabauer/1b8e0089c03f0e85e3f2eb1fa0aa68e2 to your computer and use it in GitHub Desktop.

Select an option

Save angelabauer/1b8e0089c03f0e85e3f2eb1fa0aa68e2 to your computer and use it in GitHub Desktop.
import 'package:flutter/material.dart';
void main() => runApp(
MaterialApp(
home: BallPage(),
),
);
class BallPage extends StatelessWidget {
@override
Widget build(BuildContext context) {
return Scaffold(
backgroundColor: Colors.blue,
appBar: AppBar(
backgroundColor: Colors.blue.shade900,
title: Text('Ask Me Anything'),
),
body: Container(),
);
}
}
@BU19MCB1006
Copy link

import 'package:flutter/material.dart';

void main() => runApp(
MaterialApp(
home: Ball_page(),
),
);

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

@OverRide
Widget build(BuildContext context) {
return MaterialApp(
home: Scaffold(
backgroundColor: Colors.blue,
appBar: AppBar(
backgroundColor: Colors.blue[900],
title: Text(
'Ask me anything',
style: TextStyle(color: Colors.white),
),
),
),
);
}
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment