Skip to content

Instantly share code, notes, and snippets.

@BorisKest
BorisKest / example.dart
Created June 7, 2023 09:19 — forked from PlugFox/example.dart
Flutter Shimmer & Skeleton
void main() => runZonedGuarded<void>(
() => runApp(const App()),
(error, stackTrace) => log('Top level exception $error'),
);
class App extends StatelessWidget {
const App({super.key});
@override
Widget build(BuildContext context) => MaterialApp(
@BorisKest
BorisKest / main.dart
Created June 11, 2024 10:38
SliverAppBar with expandable bottom.
import 'package:flutter/material.dart';
void main() {
runApp(const MyApp());
}
class MyApp extends StatelessWidget {
const MyApp({super.key});
// This widget is the root of your application.