seatsio-flutter allows rendering seats.io seating charts inside a Flutter application.
Add seatsio_flutter
as a dependency in your pubspec.yaml file.
import 'package:flutter/material.dart';
import 'package:seatsio_flutter/seatsio_flutter.dart';
class SmallTheatreMinimal extends StatelessWidget {
@override
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(title: Text("Minimal example")),
body: SeatsioSeatingChart(
config: SeatingChartConfig((b) => b
..workspaceKey = "<your workspace key>"
..event = "<your event key>")));
}
}
- Renderer prompts API
- Event manager
dart run build_runner build
cd example
open -a Simulator
flutter pub get
flutter run
cd example
emulator -list-avds
emulator -avd <avd_name>
flutter devices
flutter run -d <device_id>
Not supported
- Run https://github.com/seatsio/seatsio-flutter/actions/workflows/bumpVersion.yml
- Run https://github.com/seatsio/seatsio-flutter/actions/workflows/publish.yml on the tag that was just created
This SDK was inspired by https://github.com/SongJiaqiang/seatsio-flutter.