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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user