mirror of
https://github.com/Uttkarsh-raj/Plannerly.git
synced 2025-02-16 18:18:05 +02:00
final all things working
This commit is contained in:
parent
d6602c8996
commit
0360f70886
@ -47,7 +47,7 @@ android {
|
||||
applicationId "com.exampleproj.plannerly"
|
||||
// You can update the following values to match your application needs.
|
||||
// For more information, see: https://docs.flutter.dev/deployment/android#reviewing-the-gradle-build-configuration.
|
||||
minSdkVersion flutter.minSdkVersion
|
||||
minSdkVersion 21
|
||||
targetSdkVersion flutter.targetSdkVersion
|
||||
versionCode flutterVersionCode.toInteger()
|
||||
versionName flutterVersionName
|
||||
|
@ -1,10 +1,12 @@
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:fluttertoast/fluttertoast.dart';
|
||||
import 'package:plannerly/models/local_notifications.dart';
|
||||
import 'package:plannerly/view/widgets/check_login.dart';
|
||||
|
||||
void main() async {
|
||||
WidgetsFlutterBinding.ensureInitialized();
|
||||
await LocalNotifications.init();
|
||||
Fluttertoast.showToast;
|
||||
runApp(const MyApp());
|
||||
}
|
||||
|
||||
|
@ -16,7 +16,7 @@ class LocalNotifications {
|
||||
//initialize plugin
|
||||
static Future init() async {
|
||||
const AndroidInitializationSettings initializationSettingsAndroid =
|
||||
AndroidInitializationSettings('@mipmap/logo_canva');
|
||||
AndroidInitializationSettings('@mipmap/ic_launcher');
|
||||
final DarwinInitializationSettings initializationSettingsDarwin =
|
||||
DarwinInitializationSettings(
|
||||
onDidReceiveLocalNotification: (id, title, body, payload) => null,
|
||||
|
@ -303,10 +303,12 @@ class _HomeScreenState extends State<HomeScreen> {
|
||||
color: AppColors.white,
|
||||
),
|
||||
),
|
||||
const Icon(
|
||||
Icons.notifications_outlined,
|
||||
size: 28,
|
||||
color: AppColors.white,
|
||||
CircleAvatar(
|
||||
radius: 19,
|
||||
backgroundColor: AppColors.backgroundDark,
|
||||
child: Image.asset(
|
||||
'assets/images/logo_transparent.png',
|
||||
),
|
||||
),
|
||||
],
|
||||
),
|
||||
|
Loading…
x
Reference in New Issue
Block a user