Skip to content

Commit

Permalink
Added the dependency to implement resource ID (mosip#311)
Browse files Browse the repository at this point in the history
Signed-off-by: G S Prakash <[email protected]>
  • Loading branch information
GSPrakashNaidu2662 authored Apr 10, 2024
1 parent c1d67ee commit ed75eb7
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,10 @@ import 'package:registration_client/provider/registration_task_provider.dart';
import 'package:registration_client/provider/sync_provider.dart';
import 'package:registration_client/ui/login_page.dart';
import 'package:registration_client/utils/app_config.dart';
import 'package:flutter_driver/driver_extension.dart';

void main() async {
enableFlutterDriverExtension(enableTextEntryEmulation: false);
WidgetsFlutterBinding.ensureInitialized();
final GlobalProvider appLanguage = GlobalProvider();
await FlutterConfig.loadEnvVariables();
Expand Down
26 changes: 26 additions & 0 deletions lib/utils/static_resource_id_constants.dart
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
/// Login Screen
const String loginScreenHelpText = "LoginScreenHelpText";
const String loginScreenWelcomeText = "LoginScreenWelcomeText";
const String loginScreenCommunityRegText = "LoginScreenCommunityRegText";
const String loginScreenLoginToAccessText = "LoginScreenLoginToAccessText";
const String loginScreenLoginText = "LoginScreenLoginText";
const String loginScreenLanguageText = "LoginScreenLanguageText";
const String loginScreenUserNameText = "LoginScreenUserNameText";
const String loginScreenPasswordText = "LoginScreenPasswordText";
const String loginScreenForgotPasswordText = "LoginScreenForgotPasswordText";
const String loginScreenUserNameTextField = "LoginScreenUserNameTextField";
const String loginScreenPasswordTextField = "LoginScreenPasswordTextField";
const String loginScreenNextButton = "LoginScreenNextButton";
const String loginScreenLoginButton = "LoginScreenLoginButton";
const String loginScreenBackButton = "LoginScreenBackButton";
const String loginScreenMosipIconButton = "LoginScreenMosipIconButton";


/// Login Alert
const String loginAlertDeviceCredentialsText = "LoginAlertDeviceCredentialsText";
const String loginAlertCrossIcon = "LoginAlertCrossIcon";
const String loginAlertCopyButton = "LoginAlertCopyButton";
const String loginAlertDownloadJsonButton = "LoginAlertDownloadJsonButton";
const String loginAlertShareButton = "LoginAlertShareButton";
2 changes: 2 additions & 0 deletions pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,8 @@ dependencies:
dev_dependencies:
flutter_test:
sdk: flutter
flutter_driver:
sdk: flutter
build_runner: ^2.3.3
json_serializable: ^6.1.5
flutter_launcher_icons: "^0.13.1"
Expand Down

0 comments on commit ed75eb7

Please sign in to comment.