-
-
Notifications
You must be signed in to change notification settings - Fork 54
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #31 from easazade/master
adding FakerDataProvider
- Loading branch information
Showing
11 changed files
with
1,272 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,202 @@ | ||
const words = [ | ||
'معایبی', | ||
'دارد', | ||
'روغن', | ||
'شریعتی', | ||
'زندهیاد', | ||
'ادبی', | ||
'درختان', | ||
'دهان', | ||
'بلوار', | ||
'سوئیسی', | ||
'اصلی', | ||
'ارتفاع', | ||
'متعددی', | ||
'تضاد', | ||
'مراکز', | ||
'ماهی', | ||
'واقع', | ||
'استفاده', | ||
'افزاری', | ||
'تئاتر', | ||
'رشت', | ||
'حال', | ||
'زبان', | ||
'دستور', | ||
'تواند', | ||
'پایانه', | ||
'رود', | ||
'خاویار', | ||
'صنعتی', | ||
'غرب', | ||
'روزانه', | ||
'کوچک', | ||
'برگزار', | ||
'افزایش', | ||
'صفتی', | ||
'شتر', | ||
'آنتی', | ||
'اطلس', | ||
'جنگل', | ||
'این', | ||
'بیشترین', | ||
'شود', | ||
'امنیت', | ||
'سنجی', | ||
'واکاه', | ||
'دیگر', | ||
'مسئله', | ||
'اکوسیستم', | ||
'میخواباندند', | ||
'دارای', | ||
'مَرث', | ||
'مذهب', | ||
'برنجکوبی', | ||
'مارادونا', | ||
'همچنین', | ||
'ابوالفضل', | ||
'مدرن', | ||
'تحلیلی', | ||
'نژادی', | ||
'مطلب', | ||
'خود', | ||
'میشود', | ||
'توجهی', | ||
'بود', | ||
'معتقد', | ||
'فاقد', | ||
'قحطی', | ||
'گلوبوس', | ||
'لحاظ', | ||
'دهه', | ||
'زمانی', | ||
'محصولات', | ||
'دشمنان', | ||
'شمار', | ||
'بومی', | ||
'ساکنان', | ||
'ایرانی', | ||
'جزئی', | ||
'تکلم', | ||
'کاربردی', | ||
'دیلمی', | ||
'حمید', | ||
'وجود', | ||
'روستایی', | ||
'صادق', | ||
'مازندران', | ||
'موقعیت', | ||
'تعطیل', | ||
'مفید', | ||
'کرد', | ||
'آلرژی', | ||
'کمابيش', | ||
'است', | ||
'برای', | ||
'علی', | ||
'خانگی', | ||
'نخستین', | ||
'ویژگیهای', | ||
'مختلف', | ||
'قبل', | ||
'میکردند', | ||
'داشتند', | ||
'الهى', | ||
'مایا', | ||
'بعدها', | ||
'باقیمانده', | ||
'جنگ', | ||
'نمی', | ||
'همه', | ||
'دلایلی', | ||
'خبرگزاری', | ||
'مناطق', | ||
'داخل', | ||
'شواهد', | ||
'میکشیم', | ||
'آورندگان', | ||
'نيز', | ||
'شده', | ||
'عبارتند', | ||
'سردار', | ||
'بعد', | ||
'اکولوژی', | ||
'حروف', | ||
'تغییر', | ||
'چاشنی', | ||
'اردبیلی', | ||
'اوچمال', | ||
'سیاه', | ||
'منجر', | ||
'بازرگانی', | ||
'تاز', | ||
'پیوند', | ||
'اوت', | ||
'بزرگترین', | ||
'ایران', | ||
'ثروتمند', | ||
'تبرستان', | ||
'معابد', | ||
'ترکیبات', | ||
'اقوام', | ||
'قطار', | ||
'کنید', | ||
'کاهش', | ||
'رفتارهای', | ||
'عصر', | ||
'خانواده', | ||
'گونهٔ', | ||
'آرامگاه', | ||
'ایرانیکا', | ||
'پایه', | ||
'پناه', | ||
'فتحعلی', | ||
'روزنامه', | ||
'سال', | ||
'مزار', | ||
'محدود', | ||
'سلام', | ||
'کارگاه', | ||
'مربوط', | ||
'بنده', | ||
'موجز', | ||
'جامعه', | ||
'جوار', | ||
'کسی', | ||
'مجسمه', | ||
'میراث', | ||
'کمدی', | ||
'پایان', | ||
'مورد', | ||
'قزوین', | ||
'کاسهٔ', | ||
'چاه', | ||
'شهر', | ||
'مستقیم', | ||
'فتح', | ||
'جعفر', | ||
'مدخلها', | ||
'نمودن', | ||
'نامی', | ||
'انتخاب', | ||
'ذکر', | ||
'اسلام', | ||
'مسافرین', | ||
'مهمترین', | ||
'نمناک', | ||
'آجر', | ||
'پیشاکلمبی', | ||
'مدارس', | ||
'مشاهده', | ||
'برجسته', | ||
'بیرونش', | ||
'روزنامهای', | ||
'داده', | ||
'سلول', | ||
'انگشت', | ||
'حیسن', | ||
'خاتمه', | ||
'سپس', | ||
'آنها', | ||
'واگرایی' | ||
]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
abstract class LoremDataProvider{ | ||
/// Provides a list of lorem ipsum words that can be used to create fake data | ||
List<String> wordsList(); | ||
|
||
/// Provides a list of lorem ipsum sentences that can be used to create fake data | ||
List<String> sentencesList(); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
import 'base_providers.dart'; | ||
import '../data/lorem/defaults/sentences.dart' as sentence_list; | ||
import '../data/lorem/defaults/words.dart' as word_list; | ||
|
||
class DefaultLoremDataProvider extends LoremDataProvider{ | ||
@override | ||
List<String> sentencesList() => sentence_list.sentences; | ||
|
||
@override | ||
List<String> wordsList() => word_list.words; | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
import 'base_providers.dart'; | ||
import '../data/lorem/fa/sentences_fa.dart' as sentence_list; | ||
import '../data/lorem/fa/words_fa.dart' as word_list; | ||
|
||
class LoremDataProviderFa extends LoremDataProvider{ | ||
@override | ||
List<String> sentencesList() => sentence_list.sentences; | ||
|
||
@override | ||
List<String> wordsList() => word_list.words; | ||
|
||
} |