1
0
mirror of https://github.com/flutter/samples.git synced 2026-05-31 03:19:51 +00:00
This commit is contained in:
Brett Morgan
2022-05-11 12:48:11 -07:00
committed by GitHub
parent fb00d0a102
commit ccd68f34e2
242 changed files with 1719 additions and 1430 deletions

View File

@@ -2,22 +2,9 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:flutter_module_books/api.dart';
import 'package:pigeon/pigeon.dart';
class Book {
String title;
String subtitle;
String author;
String summary;
String publishDate;
int pageCount;
Thumbnail thumbnail;
}
class Thumbnail {
String url;
}
@FlutterApi()
abstract class FlutterBookApi {
void displayBookDetails(Book book);