mirror of
https://github.com/flutter/samples.git
synced 2026-05-18 12:59:04 +00:00
Remove code_sharing and place_tracker, cleanup repo (#2831)
Fixes #2818, #2523, #2528
This commit is contained in:
@@ -73,8 +73,6 @@ class _BookstoreState extends State<Bookstore> {
|
||||
pageBuilder: (context, state, child) {
|
||||
return FadeTransitionPage<dynamic>(
|
||||
key: state.pageKey,
|
||||
// Use a builder to get the correct BuildContext
|
||||
// TODO (johnpryan): remove when https://github.com/flutter/flutter/issues/108177 lands
|
||||
child: Builder(
|
||||
builder: (context) {
|
||||
return BooksScreen(
|
||||
@@ -103,8 +101,6 @@ class _BookstoreState extends State<Bookstore> {
|
||||
path: '/books/popular',
|
||||
pageBuilder: (context, state) {
|
||||
return FadeTransitionPage<dynamic>(
|
||||
// Use a builder to get the correct BuildContext
|
||||
// TODO (johnpryan): remove when https://github.com/flutter/flutter/issues/108177 lands
|
||||
key: state.pageKey,
|
||||
child: Builder(
|
||||
builder: (context) {
|
||||
@@ -139,8 +135,6 @@ class _BookstoreState extends State<Bookstore> {
|
||||
pageBuilder: (context, state) {
|
||||
return FadeTransitionPage<dynamic>(
|
||||
key: state.pageKey,
|
||||
// Use a builder to get the correct BuildContext
|
||||
// TODO (johnpryan): remove when https://github.com/flutter/flutter/issues/108177 lands
|
||||
child: Builder(
|
||||
builder: (context) {
|
||||
return BookList(
|
||||
@@ -174,8 +168,6 @@ class _BookstoreState extends State<Bookstore> {
|
||||
pageBuilder: (context, state) {
|
||||
return FadeTransitionPage<dynamic>(
|
||||
key: state.pageKey,
|
||||
// Use a builder to get the correct BuildContext
|
||||
// TODO (johnpryan): remove when https://github.com/flutter/flutter/issues/108177 lands
|
||||
child: Builder(
|
||||
builder: (context) {
|
||||
return BookList(
|
||||
@@ -234,7 +226,6 @@ class _BookstoreState extends State<Bookstore> {
|
||||
int.parse(state.pathParameters['authorId']!),
|
||||
);
|
||||
// Use a builder to get the correct BuildContext
|
||||
// TODO (johnpryan): remove when https://github.com/flutter/flutter/issues/108177 lands
|
||||
return Builder(
|
||||
builder: (context) {
|
||||
return AuthorDetailsScreen(
|
||||
@@ -266,7 +257,6 @@ class _BookstoreState extends State<Bookstore> {
|
||||
path: '/sign-in',
|
||||
builder: (context, state) {
|
||||
// Use a builder to get the correct BuildContext
|
||||
// TODO (johnpryan): remove when https://github.com/flutter/flutter/issues/108177 lands
|
||||
return Builder(
|
||||
builder: (context) {
|
||||
return SignInScreen(
|
||||
|
||||
Reference in New Issue
Block a user