1
0
mirror of https://github.com/flutter/samples.git synced 2026-04-24 16:01:25 +00:00

Remove code_sharing and place_tracker, cleanup repo (#2831)

Fixes #2818, #2523, #2528
This commit is contained in:
Eric Windmill
2026-04-15 13:02:16 -07:00
committed by GitHub
parent d626e058a4
commit d66d8c49b5
295 changed files with 82 additions and 9279 deletions

View File

@@ -66,8 +66,6 @@ class _BookDetailState extends State<BookDetail> {
// Registering this `FlutterBookApiHandler` class lets us receive incoming
// calls from the platform.
// TODO(gaaclarke): make the setup method an instance method so it's
// injectable https://github.com/flutter/flutter/issues/59119.
FlutterBookApi.setup(
FlutterBookApiHandler(
// The `FlutterBookApi` just has one method. Just give a closure for that
@@ -82,7 +80,6 @@ class _BookDetailState extends State<BookDetail> {
this.book!.title = titleTextController.text;
});
// Subtitle could be null.
// TODO(gaaclarke): https://github.com/flutter/flutter/issues/59118.
subtitleTextController.text = book.subtitle ?? '';
subtitleTextController.addListener(() {
this.book!.subtitle = subtitleTextController.text;