Toggle navigation
Toggle navigation
This project
Loading...
Sign in
flutter_package
/
fluttertpc_get
Go to a project
Toggle navigation
Projects
Groups
Snippets
Help
Toggle navigation pinning
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
Eduardo Florence
2021-01-04 19:14:48 -0300
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
e70f377181cf80354a116af450417ebb81ef5944
e70f3771
1 parent
3444754f
Remove '=>' unnecessary
Hide whitespace changes
Inline
Side-by-side
Showing
14 changed files
with
52 additions
and
50 deletions
documentation/en_US/dependency_management.md
documentation/en_US/route_management.md
documentation/es_ES/route_management.md
documentation/id_ID/dependency_management.md
documentation/id_ID/route_management.md
documentation/kr_KO/dependency_management.md
documentation/kr_KO/route_management.md
documentation/pt_BR/dependency_management.md
documentation/pt_BR/route_management.md
documentation/ru_RU/dependency_management.md
documentation/ru_RU/route_management.md
documentation/zh_CN/dependency_management.md
documentation/zh_CN/route_management.md
test/navigation/bottomsheet_test.dart
documentation/en_US/dependency_management.md
View file @
e70f377
...
...
@@ -81,9 +81,9 @@ It is possible to lazyLoad a dependency so that it will be instantiated only whe
Get
.
lazyPut
<
ApiMock
>(()
=>
ApiMock
());
Get
.
lazyPut
<
FirebaseAuth
>(
()
=>
{
// ... some logic if needed
return
FirebaseAuth
()
()
{
// ... some logic if needed
return
FirebaseAuth
();
},
tag:
Math
.
random
().
toString
(),
fenix:
true
...
...
@@ -309,7 +309,7 @@ getPages: [
GetPage
(
name:
'/'
,
page:
()
=>
HomeView
(),
binding:
BindingsBuilder
(()
=>
{
binding:
BindingsBuilder
(()
{
Get
.
lazyPut
<
ControllerX
>(()
=>
ControllerX
());
Get
.
put
<
Service
>(()=>
Api
());
}),
...
...
@@ -317,7 +317,7 @@ getPages: [
GetPage
(
name:
'/details'
,
page:
()
=>
DetailsView
(),
binding:
BindingsBuilder
(()
=>
{
binding:
BindingsBuilder
(()
{
Get
.
lazyPut
<
DetailsController
>(()
=>
DetailsController
());
}),
),
...
...
documentation/en_US/route_management.md
View file @
e70f377
...
...
@@ -484,12 +484,12 @@ Get.bottomSheet(
ListTile
(
leading:
Icon
(
Icons
.
music_note
),
title:
Text
(
'Music'
),
onTap:
()
=>
{}
onTap:
()
{}
),
ListTile
(
leading:
Icon
(
Icons
.
videocam
),
title:
Text
(
'Video'
),
onTap:
()
=>
{},
onTap:
()
{},
),
],
),
...
...
documentation/es_ES/route_management.md
View file @
e70f377
...
...
@@ -484,12 +484,12 @@ Get.bottomSheet(
ListTile
(
leading:
Icon
(
Icons
.
music_note
),
title:
Text
(
'Music'
),
onTap:
()
=>
{}
onTap:
()
{}
),
ListTile
(
leading:
Icon
(
Icons
.
videocam
),
title:
Text
(
'Video'
),
onTap:
()
=>
{},
onTap:
()
{},
),
],
),
...
...
documentation/id_ID/dependency_management.md
View file @
e70f377
...
...
@@ -84,9 +84,9 @@ Anda bisa melakukan lazyload terhadap sebuah dependensi supaya dependensi terseb
Get
.
lazyPut
<
ApiMock
>(()
=>
ApiMock
());
Get
.
lazyPut
<
FirebaseAuth
>(
()
=>
{
// ... beberapa logic jika diperlukan..
return
FirebaseAuth
()
()
{
// ... beberapa logic jika diperlukan..
return
FirebaseAuth
();
},
tag:
Math
.
random
().
toString
(),
fenix:
true
...
...
@@ -322,7 +322,7 @@ getPages: [
GetPage
(
name:
'/'
,
page:
()
=>
HomeView
(),
binding:
BindingsBuilder
(()
=>
{
binding:
BindingsBuilder
(()
{
Get
.
lazyPut
<
ControllerX
>(()
=>
ControllerX
());
Get
.
put
<
Service
>(()=>
Api
());
}),
...
...
@@ -330,7 +330,7 @@ getPages: [
GetPage
(
name:
'/details'
,
page:
()
=>
DetailsView
(),
binding:
BindingsBuilder
(()
=>
{
binding:
BindingsBuilder
(()
{
Get
.
lazyPut
<
DetailsController
>(()
=>
DetailsController
());
}),
),
...
...
documentation/id_ID/route_management.md
View file @
e70f377
...
...
@@ -486,12 +486,12 @@ Get.bottomSheet(
ListTile
(
leading:
Icon
(
Icons
.
music_note
),
title:
Text
(
'Music'
),
onTap:
()
=>
{}
onTap:
()
{}
),
ListTile
(
leading:
Icon
(
Icons
.
videocam
),
title:
Text
(
'Video'
),
onTap:
()
=>
{},
onTap:
()
{},
),
],
),
...
...
documentation/kr_KO/dependency_management.md
View file @
e70f377
...
...
@@ -80,9 +80,9 @@ Get.put<S>(
Get
.
lazyPut
<
ApiMock
>(()
=>
ApiMock
());
Get
.
lazyPut
<
FirebaseAuth
>(
()
=>
{
// 어떤 로직이 필요하다면 ...
return
FirebaseAuth
()
()
{
// 어떤 로직이 필요하다면 ...
return
FirebaseAuth
();
},
tag:
Math
.
random
().
toString
(),
fenix:
true
...
...
@@ -308,7 +308,7 @@ getPages: [
GetPage
(
name:
'/'
,
page:
()
=>
HomeView
(),
binding:
BindingsBuilder
(()
=>
{
binding:
BindingsBuilder
(()
{
Get
.
lazyPut
<
ControllerX
>(()
=>
ControllerX
());
Get
.
put
<
Service
>(()=>
Api
());
}),
...
...
@@ -316,7 +316,7 @@ getPages: [
GetPage
(
name:
'/details'
,
page:
()
=>
DetailsView
(),
binding:
BindingsBuilder
(()
=>
{
binding:
BindingsBuilder
(()
{
Get
.
lazyPut
<
DetailsController
>(()
=>
DetailsController
());
}),
),
...
...
documentation/kr_KO/route_management.md
View file @
e70f377
...
...
@@ -484,12 +484,12 @@ Get.bottomSheet(
ListTile
(
leading:
Icon
(
Icons
.
music_note
),
title:
Text
(
'Music'
),
onTap:
()
=>
{}
onTap:
()
{}
),
ListTile
(
leading:
Icon
(
Icons
.
videocam
),
title:
Text
(
'Video'
),
onTap:
()
=>
{},
onTap:
()
{},
),
],
),
...
...
documentation/pt_BR/dependency_management.md
View file @
e70f377
...
...
@@ -83,9 +83,9 @@ Nesses casos pode ser usado o lazyPut que só cria a instância no momento que e
Get
.
lazyPut
<
ApiMock
>(()
=>
ApiMock
());
Get
.
lazyPut
<
FirebaseAuth
>(
()
=>
{
// ... alguma lógica se necessário
return
FirebaseAuth
()
()
{
// ... alguma lógica se necessário
return
FirebaseAuth
();
},
tag:
Math
.
random
().
toString
(),
fenix:
true
...
...
@@ -313,7 +313,7 @@ getPages: [
GetPage(
name: '/',
page: () => HomeView(),
binding: BindingsBuilder(()
=>
{
binding: BindingsBuilder(() {
Get.lazyPut
<ControllerX>
(() => ControllerX());
Get.put
<Service>
(()=> Api());
}),
...
...
@@ -321,7 +321,7 @@ getPages: [
GetPage(
name: '/detalhes',
page: () => DetalhesView(),
binding: BindingsBuilder(()
=>
{
binding: BindingsBuilder(() {
Get.lazyPut
<DetalhesController>
(() => DetalhesController());
}),
),
...
...
documentation/pt_BR/route_management.md
View file @
e70f377
...
...
@@ -195,12 +195,12 @@ Get.bottomSheet(
ListTile
(
leading:
Icon
(
Icons
.
music_note
),
title:
Text
(
'Música'
),
onTap:
()
=>
{}
onTap:
()
{}
),
ListTile
(
leading:
Icon
(
Icons
.
videocam
),
title:
Text
(
'Vídeo'
),
onTap:
()
=>
{},
onTap:
()
{},
),
],
),
...
...
documentation/ru_RU/dependency_management.md
View file @
e70f377
...
...
@@ -81,9 +81,9 @@ Get.put<S>(
Get
.
lazyPut
<
ApiMock
>(()
=>
ApiMock
());
Get
.
lazyPut
<
FirebaseAuth
>(
()
=>
{
// ... some logic if needed
return
FirebaseAuth
()
()
{
// ... some logic if needed
return
FirebaseAuth
();
},
tag:
Math
.
random
().
toString
(),
fenix:
true
...
...
@@ -309,7 +309,7 @@ getPages: [
GetPage
(
name:
'/'
,
page:
()
=>
HomeView
(),
binding:
BindingsBuilder
(()
=>
{
binding:
BindingsBuilder
(()
{
Get
.
lazyPut
<
ControllerX
>(()
=>
ControllerX
());
Get
.
put
<
Service
>(()=>
Api
());
}),
...
...
@@ -317,7 +317,7 @@ getPages: [
GetPage
(
name:
'/details'
,
page:
()
=>
DetailsView
(),
binding:
BindingsBuilder
(()
=>
{
binding:
BindingsBuilder
(()
{
Get
.
lazyPut
<
DetailsController
>(()
=>
DetailsController
());
}),
),
...
...
documentation/ru_RU/route_management.md
View file @
e70f377
...
...
@@ -484,12 +484,12 @@ Get.bottomSheet(
ListTile
(
leading:
Icon
(
Icons
.
music_note
),
title:
Text
(
'Music'
),
onTap:
()
=>
{}
onTap:
()
{}
),
ListTile
(
leading:
Icon
(
Icons
.
videocam
),
title:
Text
(
'Video'
),
onTap:
()
=>
{},
onTap:
()
{},
),
],
),
...
...
documentation/zh_CN/dependency_management.md
View file @
e70f377
...
...
@@ -81,9 +81,9 @@ Get.put<S>(
Get
.
lazyPut
<
ApiMock
>(()
=>
ApiMock
());
Get
.
lazyPut
<
FirebaseAuth
>(
()
=>
{
// ... some logic if needed
return
FirebaseAuth
()
()
{
// ... some logic if needed
return
FirebaseAuth
();
},
tag:
Math
.
random
().
toString
(),
fenix:
true
...
...
@@ -306,7 +306,7 @@ getPages: [
GetPage
(
name:
'/'
,
page:
()
=>
HomeView
(),
binding:
BindingsBuilder
(()
=>
{
binding:
BindingsBuilder
(()
{
Get
.
lazyPut
<
ControllerX
>(()
=>
ControllerX
());
Get
.
put
<
Service
>(()=>
Api
());
}),
...
...
@@ -314,7 +314,7 @@ getPages: [
GetPage
(
name:
'/details'
,
page:
()
=>
DetailsView
(),
binding:
BindingsBuilder
(()
=>
{
binding:
BindingsBuilder
(()
{
Get
.
lazyPut
<
DetailsController
>(()
=>
DetailsController
());
}),
),
...
...
documentation/zh_CN/route_management.md
View file @
e70f377
...
...
@@ -478,12 +478,12 @@ Get.bottomSheet(
ListTile
(
leading:
Icon
(
Icons
.
music_note
),
title:
Text
(
'Music'
),
onTap:
()
=>
{}
onTap:
()
{}
),
ListTile
(
leading:
Icon
(
Icons
.
videocam
),
title:
Text
(
'Video'
),
onTap:
()
=>
{},
onTap:
()
{},
),
],
),
...
...
test/navigation/bottomsheet_test.dart
View file @
e70f377
...
...
@@ -13,9 +13,10 @@ void main() {
child:
Wrap
(
children:
<
Widget
>[
ListTile
(
leading:
Icon
(
Icons
.
music_note
),
title:
Text
(
'Music'
),
onTap:
()
=>
{}),
leading:
Icon
(
Icons
.
music_note
),
title:
Text
(
'Music'
),
onTap:
()
{},
),
],
),
));
...
...
@@ -34,9 +35,10 @@ void main() {
child:
Wrap
(
children:
<
Widget
>[
ListTile
(
leading:
Icon
(
Icons
.
music_note
),
title:
Text
(
'Music'
),
onTap:
()
=>
{}),
leading:
Icon
(
Icons
.
music_note
),
title:
Text
(
'Music'
),
onTap:
()
{},
),
],
),
));
...
...
Please
register
or
login
to post a comment