flutter_availability/apps/example/lib/main.dart

25 lines
491 B
Dart
Raw Normal View History

2024-07-01 11:08:06 +02:00
import "package:flutter/material.dart";
import "package:flutter_availability/flutter_availability.dart";
2024-07-01 11:08:06 +02:00
void main() {
runApp(const App());
2024-07-01 11:08:06 +02:00
}
class App extends StatelessWidget {
const App({super.key});
2024-07-01 11:08:06 +02:00
@override
Widget build(BuildContext context) => const MaterialApp(
home: Home(),
2024-07-01 11:08:06 +02:00
);
}
class Home extends StatelessWidget {
const Home({super.key});
2024-07-01 11:08:06 +02:00
@override
Widget build(BuildContext context) => availabilityNavigatorUserStory(
context,
2024-07-01 11:08:06 +02:00
);
}