Skip to content

Instantly share code, notes, and snippets.

@red-star25
Created September 13, 2021 07:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save red-star25/eb742262dcd891f7a7e7d8aca37e149d to your computer and use it in GitHub Desktop.
Save red-star25/eb742262dcd891f7a7e7d8aca37e149d to your computer and use it in GitHub Desktop.
import 'package:flutter/material.dart';
void main() => runApp(MaterialApp(home: MyApp()));
class MyApp extends StatelessWidget {
@override
Widget build(BuildContext context) {
return Scaffold(
body: CustomScrollView(
slivers: <Widget>[
SliverAppBar(
title: Text("SliverSafeArea"),
),
],
),
);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment