Showing
1 changed file
with
29 additions
and
29 deletions
@@ -36,22 +36,22 @@ | @@ -36,22 +36,22 @@ | ||
36 | - [লোকেল পরিবর্তন করুন](#change-locale) | 36 | - [লোকেল পরিবর্তন করুন](#change-locale) |
37 | - [লোকেল পদ্ধতি](#system-locale) | 37 | - [লোকেল পদ্ধতি](#system-locale) |
38 | - [থিম পরিবর্তন করুন](#change-theme) | 38 | - [থিম পরিবর্তন করুন](#change-theme) |
39 | - - [GetConnect](#getconnect) | 39 | + - [গেট কানেক্ট](#getconnect) |
40 | - [ডিফল্ট কনফিগারেশন](#default-configuration) | 40 | - [ডিফল্ট কনফিগারেশন](#default-configuration) |
41 | - [কাস্টম কনফিগারেশন](#custom-configuration) | 41 | - [কাস্টম কনফিগারেশন](#custom-configuration) |
42 | - - [GetPage মিডিলওয়্যার](#getpage-middleware) | 42 | + - [গেট পেজ মিডিলওয়্যার](#getpage-middleware) |
43 | - [অগ্রাধিকার](#priority) | 43 | - [অগ্রাধিকার](#priority) |
44 | - [পুনঃনির্দেশ](#redirect) | 44 | - [পুনঃনির্দেশ](#redirect) |
45 | - - [অনপেজ কলড](#onpagecalled) | 45 | + - [অন-পেজ কলড](#onpagecalled) |
46 | - [অন-বাইন্ডিং স্টার্ট](#onbindingsstart) | 46 | - [অন-বাইন্ডিং স্টার্ট](#onbindingsstart) |
47 | - [অন-পেজ বিল্ড স্টার্ট](#onpagebuildstart) | 47 | - [অন-পেজ বিল্ড স্টার্ট](#onpagebuildstart) |
48 | - [অন-পেজ বিল্ড](#onpagebuilt) | 48 | - [অন-পেজ বিল্ড](#onpagebuilt) |
49 | - [অন-পেজ ডিসপোজ](#onpagedispose) | 49 | - [অন-পেজ ডিসপোজ](#onpagedispose) |
50 | - - [অন্যান্য এপিআই](#other-advanced-apis) | 50 | + - [অন্যান্য এপিআই সমূহ](#other-advanced-apis) |
51 | - [ঐচ্ছিক গ্লোবাল সেটিংস এবং ম্যানুয়াল কনফিগারেশন](#optional-global-settings-and-manual-configurations) | 51 | - [ঐচ্ছিক গ্লোবাল সেটিংস এবং ম্যানুয়াল কনফিগারেশন](#optional-global-settings-and-manual-configurations) |
52 | - [লোকাল স্টেট উইজেট](#local-state-widgets) | 52 | - [লোকাল স্টেট উইজেট](#local-state-widgets) |
53 | - [ভ্যালু বিল্ডার](#valuebuilder) | 53 | - [ভ্যালু বিল্ডার](#valuebuilder) |
54 | - - [ObxValue](#obxvalue) | 54 | + - [অব এক্স ভ্যালু](#obxvalue) |
55 | - [প্রয়োজনীয় পরামর্শ](#useful-tips) | 55 | - [প্রয়োজনীয় পরামর্শ](#useful-tips) |
56 | - [গেট ভিউ](#getview) | 56 | - [গেট ভিউ](#getview) |
57 | - [গেট রেস্পন্সিভ ভিউ](#getresponsiveview) | 57 | - [গেট রেস্পন্সিভ ভিউ](#getresponsiveview) |
@@ -420,7 +420,7 @@ Get.changeTheme(Get.isDarkMode? ThemeData.light(): ThemeData.dark()); | @@ -420,7 +420,7 @@ Get.changeTheme(Get.isDarkMode? ThemeData.light(): ThemeData.dark()); | ||
420 | 420 | ||
421 | When `.darkmode` is activated, it will switch to the _light theme_, and when the _light theme_ becomes active, it will change to _dark theme_. | 421 | When `.darkmode` is activated, it will switch to the _light theme_, and when the _light theme_ becomes active, it will change to _dark theme_. |
422 | 422 | ||
423 | -## GetConnect | 423 | +## গেট কানেক্ট (GetConnect) |
424 | 424 | ||
425 | GetConnect is an easy way to communicate from your back to your front with http or websockets | 425 | GetConnect is an easy way to communicate from your back to your front with http or websockets |
426 | 426 | ||
@@ -497,13 +497,13 @@ class HomeProvider extends GetConnect { | @@ -497,13 +497,13 @@ class HomeProvider extends GetConnect { | ||
497 | } | 497 | } |
498 | ``` | 498 | ``` |
499 | 499 | ||
500 | -## GetPage মিডিলওয়্যার | 500 | +## গেট পেজ মিডিলওয়্যার |
501 | 501 | ||
502 | The GetPage has now new property that takes a list of GetMiddleWare and run them in the specific order. | 502 | The GetPage has now new property that takes a list of GetMiddleWare and run them in the specific order. |
503 | 503 | ||
504 | **Note**: When GetPage has a Middlewares, all the children of this page will have the same middlewares automatically. | 504 | **Note**: When GetPage has a Middlewares, all the children of this page will have the same middlewares automatically. |
505 | 505 | ||
506 | -### Priority | 506 | +### অগ্রাধিকার (Priority) |
507 | 507 | ||
508 | The Order of the Middlewares to run can be set by the priority in the GetMiddleware. | 508 | The Order of the Middlewares to run can be set by the priority in the GetMiddleware. |
509 | 509 | ||
@@ -518,7 +518,7 @@ final middlewares = [ | @@ -518,7 +518,7 @@ final middlewares = [ | ||
518 | 518 | ||
519 | those middlewares will be run in this order **-8 => 2 => 4 => 5** | 519 | those middlewares will be run in this order **-8 => 2 => 4 => 5** |
520 | 520 | ||
521 | -### Redirect | 521 | +### পুনঃনির্দেশ (Redirect) |
522 | 522 | ||
523 | This function will be called when the page of the called route is being searched for. It takes RouteSettings as a result to redirect to. Or give it null and there will be no redirecting. | 523 | This function will be called when the page of the called route is being searched for. It takes RouteSettings as a result to redirect to. Or give it null and there will be no redirecting. |
524 | 524 | ||
@@ -529,7 +529,7 @@ RouteSettings redirect(String route) { | @@ -529,7 +529,7 @@ RouteSettings redirect(String route) { | ||
529 | } | 529 | } |
530 | ``` | 530 | ``` |
531 | 531 | ||
532 | -### onPageCalled | 532 | +### অন-পেজ কলড (onPageCalled) |
533 | 533 | ||
534 | This function will be called when this Page is called before anything created | 534 | This function will be called when this Page is called before anything created |
535 | you can use it to change something about the page or give it new page | 535 | you can use it to change something about the page or give it new page |
@@ -541,7 +541,7 @@ GetPage onPageCalled(GetPage page) { | @@ -541,7 +541,7 @@ GetPage onPageCalled(GetPage page) { | ||
541 | } | 541 | } |
542 | ``` | 542 | ``` |
543 | 543 | ||
544 | -### OnBindingsStart | 544 | +### অন-বাইন্ডিং স্টার্ট (OnBindingsStart) |
545 | 545 | ||
546 | This function will be called right before the Bindings are initialize. | 546 | This function will be called right before the Bindings are initialize. |
547 | Here you can change Bindings for this page. | 547 | Here you can change Bindings for this page. |
@@ -556,7 +556,7 @@ List<Bindings> onBindingsStart(List<Bindings> bindings) { | @@ -556,7 +556,7 @@ List<Bindings> onBindingsStart(List<Bindings> bindings) { | ||
556 | } | 556 | } |
557 | ``` | 557 | ``` |
558 | 558 | ||
559 | -### OnPageBuildStart | 559 | +### অন-পেজ বিল্ড স্টার্ট (OnPageBuildStart) |
560 | 560 | ||
561 | This function will be called right after the Bindings are initialize. | 561 | This function will be called right after the Bindings are initialize. |
562 | Here you can do something after that you created the bindings and before creating the page widget. | 562 | Here you can do something after that you created the bindings and before creating the page widget. |
@@ -568,15 +568,15 @@ GetPageBuilder onPageBuildStart(GetPageBuilder page) { | @@ -568,15 +568,15 @@ GetPageBuilder onPageBuildStart(GetPageBuilder page) { | ||
568 | } | 568 | } |
569 | ``` | 569 | ``` |
570 | 570 | ||
571 | -### OnPageBuilt | 571 | +### অন-পেজ বিল্ড (OnPageBuilt) |
572 | 572 | ||
573 | This function will be called right after the GetPage.page function is called and will give you the result of the function. and take the widget that will be showed. | 573 | This function will be called right after the GetPage.page function is called and will give you the result of the function. and take the widget that will be showed. |
574 | 574 | ||
575 | -### OnPageDispose | 575 | +### অন-পেজ ডিসপোজ (OnPageDispose) |
576 | 576 | ||
577 | This function will be called right after disposing all the related objects (Controllers, views, ...) of the page. | 577 | This function will be called right after disposing all the related objects (Controllers, views, ...) of the page. |
578 | 578 | ||
579 | -## Other Advanced APIs | 579 | +## অন্যান্য এপিআই সমূহ |
580 | 580 | ||
581 | ```dart | 581 | ```dart |
582 | // give the current args from currentScreen | 582 | // give the current args from currentScreen |
@@ -708,7 +708,7 @@ context.isTablet() | @@ -708,7 +708,7 @@ context.isTablet() | ||
708 | context.responsiveValue<T>() | 708 | context.responsiveValue<T>() |
709 | ``` | 709 | ``` |
710 | 710 | ||
711 | -### Optional Global Settings and Manual configurations | 711 | +### ঐচ্ছিক গ্লোবাল সেটিংস এবং ম্যানুয়াল কনফিগারেশন |
712 | 712 | ||
713 | GetMaterialApp configures everything for you, but if you want to configure Get manually. | 713 | GetMaterialApp configures everything for you, but if you want to configure Get manually. |
714 | 714 | ||
@@ -768,7 +768,7 @@ void localLogWriter(String text, {bool isError = false}) { | @@ -768,7 +768,7 @@ void localLogWriter(String text, {bool isError = false}) { | ||
768 | 768 | ||
769 | ``` | 769 | ``` |
770 | 770 | ||
771 | -### Local State Widgets | 771 | +### লোকাল স্টেট উইজেট |
772 | 772 | ||
773 | These Widgets allows you to manage a single value, and keep the state ephemeral and locally. | 773 | These Widgets allows you to manage a single value, and keep the state ephemeral and locally. |
774 | We have flavours for Reactive and Simple. | 774 | We have flavours for Reactive and Simple. |
@@ -776,7 +776,7 @@ For instance, you might use them to toggle obscureText in a `TextField`, maybe c | @@ -776,7 +776,7 @@ For instance, you might use them to toggle obscureText in a `TextField`, maybe c | ||
776 | Expandable Panel, or maybe modify the current index in `BottomNavigationBar` while changing the content | 776 | Expandable Panel, or maybe modify the current index in `BottomNavigationBar` while changing the content |
777 | of the body in a `Scaffold`. | 777 | of the body in a `Scaffold`. |
778 | 778 | ||
779 | -#### ValueBuilder | 779 | +#### ভ্যালু বিল্ডার (ValueBuilder) |
780 | 780 | ||
781 | A simplification of `StatefulWidget` that works with a `.setState` callback that takes the updated value. | 781 | A simplification of `StatefulWidget` that works with a `.setState` callback that takes the updated value. |
782 | 782 | ||
@@ -793,7 +793,7 @@ ValueBuilder<bool>( | @@ -793,7 +793,7 @@ ValueBuilder<bool>( | ||
793 | ), | 793 | ), |
794 | ``` | 794 | ``` |
795 | 795 | ||
796 | -#### ObxValue | 796 | +#### অবএক্সভ্যালু (ObxValue) |
797 | 797 | ||
798 | Similar to [`ValueBuilder`](#valuebuilder), but this is the Reactive version, you pass a Rx instance (remember the magical .obs?) and | 798 | Similar to [`ValueBuilder`](#valuebuilder), but this is the Reactive version, you pass a Rx instance (remember the magical .obs?) and |
799 | updates automatically... isn't it awesome? | 799 | updates automatically... isn't it awesome? |
@@ -807,7 +807,7 @@ ObxValue((data) => Switch( | @@ -807,7 +807,7 @@ ObxValue((data) => Switch( | ||
807 | ), | 807 | ), |
808 | ``` | 808 | ``` |
809 | 809 | ||
810 | -## Useful tips | 810 | +## প্রয়োজনীয় পরামর্শ |
811 | 811 | ||
812 | `.obs`ervables (also known as _Rx_ Types) have a wide variety of internal methods and operators. | 812 | `.obs`ervables (also known as _Rx_ Types) have a wide variety of internal methods and operators. |
813 | 813 | ||
@@ -962,7 +962,7 @@ class OtherClass extends GetView<Controller> { | @@ -962,7 +962,7 @@ class OtherClass extends GetView<Controller> { | ||
962 | } | 962 | } |
963 | ``` | 963 | ``` |
964 | 964 | ||
965 | -#### GetView | 965 | +#### গেট ভিউ (GetView) |
966 | 966 | ||
967 | I love this Widget, is so simple, yet, so useful! | 967 | I love this Widget, is so simple, yet, so useful! |
968 | 968 | ||
@@ -985,13 +985,13 @@ Is a `const Stateless` Widget that has a getter `controller` for a registered `C | @@ -985,13 +985,13 @@ Is a `const Stateless` Widget that has a getter `controller` for a registered `C | ||
985 | } | 985 | } |
986 | ``` | 986 | ``` |
987 | 987 | ||
988 | -#### GetResponsiveView | 988 | +#### গেট রেস্পন্সিভ ভিউ (GetResponsiveView) |
989 | 989 | ||
990 | Extend this widget to build responsive view. | 990 | Extend this widget to build responsive view. |
991 | this widget contains the `screen` property that have all | 991 | this widget contains the `screen` property that have all |
992 | information about the screen size and type. | 992 | information about the screen size and type. |
993 | 993 | ||
994 | -##### How to use it | 994 | +##### কিভাবে এটি ব্যবহার করতে হয় |
995 | 995 | ||
996 | You have two options to build it. | 996 | You have two options to build it. |
997 | 997 | ||
@@ -1008,7 +1008,7 @@ With `settings` property you can set the width limit for the screen types. | @@ -1008,7 +1008,7 @@ With `settings` property you can set the width limit for the screen types. | ||
1008 | Code to this screen | 1008 | Code to this screen |
1009 | [code](https://github.com/SchabanBo/get_page_example/blob/master/lib/pages/responsive_example/responsive_view.dart) | 1009 | [code](https://github.com/SchabanBo/get_page_example/blob/master/lib/pages/responsive_example/responsive_view.dart) |
1010 | 1010 | ||
1011 | -#### GetWidget | 1011 | +#### গেট উইজেট (GetWidget) |
1012 | 1012 | ||
1013 | Most people have no idea about this Widget, or totally confuse the usage of it. | 1013 | Most people have no idea about this Widget, or totally confuse the usage of it. |
1014 | The use case is very rare, but very specific: It `caches` a Controller. | 1014 | The use case is very rare, but very specific: It `caches` a Controller. |
@@ -1024,7 +1024,7 @@ If you use, another "not so common" feature of **GetX**: `Get.create()`. | @@ -1024,7 +1024,7 @@ If you use, another "not so common" feature of **GetX**: `Get.create()`. | ||
1024 | That's where `GetWidget` shines... as you can use it, for example, | 1024 | That's where `GetWidget` shines... as you can use it, for example, |
1025 | to keep a list of Todo items. So, if the widget gets "rebuilt", it will keep the same controller instance. | 1025 | to keep a list of Todo items. So, if the widget gets "rebuilt", it will keep the same controller instance. |
1026 | 1026 | ||
1027 | -#### GetxService | 1027 | +#### গেট এক্স সার্ভিস (GetxService) |
1028 | 1028 | ||
1029 | This class is like a `GetxController`, it shares the same lifecycle ( `onInit()`, `onReady()`, `onClose()`). | 1029 | This class is like a `GetxController`, it shares the same lifecycle ( `onInit()`, `onReady()`, `onClose()`). |
1030 | But has no "logic" inside of it. It just notifies **GetX** Dependency Injection system, that this subclass | 1030 | But has no "logic" inside of it. It just notifies **GetX** Dependency Injection system, that this subclass |
@@ -1076,7 +1076,7 @@ The only way to actually delete a `GetxService`, is with `Get.reset()` which is | @@ -1076,7 +1076,7 @@ The only way to actually delete a `GetxService`, is with `Get.reset()` which is | ||
1076 | lifetime of your app, use `GetxService`. | 1076 | lifetime of your app, use `GetxService`. |
1077 | 1077 | ||
1078 | 1078 | ||
1079 | -### Tests | 1079 | +### পরীক্ষা (Tests) |
1080 | 1080 | ||
1081 | You can test your controllers like any other class, including their lifecycles: | 1081 | You can test your controllers like any other class, including their lifecycles: |
1082 | 1082 | ||
@@ -1127,7 +1127,7 @@ Test the state of the reactive variable "name" across all of its lifecycles''', | @@ -1127,7 +1127,7 @@ Test the state of the reactive variable "name" across all of its lifecycles''', | ||
1127 | } | 1127 | } |
1128 | ``` | 1128 | ``` |
1129 | 1129 | ||
1130 | -#### Tips | 1130 | +#### পরামর্শ |
1131 | 1131 | ||
1132 | ##### Mockito or mocktail | 1132 | ##### Mockito or mocktail |
1133 | If you need to mock your GetxController/GetxService, you should extend GetxController, and mixin it with Mock, that way | 1133 | If you need to mock your GetxController/GetxService, you should extend GetxController, and mixin it with Mock, that way |
@@ -1143,7 +1143,7 @@ If you are testing widgets, or test groups, use Get.reset at the end of your tes | @@ -1143,7 +1143,7 @@ If you are testing widgets, or test groups, use Get.reset at the end of your tes | ||
1143 | if you are using your navigation in your controllers, use `Get.testMode = true` at the beginning of your main. | 1143 | if you are using your navigation in your controllers, use `Get.testMode = true` at the beginning of your main. |
1144 | 1144 | ||
1145 | 1145 | ||
1146 | -# Breaking changes from 2.0 | 1146 | +# 2.0 থেকে পরিবর্তন |
1147 | 1147 | ||
1148 | 1- Rx types: | 1148 | 1- Rx types: |
1149 | 1149 | ||
@@ -1196,7 +1196,7 @@ GetMaterialApp( | @@ -1196,7 +1196,7 @@ GetMaterialApp( | ||
1196 | ) | 1196 | ) |
1197 | ``` | 1197 | ``` |
1198 | 1198 | ||
1199 | -# Why Getx? | 1199 | +# কেন Getx ব্যবহার করবেন? |
1200 | 1200 | ||
1201 | 1- Many times after a Flutter update, many of your packages will break. Sometimes compilation errors happen, errors often appear that there are still no answers about, and the developer needs to know where the error came from, track the error, only then try to open an issue in the corresponding repository, and see its problem solved. Get centralizes the main resources for development (State, dependency and route management), allowing you to add a single package to your pubspec, and start working. After a Flutter update, the only thing you need to do is update the Get dependency, and get to work. Get also resolves compatibility issues. How many times a version of a package is not compatible with the version of another, because one uses a dependency in one version, and the other in another version? This is also not a concern using Get, as everything is in the same package and is fully compatible. | 1201 | 1- Many times after a Flutter update, many of your packages will break. Sometimes compilation errors happen, errors often appear that there are still no answers about, and the developer needs to know where the error came from, track the error, only then try to open an issue in the corresponding repository, and see its problem solved. Get centralizes the main resources for development (State, dependency and route management), allowing you to add a single package to your pubspec, and start working. After a Flutter update, the only thing you need to do is update the Get dependency, and get to work. Get also resolves compatibility issues. How many times a version of a package is not compatible with the version of another, because one uses a dependency in one version, and the other in another version? This is also not a concern using Get, as everything is in the same package and is fully compatible. |
1202 | 1202 |
-
Please register or login to post a comment