Naveen108 / noteslock-Public

notesLock App made in Flutter FrameWork .
40 stars 21 forks source link

hello world . I can not find user_model.dart #2

Open renzhe20092584 opened 5 years ago

renzhe20092584 commented 5 years ago

thanks

okFancy commented 5 years ago

I have the same problem. Report an error: Target of URI doesn't exist: 'package:noteslock/data/user_model.dart'.dart(uri_does_not_exist)

manzoorfarmani commented 3 years ago

I have the same problem. Report an error: Target of URI doesn't exist: 'package:noteslock/data/user_model.dart'.dart(uri_does_not_exist)

// for testing make UserModel Class import 'package:firebase_admob/firebase_admob.dart'; const String testDevice = 'YOUR_DEVICE_ID';

class UserModel { static String username = 'userName'; static String userpass = 'UserPass'; static String currentBookName = 'current book name'; static String aboutApp = 'about app'; static String developerNote1 = 'Developer Note1'; static int currentBookId = 0; String appID = 'ca-app-pub-3940256099942544~3347511713';

static const adIntesUnitID = "ca-app-pub-3940256099942544/1033173712";

InterstitialAd interstitialAd;

static const MobileAdTargetingInfo targetingInfo = MobileAdTargetingInfo( testDevices: testDevice != null ? [testDevice] : null, keywords: ['foo', 'bar'], contentUrl: 'http://foo.com/bar.html', childDirected: true, nonPersonalizedAds: true, );

InterstitialAd createInterstitialAd() { return InterstitialAd( adUnitId: adIntesUnitID, targetingInfo: targetingInfo, listener: (MobileAdEvent event) { if (event == MobileAdEvent.failedToLoad) { } else if (event == MobileAdEvent.closed) { } }, ); }

}