सार्वजनिक जानकारी से बना चयन मार्गदर्शन। केवल संदर्भ हेतु।
क्रॉसवर्ड पैकेज एक फ्लटर लाइब्रेरी है जो विकासकर्मियों को अपने एप्लिकेशन में इंटरैक्टिव क्रॉसवर्ड पजल सॉल्विंग कार्यक्षमता को एकीकृत करने की अनुमति देता है। यह क्रॉसवर्ड ग्रिड को दिखाने और बातचीत करने के लिए कस्टमाइज़ करने योग्य UI प्रदान करता है, जिसमें आगे और नीचे के संकेत दोनों का समर्थन होता है। गेम और शैक्षिक एप्लिकेशन के लिए डिज़ाइन किया गया, यह उपयोगकर्ताओं को ग्रिड पर उत्तर तत्काल वैधता और प्रतिक्रिया के साथ प्रत्यक्ष रूप से दर्ज करने की अनुमति देता है। यह पैकेज सभी प्रमुख प्लेटफॉर्मों, जैसे मोबाइल, वेब और डेस्कटॉप पर संगत है, जिससे यह क्रॉस-प्लेटफॉर्म पजल अनुभव के लिए आदर्श है।
उपयोग
शैक्षिक ऐप में क्रॉसवर्ड पहेलियों को एकीकृत करना
गेम एप्लिकेशन में पहेली चुनौतियाँ जोड़ना
वेब और मोबाइल के लिए इंटरैक्टिव शब्द खेल बनाना
क्रॉसवर्ड अभ्यास के माध्यम से भाषा सीखने का समर्थन करना
Flutter के उपयोगकर्ता जो मूल जैसे पहेली इंटरफ़ेस चाहते हैं
विचार योग्य बातें
संरचित पहेली डेटा की आवश्यकता होती है (उदाहरण के लिए, ग्रिड और सुझाव)
संकेत सुझाव या स्कोरिंग के लिए अतिरिक्त तर्क की आवश्यकता हो सकती है
बहुत बड़े पहेलियों के साथ प्रदर्शन में भिन्नता हो सकती है
सीमित निर्मित पहेली निर्माण उपकरण
पuzzle की सामग्री के लिए बाहरी डेटा स्रोत पर निर्भर करता है
मूल README
संबंधित सोर्स रिपॉज़िटरी के मूल README का स्नैपशॉट। नवीनतम सामग्री के लिए रिपॉज़िटरी देखें।
NEW: LetterPop Animation
Crossword
Crossword is a comprehensive solution for seamlessly integrating a crossword puzzle-solving user
interface into your Flutter app. With this package, you can effortlessly provide users with an
interactive and enjoyable crossword puzzle-solving experience within your application.
Features
Customizable Crossword Widget:
The package offers a customizable crossword widget that can be easily integrated into any Flutter
app. You can adjust the widget's appearance, size, and layout to match your app's design and
theme.
User-Friendly Interface:
The user interface is designed with simplicity and ease of use in mind. Users can intuitively
navigate through the puzzle, pan, and select the letters to choose words.
Clue Management:
Manage crossword clues effortlessly with this package by passing the list of words into
the Crossword widget.
initialLineList: Accepts a List of LineOffset to add initial lines to the crossword
-- A LineOffset is a class that takes the start and end positions of the line
acceptReversedDirection: accepts a bool to identify while creating the words by touching in
the reversed direction, is enabled or not
drawCrossLine: accepts a bool, and identifies if the user can interact in the Cross
direction or not.
drawVerticalLine: accepts a bool, and identifies if the user can interact in the Vertical
direction or not.
drawHorizontalLine: accepts a bool, and identifies if the user can interact in
the Horizontal direction or not.
drawCrossLine, drawVerticalLine, drawHorizontalLine can't be set as false altogether.
lineDecoration: Decorate lines to update colors based on the input and clues
textStyle: Add styles to the crossword letters
transposeMatrix: Transpose the 2x2 matrix
alowOverlap: Accepts a bool to identify if the user can overlap the words or not
addIncorrectWord: Accepts a bool to identify if the user can draw incorrect lines or not
Line Decoration - parameters
lineGradientColors: Accepts a List of List of Colors to update the gradient colors of the
lines.
incorrectGradientColors: Accepts a List of Colors to update the gradient colors of the lines
when the user draws an incorrect line.
correctGradientColors: Accepts a List of Colors to update the gradient colors of the lines
when the user draws a correct line.
strokeWidth: Accepts a double to update the width of the lines.
strokeCap: Accepts a StrokeCap to update the stroke cap of the lines.
lineTextStyle: Accepts a TextStyle to update the style of the words which are drawn by the user.
Reveal Letter Animation
Use a Global Key to access the Crossword widget and call the animate method to animate the letter
decoration.