Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# https://dart.dev/guides/libraries/private-files
# Created by `dart pub`
.dart_tool/
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
## 1.0.0

- Initial version.
30 changes: 30 additions & 0 deletions analysis_options.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# This file configures the static analysis results for your project (errors,
# warnings, and lints).
#
# This enables the 'recommended' set of lints from `package:lints`.
# This set helps identify many issues that may lead to problems when running
# or consuming Dart code, and enforces writing Dart using a single, idiomatic
# style and format.
#
# If you want a smaller set of lints you can change this to specify
# 'package:lints/core.yaml'. These are just the most critical lints
# (the recommended set includes the core lints).
# The core lints are also what is used by pub.dev for scoring packages.

include: package:lints/recommended.yaml

# Uncomment the following section to specify additional rules.

# linter:
# rules:
# - camel_case_types

# analyzer:
# exclude:
# - path/to/excluded/files/**

# For more information about the core and recommended set of lints, see
# https://dart.dev/go/core-lints

# For additional information about configuring this file, see
# https://dart.dev/guides/language/analysis-options
101 changes: 101 additions & 0 deletions bin/book_data1.dart
Original file line number Diff line number Diff line change
@@ -0,0 +1,101 @@
final List myData = [
{
"Book_Title": "The Blue Elephant",
"Author Name": "Ahmed Mourad",
"Brief Description":
"A novel narrating the story of a psychiatrist dealing with amysterious case at a mental hospital.",
"PublicationDate": "2014",
"Category": "Mystery/Thriller",
"AvailableCopies": 5,
"Price": 10,
},
{
"Book_Title": "TheHandmaid's Tale",
"Author Name": "Margaret Atwood",
"Brief Description":
"A dystopian novel depicting a future characterized byoppression and persecution.",
"PublicationDate": "1985",
"Category": "Science Fiction/Dystopian",
"AvailableCopies": 3,
"Price": 8,
},
{
"Book_Title": "The Invisible Man",
"Author Name": "Mohamed Reda",
"Brief Description":
"A collection of short stories addressing identity and existence",
"PublicationDate": "2021",
"Category": "Short Stories/Fiction",
"AvailableCopies": 8,
"Price": 12,
},
{
"Book_Title": "Memory of the Body",
"Author Name": "Ahlam Mosteghanemi",
"Brief Description":
"A novel revolving around a woman living between the past and the present.",
"PublicationDate": "1993",
"Category": "Fiction/Romance",
"AvailableCopies": 2,
"Price": 7,
},
{
"Book_Title": "The Alchemist",
"Author Name": "Paulo Coelho",
"Brief Description":
"A symbolic novel shedding light on the journey in search of true treasure.",
"PublicationDate": "1988",
"Category": "Fiction/Self-Help",
"AvailableCopies": 6,
"Price": 9,
},
{
"Book_Title": "A Brief History of Time",
"Author Name": "Stephen Hawking",
"Brief Description":
"A scientific book explaining the theory of the Big Bang and the evolution of the universe.",
"PublicationDate": "1998",
"Category": "NonFiction/Science",
"AvailableCopies": 4,
"Price": 15,
},
{
"Book_Title": "Nineteen Minutes",
"Author Name": "Nineteen Minutes",
"Brief Description": "A novel exploring themes of love, fate, and destiny.",
"PublicationDate": "2004",
"Category": "Fiction/Drama",
"AvailableCopies": 7,
"Price": 14,
},
{
"Book_Title": "Pride and Prejudice",
"Author Name": "Jane Austen",
"Brief Description":
"A classic romance novel depicting societal norms and prejudices.",
"PublicationDate": "1813",
"Category": "Fiction/Romance",
"AvailableCopies": 10,
"Price": 5,
},
{
"Book_Title": "1984",
"Author Name": "George Orwell",
"Brief Description":
"A dystopian novel describing a totalitarian regime's control over society.",
"PublicationDate": "1949",
"Category": "Science Fiction/Dystopian",
"AvailableCopies": 9,
"Price": 6,
},
{
"Book_Title": "To Kill a Mockingbird",
"Author Name": "Harper Lee",
"Brief Description":
"A coming-of-age novel addressing racial injustice in the American South.",
"PublicationDate": "1960",
"Category": "Fiction/Drama",
"AvailableCopies": 1,
"Price": 11,
},
];
Loading