Skip to content

Commit

Permalink
Add touch_indicator
Browse files Browse the repository at this point in the history
  • Loading branch information
GravityDarkLab committed Feb 7, 2024
1 parent 13bcb98 commit c1c0bad
Show file tree
Hide file tree
Showing 3 changed files with 11 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 @@ -12,6 +12,7 @@ import 'package:gocast_mobile/views/login_view/internal_login_view.dart';
import 'package:gocast_mobile/views/on_boarding_view/welcome_screen_view.dart';
import 'package:logger/logger.dart';
import 'package:firebase_core/firebase_core.dart';
import 'package:touch_indicator/touch_indicator.dart';
import 'firebase_options.dart';
import 'package:flutter_localizations/flutter_localizations.dart';
import 'package:flutter_gen/gen_l10n/app_localizations.dart';
Expand Down Expand Up @@ -57,6 +58,7 @@ class App extends ConsumerWidget {
GlobalWidgetsLocalizations.delegate,
GlobalCupertinoLocalizations.delegate,
],
builder: (context, child) => TouchIndicator(child: child!),
supportedLocales: L10n.all,
locale: Locale(UserPreferences.getLanguage()),
theme: appTheme,
Expand Down
8 changes: 8 additions & 0 deletions pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -730,6 +730,14 @@ packages:
url: "https://pub.dev"
source: hosted
version: "0.6.1"
touch_indicator:
dependency: "direct main"
description:
name: touch_indicator
sha256: c7582fc10f433b795a0057036f7c74f050d32f7c317479cb9469ab849c7321c3
url: "https://pub.dev"
source: hosted
version: "2.0.0"
tuple:
dependency: "direct main"
description:
Expand Down
1 change: 1 addition & 0 deletions pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ dependencies:
jwt_decode: ^0.3.1
flutter_localizations:
sdk: flutter
touch_indicator: ^2.0.0

dev_dependencies:
flutter_test:
Expand Down

0 comments on commit c1c0bad

Please sign in to comment.