replace the "Krow" with "KROW"
This commit is contained in:
@@ -21,7 +21,7 @@ import '../../domain/repositories/auth_repository_interface.dart';
|
||||
/// Production-ready implementation of the [AuthRepositoryInterface] for the client app.
|
||||
///
|
||||
/// This implementation integrates with Firebase Authentication for user
|
||||
/// identity management and Krow's Data Connect SDK for storing user profile data.
|
||||
/// identity management and KROW's Data Connect SDK for storing user profile data.
|
||||
class AuthRepositoryImpl implements AuthRepositoryInterface {
|
||||
/// Creates an [AuthRepositoryImpl] with the real dependencies.
|
||||
AuthRepositoryImpl({dc.DataConnectService? service})
|
||||
|
||||
Binary file not shown.
@@ -5,7 +5,7 @@ import '../widgets/create_order/create_order_view.dart';
|
||||
/// Main entry page for the client create order flow.
|
||||
///
|
||||
/// This page displays the [CreateOrderView].
|
||||
/// It follows the Krow Clean Architecture by being a [StatelessWidget] and
|
||||
/// It follows the KROW Clean Architecture by being a [StatelessWidget] and
|
||||
/// delegating its UI to other components.
|
||||
class ClientCreateOrderPage extends StatelessWidget {
|
||||
/// Creates a [ClientCreateOrderPage].
|
||||
|
||||
@@ -12,7 +12,7 @@ import '../blocs/one_time_order/one_time_order_state.dart';
|
||||
/// Users can specify the date, location, and multiple staff positions required.
|
||||
///
|
||||
/// This page initializes the [OneTimeOrderBloc] and displays the [OneTimeOrderView]
|
||||
/// from the common orders package. It follows the Krow Clean Architecture by being
|
||||
/// from the common orders package. It follows the KROW Clean Architecture by being
|
||||
/// a [StatelessWidget] and mapping local BLoC state to generic UI models.
|
||||
class OneTimeOrderPage extends StatelessWidget {
|
||||
/// Creates a [OneTimeOrderPage].
|
||||
@@ -70,10 +70,8 @@ class OneTimeOrderPage extends StatelessWidget {
|
||||
bloc.add(const OneTimeOrderHubManagerChanged(null));
|
||||
return;
|
||||
}
|
||||
final OneTimeOrderManagerOption original =
|
||||
state.managers.firstWhere(
|
||||
(OneTimeOrderManagerOption m) => m.id == val.id,
|
||||
);
|
||||
final OneTimeOrderManagerOption original = state.managers
|
||||
.firstWhere((OneTimeOrderManagerOption m) => m.id == val.id);
|
||||
bloc.add(OneTimeOrderHubManagerChanged(original));
|
||||
},
|
||||
onPositionAdded: () => bloc.add(const OneTimeOrderPositionAdded()),
|
||||
@@ -150,4 +148,3 @@ class OneTimeOrderPage extends StatelessWidget {
|
||||
return OrderManagerUiModel(id: manager.id, name: manager.name);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@ import '../widgets/rapid_order/rapid_order_view.dart';
|
||||
/// Features voice recognition simulation and quick example selection.
|
||||
///
|
||||
/// This page initializes the [RapidOrderBloc] and displays the [RapidOrderView].
|
||||
/// It follows the Krow Clean Architecture by being a [StatelessWidget] and
|
||||
/// It follows the KROW Clean Architecture by being a [StatelessWidget] and
|
||||
/// delegating its state and UI to other components.
|
||||
class RapidOrderPage extends StatelessWidget {
|
||||
/// Creates a [RapidOrderPage].
|
||||
|
||||
Reference in New Issue
Block a user