diff --git a/example/assets/Group.svg b/example/assets/Group.svg
new file mode 100644
index 0000000..18c9828
--- /dev/null
+++ b/example/assets/Group.svg
@@ -0,0 +1,8 @@
+
diff --git a/example/assets/YedidimLogo.svg b/example/assets/YedidimLogo.svg
new file mode 100644
index 0000000..2fa89af
--- /dev/null
+++ b/example/assets/YedidimLogo.svg
@@ -0,0 +1,3 @@
+
diff --git a/example/assets/event.jpg b/example/assets/event.jpg
new file mode 100644
index 0000000..b825f34
Binary files /dev/null and b/example/assets/event.jpg differ
diff --git a/example/assets/facebook.jpg b/example/assets/facebook.jpg
new file mode 100644
index 0000000..272448a
Binary files /dev/null and b/example/assets/facebook.jpg differ
diff --git a/example/assets/fonts/Assistant,Poppins,Work_Sans/Assistant/Assistant-VariableFont_wght.ttf b/example/assets/fonts/Assistant,Poppins,Work_Sans/Assistant/Assistant-VariableFont_wght.ttf
new file mode 100644
index 0000000..1c624f9
Binary files /dev/null and b/example/assets/fonts/Assistant,Poppins,Work_Sans/Assistant/Assistant-VariableFont_wght.ttf differ
diff --git a/example/assets/fonts/Assistant,Poppins,Work_Sans/Assistant/OFL.txt b/example/assets/fonts/Assistant,Poppins,Work_Sans/Assistant/OFL.txt
new file mode 100644
index 0000000..c8f36f7
--- /dev/null
+++ b/example/assets/fonts/Assistant,Poppins,Work_Sans/Assistant/OFL.txt
@@ -0,0 +1,95 @@
+Copyright 2020 The Assistant Project Authors (https://github.com/hafontia/Assistant).
+Copyright 2010 The Source Sans Pro Authors (https://github.com/adobe-fonts/source-sans-pro), with Reserved Font Name 'Source'.
+Source is a trademark of Adobe Systems Incorporated in the United States and/or other countries.
+
+This Font Software is licensed under the SIL Open Font License, Version 1.1.
+This license is copied below, and is also available with a FAQ at:
+http://scripts.sil.org/OFL
+
+
+-----------------------------------------------------------
+SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
+-----------------------------------------------------------
+
+PREAMBLE
+The goals of the Open Font License (OFL) are to stimulate worldwide
+development of collaborative font projects, to support the font creation
+efforts of academic and linguistic communities, and to provide a free and
+open framework in which fonts may be shared and improved in partnership
+with others.
+
+The OFL allows the licensed fonts to be used, studied, modified and
+redistributed freely as long as they are not sold by themselves. The
+fonts, including any derivative works, can be bundled, embedded,
+redistributed and/or sold with any software provided that any reserved
+names are not used by derivative works. The fonts and derivatives,
+however, cannot be released under any other type of license. The
+requirement for fonts to remain under this license does not apply
+to any document created using the fonts or their derivatives.
+
+DEFINITIONS
+"Font Software" refers to the set of files released by the Copyright
+Holder(s) under this license and clearly marked as such. This may
+include source files, build scripts and documentation.
+
+"Reserved Font Name" refers to any names specified as such after the
+copyright statement(s).
+
+"Original Version" refers to the collection of Font Software components as
+distributed by the Copyright Holder(s).
+
+"Modified Version" refers to any derivative made by adding to, deleting,
+or substituting -- in part or in whole -- any of the components of the
+Original Version, by changing formats or by porting the Font Software to a
+new environment.
+
+"Author" refers to any designer, engineer, programmer, technical
+writer or other person who contributed to the Font Software.
+
+PERMISSION & CONDITIONS
+Permission is hereby granted, free of charge, to any person obtaining
+a copy of the Font Software, to use, study, copy, merge, embed, modify,
+redistribute, and sell modified and unmodified copies of the Font
+Software, subject to the following conditions:
+
+1) Neither the Font Software nor any of its individual components,
+in Original or Modified Versions, may be sold by itself.
+
+2) Original or Modified Versions of the Font Software may be bundled,
+redistributed and/or sold with any software, provided that each copy
+contains the above copyright notice and this license. These can be
+included either as stand-alone text files, human-readable headers or
+in the appropriate machine-readable metadata fields within text or
+binary files as long as those fields can be easily viewed by the user.
+
+3) No Modified Version of the Font Software may use the Reserved Font
+Name(s) unless explicit written permission is granted by the corresponding
+Copyright Holder. This restriction only applies to the primary font name as
+presented to the users.
+
+4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
+Software shall not be used to promote, endorse or advertise any
+Modified Version, except to acknowledge the contribution(s) of the
+Copyright Holder(s) and the Author(s) or with their explicit written
+permission.
+
+5) The Font Software, modified or unmodified, in part or in whole,
+must be distributed entirely under this license, and must not be
+distributed under any other license. The requirement for fonts to
+remain under this license does not apply to any document created
+using the Font Software.
+
+TERMINATION
+This license becomes null and void if any of the above conditions are
+not met.
+
+DISCLAIMER
+THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
+MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
+OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
+COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
+INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
+DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
+OTHER DEALINGS IN THE FONT SOFTWARE.
diff --git a/example/assets/fonts/Assistant,Poppins,Work_Sans/Assistant/README.txt b/example/assets/fonts/Assistant,Poppins,Work_Sans/Assistant/README.txt
new file mode 100644
index 0000000..ab32fe5
--- /dev/null
+++ b/example/assets/fonts/Assistant,Poppins,Work_Sans/Assistant/README.txt
@@ -0,0 +1,69 @@
+Assistant Variable Font
+=======================
+
+This download contains Assistant as both a variable font and static fonts.
+
+Assistant is a variable font with this axis:
+ wght
+
+This means all the styles are contained in a single file:
+ Assistant/Assistant-VariableFont_wght.ttf
+
+If your app fully supports variable fonts, you can now pick intermediate styles
+that aren’t available as static fonts. Not all apps support variable fonts, and
+in those cases you can use the static font files for Assistant:
+ Assistant/static/Assistant-ExtraLight.ttf
+ Assistant/static/Assistant-Light.ttf
+ Assistant/static/Assistant-Regular.ttf
+ Assistant/static/Assistant-Medium.ttf
+ Assistant/static/Assistant-SemiBold.ttf
+ Assistant/static/Assistant-Bold.ttf
+ Assistant/static/Assistant-ExtraBold.ttf
+
+Get started
+-----------
+
+1. Install the font files you want to use
+
+2. Use your app's font picker to view the font family and all the
+available styles
+
+Learn more about variable fonts
+-------------------------------
+
+ https://developers.google.com/web/fundamentals/design-and-ux/typography/variable-fonts
+ https://variablefonts.typenetwork.com
+ https://medium.com/variable-fonts
+
+In desktop apps
+
+ https://theblog.adobe.com/can-variable-fonts-illustrator-cc
+ https://helpx.adobe.com/nz/photoshop/using/fonts.html#variable_fonts
+
+Online
+
+ https://developers.google.com/fonts/docs/getting_started
+ https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Fonts/Variable_Fonts_Guide
+ https://developer.microsoft.com/en-us/microsoft-edge/testdrive/demos/variable-fonts
+
+Installing fonts
+
+ MacOS: https://support.apple.com/en-us/HT201749
+ Linux: https://www.google.com/search?q=how+to+install+a+font+on+gnu%2Blinux
+ Windows: https://support.microsoft.com/en-us/help/314960/how-to-install-or-remove-a-font-in-windows
+
+Android Apps
+
+ https://developers.google.com/fonts/docs/android
+ https://developer.android.com/guide/topics/ui/look-and-feel/downloadable-fonts
+
+License
+-------
+Please read the full license text (OFL.txt) to understand the permissions,
+restrictions and requirements for usage, redistribution, and modification.
+
+You can use them in your products & projects – print or digital,
+commercial or otherwise.
+
+This isn't legal advice, please consider consulting a lawyer and see the full
+license for all details.
diff --git a/example/assets/fonts/Assistant,Poppins,Work_Sans/Assistant/static/Assistant-Bold.ttf b/example/assets/fonts/Assistant,Poppins,Work_Sans/Assistant/static/Assistant-Bold.ttf
new file mode 100644
index 0000000..4650c44
Binary files /dev/null and b/example/assets/fonts/Assistant,Poppins,Work_Sans/Assistant/static/Assistant-Bold.ttf differ
diff --git a/example/assets/fonts/Assistant,Poppins,Work_Sans/Assistant/static/Assistant-ExtraBold.ttf b/example/assets/fonts/Assistant,Poppins,Work_Sans/Assistant/static/Assistant-ExtraBold.ttf
new file mode 100644
index 0000000..c43fafb
Binary files /dev/null and b/example/assets/fonts/Assistant,Poppins,Work_Sans/Assistant/static/Assistant-ExtraBold.ttf differ
diff --git a/example/assets/fonts/Assistant,Poppins,Work_Sans/Assistant/static/Assistant-ExtraLight.ttf b/example/assets/fonts/Assistant,Poppins,Work_Sans/Assistant/static/Assistant-ExtraLight.ttf
new file mode 100644
index 0000000..c0b7fb8
Binary files /dev/null and b/example/assets/fonts/Assistant,Poppins,Work_Sans/Assistant/static/Assistant-ExtraLight.ttf differ
diff --git a/example/assets/fonts/Assistant,Poppins,Work_Sans/Assistant/static/Assistant-Light.ttf b/example/assets/fonts/Assistant,Poppins,Work_Sans/Assistant/static/Assistant-Light.ttf
new file mode 100644
index 0000000..9532274
Binary files /dev/null and b/example/assets/fonts/Assistant,Poppins,Work_Sans/Assistant/static/Assistant-Light.ttf differ
diff --git a/example/assets/fonts/Assistant,Poppins,Work_Sans/Assistant/static/Assistant-Medium.ttf b/example/assets/fonts/Assistant,Poppins,Work_Sans/Assistant/static/Assistant-Medium.ttf
new file mode 100644
index 0000000..a4c7ba0
Binary files /dev/null and b/example/assets/fonts/Assistant,Poppins,Work_Sans/Assistant/static/Assistant-Medium.ttf differ
diff --git a/example/assets/fonts/Assistant,Poppins,Work_Sans/Assistant/static/Assistant-Regular.ttf b/example/assets/fonts/Assistant,Poppins,Work_Sans/Assistant/static/Assistant-Regular.ttf
new file mode 100644
index 0000000..f01de3e
Binary files /dev/null and b/example/assets/fonts/Assistant,Poppins,Work_Sans/Assistant/static/Assistant-Regular.ttf differ
diff --git a/example/assets/fonts/Assistant,Poppins,Work_Sans/Assistant/static/Assistant-SemiBold.ttf b/example/assets/fonts/Assistant,Poppins,Work_Sans/Assistant/static/Assistant-SemiBold.ttf
new file mode 100644
index 0000000..c9c50b3
Binary files /dev/null and b/example/assets/fonts/Assistant,Poppins,Work_Sans/Assistant/static/Assistant-SemiBold.ttf differ
diff --git a/example/assets/fonts/Assistant,Poppins,Work_Sans/Poppins/OFL.txt b/example/assets/fonts/Assistant,Poppins,Work_Sans/Poppins/OFL.txt
new file mode 100644
index 0000000..76df3b5
--- /dev/null
+++ b/example/assets/fonts/Assistant,Poppins,Work_Sans/Poppins/OFL.txt
@@ -0,0 +1,93 @@
+Copyright 2020 The Poppins Project Authors (https://github.com/itfoundry/Poppins)
+
+This Font Software is licensed under the SIL Open Font License, Version 1.1.
+This license is copied below, and is also available with a FAQ at:
+http://scripts.sil.org/OFL
+
+
+-----------------------------------------------------------
+SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
+-----------------------------------------------------------
+
+PREAMBLE
+The goals of the Open Font License (OFL) are to stimulate worldwide
+development of collaborative font projects, to support the font creation
+efforts of academic and linguistic communities, and to provide a free and
+open framework in which fonts may be shared and improved in partnership
+with others.
+
+The OFL allows the licensed fonts to be used, studied, modified and
+redistributed freely as long as they are not sold by themselves. The
+fonts, including any derivative works, can be bundled, embedded,
+redistributed and/or sold with any software provided that any reserved
+names are not used by derivative works. The fonts and derivatives,
+however, cannot be released under any other type of license. The
+requirement for fonts to remain under this license does not apply
+to any document created using the fonts or their derivatives.
+
+DEFINITIONS
+"Font Software" refers to the set of files released by the Copyright
+Holder(s) under this license and clearly marked as such. This may
+include source files, build scripts and documentation.
+
+"Reserved Font Name" refers to any names specified as such after the
+copyright statement(s).
+
+"Original Version" refers to the collection of Font Software components as
+distributed by the Copyright Holder(s).
+
+"Modified Version" refers to any derivative made by adding to, deleting,
+or substituting -- in part or in whole -- any of the components of the
+Original Version, by changing formats or by porting the Font Software to a
+new environment.
+
+"Author" refers to any designer, engineer, programmer, technical
+writer or other person who contributed to the Font Software.
+
+PERMISSION & CONDITIONS
+Permission is hereby granted, free of charge, to any person obtaining
+a copy of the Font Software, to use, study, copy, merge, embed, modify,
+redistribute, and sell modified and unmodified copies of the Font
+Software, subject to the following conditions:
+
+1) Neither the Font Software nor any of its individual components,
+in Original or Modified Versions, may be sold by itself.
+
+2) Original or Modified Versions of the Font Software may be bundled,
+redistributed and/or sold with any software, provided that each copy
+contains the above copyright notice and this license. These can be
+included either as stand-alone text files, human-readable headers or
+in the appropriate machine-readable metadata fields within text or
+binary files as long as those fields can be easily viewed by the user.
+
+3) No Modified Version of the Font Software may use the Reserved Font
+Name(s) unless explicit written permission is granted by the corresponding
+Copyright Holder. This restriction only applies to the primary font name as
+presented to the users.
+
+4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
+Software shall not be used to promote, endorse or advertise any
+Modified Version, except to acknowledge the contribution(s) of the
+Copyright Holder(s) and the Author(s) or with their explicit written
+permission.
+
+5) The Font Software, modified or unmodified, in part or in whole,
+must be distributed entirely under this license, and must not be
+distributed under any other license. The requirement for fonts to
+remain under this license does not apply to any document created
+using the Font Software.
+
+TERMINATION
+This license becomes null and void if any of the above conditions are
+not met.
+
+DISCLAIMER
+THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
+MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
+OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
+COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
+INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
+DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
+OTHER DEALINGS IN THE FONT SOFTWARE.
diff --git a/example/assets/fonts/Assistant,Poppins,Work_Sans/Poppins/Poppins-Black.ttf b/example/assets/fonts/Assistant,Poppins,Work_Sans/Poppins/Poppins-Black.ttf
new file mode 100644
index 0000000..71c0f99
Binary files /dev/null and b/example/assets/fonts/Assistant,Poppins,Work_Sans/Poppins/Poppins-Black.ttf differ
diff --git a/example/assets/fonts/Assistant,Poppins,Work_Sans/Poppins/Poppins-BlackItalic.ttf b/example/assets/fonts/Assistant,Poppins,Work_Sans/Poppins/Poppins-BlackItalic.ttf
new file mode 100644
index 0000000..7aeb58b
Binary files /dev/null and b/example/assets/fonts/Assistant,Poppins,Work_Sans/Poppins/Poppins-BlackItalic.ttf differ
diff --git a/example/assets/fonts/Assistant,Poppins,Work_Sans/Poppins/Poppins-Bold.ttf b/example/assets/fonts/Assistant,Poppins,Work_Sans/Poppins/Poppins-Bold.ttf
new file mode 100644
index 0000000..00559ee
Binary files /dev/null and b/example/assets/fonts/Assistant,Poppins,Work_Sans/Poppins/Poppins-Bold.ttf differ
diff --git a/example/assets/fonts/Assistant,Poppins,Work_Sans/Poppins/Poppins-BoldItalic.ttf b/example/assets/fonts/Assistant,Poppins,Work_Sans/Poppins/Poppins-BoldItalic.ttf
new file mode 100644
index 0000000..e61e8e8
Binary files /dev/null and b/example/assets/fonts/Assistant,Poppins,Work_Sans/Poppins/Poppins-BoldItalic.ttf differ
diff --git a/example/assets/fonts/Assistant,Poppins,Work_Sans/Poppins/Poppins-ExtraBold.ttf b/example/assets/fonts/Assistant,Poppins,Work_Sans/Poppins/Poppins-ExtraBold.ttf
new file mode 100644
index 0000000..df70936
Binary files /dev/null and b/example/assets/fonts/Assistant,Poppins,Work_Sans/Poppins/Poppins-ExtraBold.ttf differ
diff --git a/example/assets/fonts/Assistant,Poppins,Work_Sans/Poppins/Poppins-ExtraBoldItalic.ttf b/example/assets/fonts/Assistant,Poppins,Work_Sans/Poppins/Poppins-ExtraBoldItalic.ttf
new file mode 100644
index 0000000..14d2b37
Binary files /dev/null and b/example/assets/fonts/Assistant,Poppins,Work_Sans/Poppins/Poppins-ExtraBoldItalic.ttf differ
diff --git a/example/assets/fonts/Assistant,Poppins,Work_Sans/Poppins/Poppins-ExtraLight.ttf b/example/assets/fonts/Assistant,Poppins,Work_Sans/Poppins/Poppins-ExtraLight.ttf
new file mode 100644
index 0000000..e76ec69
Binary files /dev/null and b/example/assets/fonts/Assistant,Poppins,Work_Sans/Poppins/Poppins-ExtraLight.ttf differ
diff --git a/example/assets/fonts/Assistant,Poppins,Work_Sans/Poppins/Poppins-ExtraLightItalic.ttf b/example/assets/fonts/Assistant,Poppins,Work_Sans/Poppins/Poppins-ExtraLightItalic.ttf
new file mode 100644
index 0000000..89513d9
Binary files /dev/null and b/example/assets/fonts/Assistant,Poppins,Work_Sans/Poppins/Poppins-ExtraLightItalic.ttf differ
diff --git a/example/assets/fonts/Assistant,Poppins,Work_Sans/Poppins/Poppins-Italic.ttf b/example/assets/fonts/Assistant,Poppins,Work_Sans/Poppins/Poppins-Italic.ttf
new file mode 100644
index 0000000..12b7b3c
Binary files /dev/null and b/example/assets/fonts/Assistant,Poppins,Work_Sans/Poppins/Poppins-Italic.ttf differ
diff --git a/example/assets/fonts/Assistant,Poppins,Work_Sans/Poppins/Poppins-Light.ttf b/example/assets/fonts/Assistant,Poppins,Work_Sans/Poppins/Poppins-Light.ttf
new file mode 100644
index 0000000..bc36bcc
Binary files /dev/null and b/example/assets/fonts/Assistant,Poppins,Work_Sans/Poppins/Poppins-Light.ttf differ
diff --git a/example/assets/fonts/Assistant,Poppins,Work_Sans/Poppins/Poppins-LightItalic.ttf b/example/assets/fonts/Assistant,Poppins,Work_Sans/Poppins/Poppins-LightItalic.ttf
new file mode 100644
index 0000000..9e70be6
Binary files /dev/null and b/example/assets/fonts/Assistant,Poppins,Work_Sans/Poppins/Poppins-LightItalic.ttf differ
diff --git a/example/assets/fonts/Assistant,Poppins,Work_Sans/Poppins/Poppins-Medium.ttf b/example/assets/fonts/Assistant,Poppins,Work_Sans/Poppins/Poppins-Medium.ttf
new file mode 100644
index 0000000..6bcdcc2
Binary files /dev/null and b/example/assets/fonts/Assistant,Poppins,Work_Sans/Poppins/Poppins-Medium.ttf differ
diff --git a/example/assets/fonts/Assistant,Poppins,Work_Sans/Poppins/Poppins-MediumItalic.ttf b/example/assets/fonts/Assistant,Poppins,Work_Sans/Poppins/Poppins-MediumItalic.ttf
new file mode 100644
index 0000000..be67410
Binary files /dev/null and b/example/assets/fonts/Assistant,Poppins,Work_Sans/Poppins/Poppins-MediumItalic.ttf differ
diff --git a/example/assets/fonts/Assistant,Poppins,Work_Sans/Poppins/Poppins-Regular.ttf b/example/assets/fonts/Assistant,Poppins,Work_Sans/Poppins/Poppins-Regular.ttf
new file mode 100644
index 0000000..9f0c71b
Binary files /dev/null and b/example/assets/fonts/Assistant,Poppins,Work_Sans/Poppins/Poppins-Regular.ttf differ
diff --git a/example/assets/fonts/Assistant,Poppins,Work_Sans/Poppins/Poppins-SemiBold.ttf b/example/assets/fonts/Assistant,Poppins,Work_Sans/Poppins/Poppins-SemiBold.ttf
new file mode 100644
index 0000000..74c726e
Binary files /dev/null and b/example/assets/fonts/Assistant,Poppins,Work_Sans/Poppins/Poppins-SemiBold.ttf differ
diff --git a/example/assets/fonts/Assistant,Poppins,Work_Sans/Poppins/Poppins-SemiBoldItalic.ttf b/example/assets/fonts/Assistant,Poppins,Work_Sans/Poppins/Poppins-SemiBoldItalic.ttf
new file mode 100644
index 0000000..3e6c942
Binary files /dev/null and b/example/assets/fonts/Assistant,Poppins,Work_Sans/Poppins/Poppins-SemiBoldItalic.ttf differ
diff --git a/example/assets/fonts/Assistant,Poppins,Work_Sans/Poppins/Poppins-Thin.ttf b/example/assets/fonts/Assistant,Poppins,Work_Sans/Poppins/Poppins-Thin.ttf
new file mode 100644
index 0000000..03e7366
Binary files /dev/null and b/example/assets/fonts/Assistant,Poppins,Work_Sans/Poppins/Poppins-Thin.ttf differ
diff --git a/example/assets/fonts/Assistant,Poppins,Work_Sans/Poppins/Poppins-ThinItalic.ttf b/example/assets/fonts/Assistant,Poppins,Work_Sans/Poppins/Poppins-ThinItalic.ttf
new file mode 100644
index 0000000..e26db5d
Binary files /dev/null and b/example/assets/fonts/Assistant,Poppins,Work_Sans/Poppins/Poppins-ThinItalic.ttf differ
diff --git a/example/assets/fonts/Assistant,Poppins,Work_Sans/Work_Sans/OFL.txt b/example/assets/fonts/Assistant,Poppins,Work_Sans/Work_Sans/OFL.txt
new file mode 100644
index 0000000..d3a046c
--- /dev/null
+++ b/example/assets/fonts/Assistant,Poppins,Work_Sans/Work_Sans/OFL.txt
@@ -0,0 +1,93 @@
+Copyright 2019 The Work Sans Project Authors (https://github.com/weiweihuanghuang/Work-Sans)
+
+This Font Software is licensed under the SIL Open Font License, Version 1.1.
+This license is copied below, and is also available with a FAQ at:
+http://scripts.sil.org/OFL
+
+
+-----------------------------------------------------------
+SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
+-----------------------------------------------------------
+
+PREAMBLE
+The goals of the Open Font License (OFL) are to stimulate worldwide
+development of collaborative font projects, to support the font creation
+efforts of academic and linguistic communities, and to provide a free and
+open framework in which fonts may be shared and improved in partnership
+with others.
+
+The OFL allows the licensed fonts to be used, studied, modified and
+redistributed freely as long as they are not sold by themselves. The
+fonts, including any derivative works, can be bundled, embedded,
+redistributed and/or sold with any software provided that any reserved
+names are not used by derivative works. The fonts and derivatives,
+however, cannot be released under any other type of license. The
+requirement for fonts to remain under this license does not apply
+to any document created using the fonts or their derivatives.
+
+DEFINITIONS
+"Font Software" refers to the set of files released by the Copyright
+Holder(s) under this license and clearly marked as such. This may
+include source files, build scripts and documentation.
+
+"Reserved Font Name" refers to any names specified as such after the
+copyright statement(s).
+
+"Original Version" refers to the collection of Font Software components as
+distributed by the Copyright Holder(s).
+
+"Modified Version" refers to any derivative made by adding to, deleting,
+or substituting -- in part or in whole -- any of the components of the
+Original Version, by changing formats or by porting the Font Software to a
+new environment.
+
+"Author" refers to any designer, engineer, programmer, technical
+writer or other person who contributed to the Font Software.
+
+PERMISSION & CONDITIONS
+Permission is hereby granted, free of charge, to any person obtaining
+a copy of the Font Software, to use, study, copy, merge, embed, modify,
+redistribute, and sell modified and unmodified copies of the Font
+Software, subject to the following conditions:
+
+1) Neither the Font Software nor any of its individual components,
+in Original or Modified Versions, may be sold by itself.
+
+2) Original or Modified Versions of the Font Software may be bundled,
+redistributed and/or sold with any software, provided that each copy
+contains the above copyright notice and this license. These can be
+included either as stand-alone text files, human-readable headers or
+in the appropriate machine-readable metadata fields within text or
+binary files as long as those fields can be easily viewed by the user.
+
+3) No Modified Version of the Font Software may use the Reserved Font
+Name(s) unless explicit written permission is granted by the corresponding
+Copyright Holder. This restriction only applies to the primary font name as
+presented to the users.
+
+4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
+Software shall not be used to promote, endorse or advertise any
+Modified Version, except to acknowledge the contribution(s) of the
+Copyright Holder(s) and the Author(s) or with their explicit written
+permission.
+
+5) The Font Software, modified or unmodified, in part or in whole,
+must be distributed entirely under this license, and must not be
+distributed under any other license. The requirement for fonts to
+remain under this license does not apply to any document created
+using the Font Software.
+
+TERMINATION
+This license becomes null and void if any of the above conditions are
+not met.
+
+DISCLAIMER
+THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
+MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
+OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
+COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
+INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
+DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
+OTHER DEALINGS IN THE FONT SOFTWARE.
diff --git a/example/assets/fonts/Assistant,Poppins,Work_Sans/Work_Sans/README.txt b/example/assets/fonts/Assistant,Poppins,Work_Sans/Work_Sans/README.txt
new file mode 100644
index 0000000..0dd9e1b
--- /dev/null
+++ b/example/assets/fonts/Assistant,Poppins,Work_Sans/Work_Sans/README.txt
@@ -0,0 +1,81 @@
+Work Sans Variable Font
+=======================
+
+This download contains Work Sans as both variable fonts and static fonts.
+
+Work Sans is a variable font with this axis:
+ wght
+
+This means all the styles are contained in these files:
+ Work_Sans/WorkSans-VariableFont_wght.ttf
+ Work_Sans/WorkSans-Italic-VariableFont_wght.ttf
+
+If your app fully supports variable fonts, you can now pick intermediate styles
+that aren’t available as static fonts. Not all apps support variable fonts, and
+in those cases you can use the static font files for Work Sans:
+ Work_Sans/static/WorkSans-Thin.ttf
+ Work_Sans/static/WorkSans-ExtraLight.ttf
+ Work_Sans/static/WorkSans-Light.ttf
+ Work_Sans/static/WorkSans-Regular.ttf
+ Work_Sans/static/WorkSans-Medium.ttf
+ Work_Sans/static/WorkSans-SemiBold.ttf
+ Work_Sans/static/WorkSans-Bold.ttf
+ Work_Sans/static/WorkSans-ExtraBold.ttf
+ Work_Sans/static/WorkSans-Black.ttf
+ Work_Sans/static/WorkSans-ThinItalic.ttf
+ Work_Sans/static/WorkSans-ExtraLightItalic.ttf
+ Work_Sans/static/WorkSans-LightItalic.ttf
+ Work_Sans/static/WorkSans-Italic.ttf
+ Work_Sans/static/WorkSans-MediumItalic.ttf
+ Work_Sans/static/WorkSans-SemiBoldItalic.ttf
+ Work_Sans/static/WorkSans-BoldItalic.ttf
+ Work_Sans/static/WorkSans-ExtraBoldItalic.ttf
+ Work_Sans/static/WorkSans-BlackItalic.ttf
+
+Get started
+-----------
+
+1. Install the font files you want to use
+
+2. Use your app's font picker to view the font family and all the
+available styles
+
+Learn more about variable fonts
+-------------------------------
+
+ https://developers.google.com/web/fundamentals/design-and-ux/typography/variable-fonts
+ https://variablefonts.typenetwork.com
+ https://medium.com/variable-fonts
+
+In desktop apps
+
+ https://theblog.adobe.com/can-variable-fonts-illustrator-cc
+ https://helpx.adobe.com/nz/photoshop/using/fonts.html#variable_fonts
+
+Online
+
+ https://developers.google.com/fonts/docs/getting_started
+ https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Fonts/Variable_Fonts_Guide
+ https://developer.microsoft.com/en-us/microsoft-edge/testdrive/demos/variable-fonts
+
+Installing fonts
+
+ MacOS: https://support.apple.com/en-us/HT201749
+ Linux: https://www.google.com/search?q=how+to+install+a+font+on+gnu%2Blinux
+ Windows: https://support.microsoft.com/en-us/help/314960/how-to-install-or-remove-a-font-in-windows
+
+Android Apps
+
+ https://developers.google.com/fonts/docs/android
+ https://developer.android.com/guide/topics/ui/look-and-feel/downloadable-fonts
+
+License
+-------
+Please read the full license text (OFL.txt) to understand the permissions,
+restrictions and requirements for usage, redistribution, and modification.
+
+You can use them in your products & projects – print or digital,
+commercial or otherwise.
+
+This isn't legal advice, please consider consulting a lawyer and see the full
+license for all details.
diff --git a/example/assets/fonts/Assistant,Poppins,Work_Sans/Work_Sans/WorkSans-Italic-VariableFont_wght.ttf b/example/assets/fonts/Assistant,Poppins,Work_Sans/Work_Sans/WorkSans-Italic-VariableFont_wght.ttf
new file mode 100644
index 0000000..03e9671
Binary files /dev/null and b/example/assets/fonts/Assistant,Poppins,Work_Sans/Work_Sans/WorkSans-Italic-VariableFont_wght.ttf differ
diff --git a/example/assets/fonts/Assistant,Poppins,Work_Sans/Work_Sans/WorkSans-VariableFont_wght.ttf b/example/assets/fonts/Assistant,Poppins,Work_Sans/Work_Sans/WorkSans-VariableFont_wght.ttf
new file mode 100644
index 0000000..c8d0541
Binary files /dev/null and b/example/assets/fonts/Assistant,Poppins,Work_Sans/Work_Sans/WorkSans-VariableFont_wght.ttf differ
diff --git a/example/assets/fonts/Assistant,Poppins,Work_Sans/Work_Sans/static/WorkSans-Black.ttf b/example/assets/fonts/Assistant,Poppins,Work_Sans/Work_Sans/static/WorkSans-Black.ttf
new file mode 100644
index 0000000..f0f61fb
Binary files /dev/null and b/example/assets/fonts/Assistant,Poppins,Work_Sans/Work_Sans/static/WorkSans-Black.ttf differ
diff --git a/example/assets/fonts/Assistant,Poppins,Work_Sans/Work_Sans/static/WorkSans-BlackItalic.ttf b/example/assets/fonts/Assistant,Poppins,Work_Sans/Work_Sans/static/WorkSans-BlackItalic.ttf
new file mode 100644
index 0000000..4e56453
Binary files /dev/null and b/example/assets/fonts/Assistant,Poppins,Work_Sans/Work_Sans/static/WorkSans-BlackItalic.ttf differ
diff --git a/example/assets/fonts/Assistant,Poppins,Work_Sans/Work_Sans/static/WorkSans-Bold.ttf b/example/assets/fonts/Assistant,Poppins,Work_Sans/Work_Sans/static/WorkSans-Bold.ttf
new file mode 100644
index 0000000..c30cb07
Binary files /dev/null and b/example/assets/fonts/Assistant,Poppins,Work_Sans/Work_Sans/static/WorkSans-Bold.ttf differ
diff --git a/example/assets/fonts/Assistant,Poppins,Work_Sans/Work_Sans/static/WorkSans-BoldItalic.ttf b/example/assets/fonts/Assistant,Poppins,Work_Sans/Work_Sans/static/WorkSans-BoldItalic.ttf
new file mode 100644
index 0000000..74485eb
Binary files /dev/null and b/example/assets/fonts/Assistant,Poppins,Work_Sans/Work_Sans/static/WorkSans-BoldItalic.ttf differ
diff --git a/example/assets/fonts/Assistant,Poppins,Work_Sans/Work_Sans/static/WorkSans-ExtraBold.ttf b/example/assets/fonts/Assistant,Poppins,Work_Sans/Work_Sans/static/WorkSans-ExtraBold.ttf
new file mode 100644
index 0000000..2d0d46a
Binary files /dev/null and b/example/assets/fonts/Assistant,Poppins,Work_Sans/Work_Sans/static/WorkSans-ExtraBold.ttf differ
diff --git a/example/assets/fonts/Assistant,Poppins,Work_Sans/Work_Sans/static/WorkSans-ExtraBoldItalic.ttf b/example/assets/fonts/Assistant,Poppins,Work_Sans/Work_Sans/static/WorkSans-ExtraBoldItalic.ttf
new file mode 100644
index 0000000..7bd39ad
Binary files /dev/null and b/example/assets/fonts/Assistant,Poppins,Work_Sans/Work_Sans/static/WorkSans-ExtraBoldItalic.ttf differ
diff --git a/example/assets/fonts/Assistant,Poppins,Work_Sans/Work_Sans/static/WorkSans-ExtraLight.ttf b/example/assets/fonts/Assistant,Poppins,Work_Sans/Work_Sans/static/WorkSans-ExtraLight.ttf
new file mode 100644
index 0000000..649ba45
Binary files /dev/null and b/example/assets/fonts/Assistant,Poppins,Work_Sans/Work_Sans/static/WorkSans-ExtraLight.ttf differ
diff --git a/example/assets/fonts/Assistant,Poppins,Work_Sans/Work_Sans/static/WorkSans-ExtraLightItalic.ttf b/example/assets/fonts/Assistant,Poppins,Work_Sans/Work_Sans/static/WorkSans-ExtraLightItalic.ttf
new file mode 100644
index 0000000..189da43
Binary files /dev/null and b/example/assets/fonts/Assistant,Poppins,Work_Sans/Work_Sans/static/WorkSans-ExtraLightItalic.ttf differ
diff --git a/example/assets/fonts/Assistant,Poppins,Work_Sans/Work_Sans/static/WorkSans-Italic.ttf b/example/assets/fonts/Assistant,Poppins,Work_Sans/Work_Sans/static/WorkSans-Italic.ttf
new file mode 100644
index 0000000..20098be
Binary files /dev/null and b/example/assets/fonts/Assistant,Poppins,Work_Sans/Work_Sans/static/WorkSans-Italic.ttf differ
diff --git a/example/assets/fonts/Assistant,Poppins,Work_Sans/Work_Sans/static/WorkSans-Light.ttf b/example/assets/fonts/Assistant,Poppins,Work_Sans/Work_Sans/static/WorkSans-Light.ttf
new file mode 100644
index 0000000..21b95a3
Binary files /dev/null and b/example/assets/fonts/Assistant,Poppins,Work_Sans/Work_Sans/static/WorkSans-Light.ttf differ
diff --git a/example/assets/fonts/Assistant,Poppins,Work_Sans/Work_Sans/static/WorkSans-LightItalic.ttf b/example/assets/fonts/Assistant,Poppins,Work_Sans/Work_Sans/static/WorkSans-LightItalic.ttf
new file mode 100644
index 0000000..e4b733b
Binary files /dev/null and b/example/assets/fonts/Assistant,Poppins,Work_Sans/Work_Sans/static/WorkSans-LightItalic.ttf differ
diff --git a/example/assets/fonts/Assistant,Poppins,Work_Sans/Work_Sans/static/WorkSans-Medium.ttf b/example/assets/fonts/Assistant,Poppins,Work_Sans/Work_Sans/static/WorkSans-Medium.ttf
new file mode 100644
index 0000000..1800fe2
Binary files /dev/null and b/example/assets/fonts/Assistant,Poppins,Work_Sans/Work_Sans/static/WorkSans-Medium.ttf differ
diff --git a/example/assets/fonts/Assistant,Poppins,Work_Sans/Work_Sans/static/WorkSans-MediumItalic.ttf b/example/assets/fonts/Assistant,Poppins,Work_Sans/Work_Sans/static/WorkSans-MediumItalic.ttf
new file mode 100644
index 0000000..45ceafa
Binary files /dev/null and b/example/assets/fonts/Assistant,Poppins,Work_Sans/Work_Sans/static/WorkSans-MediumItalic.ttf differ
diff --git a/example/assets/fonts/Assistant,Poppins,Work_Sans/Work_Sans/static/WorkSans-Regular.ttf b/example/assets/fonts/Assistant,Poppins,Work_Sans/Work_Sans/static/WorkSans-Regular.ttf
new file mode 100644
index 0000000..20c7240
Binary files /dev/null and b/example/assets/fonts/Assistant,Poppins,Work_Sans/Work_Sans/static/WorkSans-Regular.ttf differ
diff --git a/example/assets/fonts/Assistant,Poppins,Work_Sans/Work_Sans/static/WorkSans-SemiBold.ttf b/example/assets/fonts/Assistant,Poppins,Work_Sans/Work_Sans/static/WorkSans-SemiBold.ttf
new file mode 100644
index 0000000..bce808c
Binary files /dev/null and b/example/assets/fonts/Assistant,Poppins,Work_Sans/Work_Sans/static/WorkSans-SemiBold.ttf differ
diff --git a/example/assets/fonts/Assistant,Poppins,Work_Sans/Work_Sans/static/WorkSans-SemiBoldItalic.ttf b/example/assets/fonts/Assistant,Poppins,Work_Sans/Work_Sans/static/WorkSans-SemiBoldItalic.ttf
new file mode 100644
index 0000000..57de6c8
Binary files /dev/null and b/example/assets/fonts/Assistant,Poppins,Work_Sans/Work_Sans/static/WorkSans-SemiBoldItalic.ttf differ
diff --git a/example/assets/fonts/Assistant,Poppins,Work_Sans/Work_Sans/static/WorkSans-Thin.ttf b/example/assets/fonts/Assistant,Poppins,Work_Sans/Work_Sans/static/WorkSans-Thin.ttf
new file mode 100644
index 0000000..2547932
Binary files /dev/null and b/example/assets/fonts/Assistant,Poppins,Work_Sans/Work_Sans/static/WorkSans-Thin.ttf differ
diff --git a/example/assets/fonts/Assistant,Poppins,Work_Sans/Work_Sans/static/WorkSans-ThinItalic.ttf b/example/assets/fonts/Assistant,Poppins,Work_Sans/Work_Sans/static/WorkSans-ThinItalic.ttf
new file mode 100644
index 0000000..64da9b5
Binary files /dev/null and b/example/assets/fonts/Assistant,Poppins,Work_Sans/Work_Sans/static/WorkSans-ThinItalic.ttf differ
diff --git a/example/assets/fonts/MyFlutterApp.ttf b/example/assets/fonts/MyFlutterApp.ttf
new file mode 100644
index 0000000..4957f7a
Binary files /dev/null and b/example/assets/fonts/MyFlutterApp.ttf differ
diff --git a/example/assets/instagram.jpg b/example/assets/instagram.jpg
new file mode 100644
index 0000000..d680416
Binary files /dev/null and b/example/assets/instagram.jpg differ
diff --git a/example/assets/logo.svg b/example/assets/logo.svg
new file mode 100644
index 0000000..18c9828
--- /dev/null
+++ b/example/assets/logo.svg
@@ -0,0 +1,8 @@
+
diff --git a/example/assets/routeOne.jpg b/example/assets/routeOne.jpg
new file mode 100644
index 0000000..dbcdf24
Binary files /dev/null and b/example/assets/routeOne.jpg differ
diff --git a/example/assets/vectors/Vector.svg b/example/assets/vectors/Vector.svg
new file mode 100644
index 0000000..2fa89af
--- /dev/null
+++ b/example/assets/vectors/Vector.svg
@@ -0,0 +1,3 @@
+
diff --git a/example/assets/vectors/Vector1.svg b/example/assets/vectors/Vector1.svg
new file mode 100644
index 0000000..ecfa84c
--- /dev/null
+++ b/example/assets/vectors/Vector1.svg
@@ -0,0 +1,3 @@
+
diff --git a/example/assets/vectors/Vector10.svg b/example/assets/vectors/Vector10.svg
new file mode 100644
index 0000000..0eea2a4
--- /dev/null
+++ b/example/assets/vectors/Vector10.svg
@@ -0,0 +1,3 @@
+
diff --git a/example/assets/vectors/Vector11.svg b/example/assets/vectors/Vector11.svg
new file mode 100644
index 0000000..23fe750
--- /dev/null
+++ b/example/assets/vectors/Vector11.svg
@@ -0,0 +1,3 @@
+
diff --git a/example/assets/vectors/Vector12.svg b/example/assets/vectors/Vector12.svg
new file mode 100644
index 0000000..b9afd42
--- /dev/null
+++ b/example/assets/vectors/Vector12.svg
@@ -0,0 +1,3 @@
+
diff --git a/example/assets/vectors/Vector13.svg b/example/assets/vectors/Vector13.svg
new file mode 100644
index 0000000..652a269
--- /dev/null
+++ b/example/assets/vectors/Vector13.svg
@@ -0,0 +1,3 @@
+
diff --git a/example/assets/vectors/Vector14.svg b/example/assets/vectors/Vector14.svg
new file mode 100644
index 0000000..f3d79dc
--- /dev/null
+++ b/example/assets/vectors/Vector14.svg
@@ -0,0 +1,3 @@
+
diff --git a/example/assets/vectors/Vector2.png b/example/assets/vectors/Vector2.png
new file mode 100644
index 0000000..07ea2c8
Binary files /dev/null and b/example/assets/vectors/Vector2.png differ
diff --git a/example/assets/vectors/Vector2.svg b/example/assets/vectors/Vector2.svg
new file mode 100644
index 0000000..d5fc0e4
--- /dev/null
+++ b/example/assets/vectors/Vector2.svg
@@ -0,0 +1,3 @@
+
diff --git a/example/assets/vectors/Vector3.svg b/example/assets/vectors/Vector3.svg
new file mode 100644
index 0000000..1cc6d24
--- /dev/null
+++ b/example/assets/vectors/Vector3.svg
@@ -0,0 +1,3 @@
+
diff --git a/example/assets/vectors/Vector4.svg b/example/assets/vectors/Vector4.svg
new file mode 100644
index 0000000..339ba38
--- /dev/null
+++ b/example/assets/vectors/Vector4.svg
@@ -0,0 +1,3 @@
+
diff --git a/example/assets/vectors/Vector5.svg b/example/assets/vectors/Vector5.svg
new file mode 100644
index 0000000..5459574
--- /dev/null
+++ b/example/assets/vectors/Vector5.svg
@@ -0,0 +1,3 @@
+
diff --git a/example/assets/vectors/Vector6.svg b/example/assets/vectors/Vector6.svg
new file mode 100644
index 0000000..badfee8
--- /dev/null
+++ b/example/assets/vectors/Vector6.svg
@@ -0,0 +1,3 @@
+
diff --git a/example/assets/vectors/Vector7.svg b/example/assets/vectors/Vector7.svg
new file mode 100644
index 0000000..eb56d99
--- /dev/null
+++ b/example/assets/vectors/Vector7.svg
@@ -0,0 +1,3 @@
+
diff --git a/example/assets/vectors/Vector8.svg b/example/assets/vectors/Vector8.svg
new file mode 100644
index 0000000..0d11961
--- /dev/null
+++ b/example/assets/vectors/Vector8.svg
@@ -0,0 +1,3 @@
+
diff --git a/example/assets/vectors/Vector9.svg b/example/assets/vectors/Vector9.svg
new file mode 100644
index 0000000..6af7983
--- /dev/null
+++ b/example/assets/vectors/Vector9.svg
@@ -0,0 +1,3 @@
+
diff --git a/example/assets/whatsapp.jpg b/example/assets/whatsapp.jpg
new file mode 100644
index 0000000..7577f1f
Binary files /dev/null and b/example/assets/whatsapp.jpg differ
diff --git a/example/lib/first_route.dart b/example/lib/first_route.dart
new file mode 100644
index 0000000..8f95f71
--- /dev/null
+++ b/example/lib/first_route.dart
@@ -0,0 +1,131 @@
+import 'package:flutter/material.dart';
+import 'second_route.dart';
+import 'utils/my_camera.dart';
+import 'dart:io';
+import 'utils/elevated_button.dart';
+
+const kButtonColor = Color.fromARGB(200, 88, 182, 108);
+const kButtonBorderColor = Color.fromARGB(200, 51, 108, 160);
+const kButtonTextStyle = TextStyle(fontWeight: FontWeight.bold);
+const kButtonPadding = EdgeInsets.fromLTRB(0.0, 35.0, 0.0, 35.0);
+
+class FirstRoute extends StatelessWidget {
+ const FirstRoute({super.key});
+
+ @override
+ Widget build(BuildContext context) {
+ return Scaffold(
+ appBar: AppBar(
+ backgroundColor: Colors.white,
+ elevation: 0,
+ leading: IconButton(
+ icon: const Icon(
+ Icons.close,
+ color: Colors.black,
+ size: 20,
+ ), // use Colors.black to make the icon black
+ onPressed: () {
+ // Define the action when close icon is pressed
+ },
+ ),
+ ),
+ body: Container(
+ color: Colors.white,
+ child: Center(
+ child: Column(
+ //mainAxisAlignment: MainAxisAlignment.spaceAround,
+ //crossAxisAlignment: CrossAxisAlignment.center,
+ children: [
+ //SizedBox(height: 20.0,),
+ Container(
+ margin: const EdgeInsets.only(top: 50),
+ child: const Image(
+ image: AssetImage('assets/routeOne.jpg'),
+ ),
+ ),
+ const SizedBox(
+ height: 40.0,
+ ),
+ CustomElevatedButton(
+ color: kButtonColor,
+ onPressed: () async {
+ File? myImage = await MyCamera.takePicture();
+ myImage != null
+ // ignore: use_build_context_synchronously
+ ? Navigator.push(
+ context,
+ MaterialPageRoute(
+ builder: (context) =>
+ SecondRoute(myImage: Image.file(myImage)),
+ ))
+ : () {};
+ },
+ child: const Row(
+ mainAxisAlignment: MainAxisAlignment.center,
+ children: [
+ //SizedBox(height: 20.0,),
+ Padding(
+ padding: EdgeInsets.fromLTRB(
+ 0.0,
+ 35.0,
+ 0.0,
+ 35.0,
+ ),
+ ),
+ Text(
+ 'שיתוף תמונה',
+ style: TextStyle(
+ fontWeight: FontWeight.bold,
+ ),
+ ),
+ SizedBox(width: 10.0),
+ Icon(Icons.camera_alt_outlined)
+ ],
+ ),
+ ),
+ const SizedBox(
+ height: 20.0,
+ ),
+ CustomElevatedButton(
+ color: Colors.white,
+ borderColor: kButtonBorderColor,
+ onPressed: () {
+ //final myImage = File('assets\routeOne.jpg');
+ Navigator.push(
+ context,
+ MaterialPageRoute(builder: (context) => SecondRoute()),
+ );
+ },
+ child: const Row(
+ mainAxisAlignment: MainAxisAlignment.center,
+ children: [
+ //SizedBox(height: 20.0,),
+ Padding(
+ padding: EdgeInsets.fromLTRB(
+ 0.0,
+ 35.0,
+ 0.0,
+ 35.0,
+ ),
+ ),
+ Text(
+ 'שיתוף ארוע',
+ style: TextStyle(
+ color: Color.fromARGB(200, 51, 108, 160),
+ fontWeight: FontWeight.bold,
+ ),
+ ),
+ SizedBox(width: 10.0),
+ Image(
+ image: AssetImage('assets/event.jpg'),
+ height: 25.0,
+ )
+ ],
+ ),
+ ),
+ ],
+ ),
+ )),
+ );
+ }
+}
diff --git a/example/lib/main.dart b/example/lib/main.dart
index dda5554..a3c8cb2 100644
--- a/example/lib/main.dart
+++ b/example/lib/main.dart
@@ -1,125 +1,9 @@
import 'package:flutter/material.dart';
+import 'first_route.dart';
void main() {
- runApp(const MyApp());
-}
-
-class MyApp extends StatelessWidget {
- const MyApp({super.key});
-
- // This widget is the root of your application.
- @override
- Widget build(BuildContext context) {
- return MaterialApp(
- title: 'Flutter Demo',
- theme: ThemeData(
- // This is the theme of your application.
- //
- // TRY THIS: Try running your application with "flutter run". You'll see
- // the application has a blue toolbar. Then, without quitting the app,
- // try changing the seedColor in the colorScheme below to Colors.green
- // and then invoke "hot reload" (save your changes or press the "hot
- // reload" button in a Flutter-supported IDE, or press "r" if you used
- // the command line to start the app).
- //
- // Notice that the counter didn't reset back to zero; the application
- // state is not lost during the reload. To reset the state, use hot
- // restart instead.
- //
- // This works for code too, not just values: Most code changes can be
- // tested with just a hot reload.
- colorScheme: ColorScheme.fromSeed(seedColor: Colors.deepPurple),
- useMaterial3: true,
- ),
- home: const MyHomePage(title: 'Flutter Demo Home Page'),
- );
- }
-}
-
-class MyHomePage extends StatefulWidget {
- const MyHomePage({super.key, required this.title});
-
- // This widget is the home page of your application. It is stateful, meaning
- // that it has a State object (defined below) that contains fields that affect
- // how it looks.
-
- // This class is the configuration for the state. It holds the values (in this
- // case the title) provided by the parent (in this case the App widget) and
- // used by the build method of the State. Fields in a Widget subclass are
- // always marked "final".
-
- final String title;
-
- @override
- State createState() => _MyHomePageState();
-}
-
-class _MyHomePageState extends State {
- int _counter = 0;
-
- void _incrementCounter() {
- setState(() {
- // This call to setState tells the Flutter framework that something has
- // changed in this State, which causes it to rerun the build method below
- // so that the display can reflect the updated values. If we changed
- // _counter without calling setState(), then the build method would not be
- // called again, and so nothing would appear to happen.
- _counter++;
- });
- }
-
- @override
- Widget build(BuildContext context) {
- // This method is rerun every time setState is called, for instance as done
- // by the _incrementCounter method above.
- //
- // The Flutter framework has been optimized to make rerunning build methods
- // fast, so that you can just rebuild anything that needs updating rather
- // than having to individually change instances of widgets.
- return Scaffold(
- appBar: AppBar(
- // TRY THIS: Try changing the color here to a specific color (to
- // Colors.amber, perhaps?) and trigger a hot reload to see the AppBar
- // change color while the other colors stay the same.
- backgroundColor: Theme.of(context).colorScheme.inversePrimary,
- // Here we take the value from the MyHomePage object that was created by
- // the App.build method, and use it to set our appbar title.
- title: Text(widget.title),
- ),
- body: Center(
- // Center is a layout widget. It takes a single child and positions it
- // in the middle of the parent.
- child: Column(
- // Column is also a layout widget. It takes a list of children and
- // arranges them vertically. By default, it sizes itself to fit its
- // children horizontally, and tries to be as tall as its parent.
- //
- // Column has various properties to control how it sizes itself and
- // how it positions its children. Here we use mainAxisAlignment to
- // center the children vertically; the main axis here is the vertical
- // axis because Columns are vertical (the cross axis would be
- // horizontal).
- //
- // TRY THIS: Invoke "debug painting" (choose the "Toggle Debug Paint"
- // action in the IDE, or press "p" in the console), to see the
- // wireframe for each widget.
- mainAxisAlignment: MainAxisAlignment.center,
- children: [
- const Text(
- 'You have pushed the button this many times:',
- ),
- Text(
- '$_counter',
- style: Theme.of(context).textTheme.headlineMedium,
- ),
- ],
- ),
- ),
- floatingActionButton: FloatingActionButton(
- onPressed: _incrementCounter,
- tooltip: 'Increment',
- child: const Icon(Icons.add),
- ), // This trailing comma makes auto-formatting nicer for build methods.
- );
- }
+ runApp(const MaterialApp(
+ title: 'Navigation Basics',
+ home: FirstRoute(),
+ ));
}
diff --git a/example/lib/second_route.dart b/example/lib/second_route.dart
new file mode 100644
index 0000000..56d0f62
--- /dev/null
+++ b/example/lib/second_route.dart
@@ -0,0 +1,157 @@
+import 'package:flutter/material.dart';
+import 'package:flutter_svg/flutter_svg.dart';
+import 'utils/my_camera.dart';
+import 'dart:io';
+import 'utils/vector_list.dart';
+import 'utils/share_button.dart';
+import 'utils/style.dart';
+import 'utils/linear_gradient.dart';
+
+// ignore: must_be_immutable
+class SecondRoute extends StatelessWidget {
+ Image? myImage; // Make the Image nullable
+ Image defaultImage = Image.asset('assets/routeOne.jpg');
+
+ SecondRoute({this.myImage, Key? key}) : super(key: key);
+
+ @override
+ Widget build(BuildContext context) {
+ return Scaffold(
+ body: SafeArea(
+ child: Container(
+ color: Colors.white,
+ child: Column(
+ //mainAxisAlignment: MainAxisAlignment.start,
+ children: [
+ Container(
+ margin: const EdgeInsets.fromLTRB(20, 20, 20, 0),
+ child: Stack(
+ children: [
+ myImage ?? defaultImage,
+ if (myImage != null) ...[
+ const MyLinearGradient(
+ alignment: "topCenter",
+ alignmentBegin: "topCenter",
+ alignmentEnd: "bottomCenter",
+ ),
+ Positioned.fill(
+ child: FractionallySizedBox(
+ alignment: Alignment.topCenter,
+ heightFactor: 0.16,
+ child: Stack(
+ children: [
+ Positioned(
+ right: 15,
+ top: 15,
+ width: 35,
+ height: 35,
+ child: SvgPicture.asset(
+ 'assets/logo.svg',
+ ),
+ ),
+ Positioned(
+ top: 22,
+ right: 60,
+ child:
+ SvgPicture.asset('assets/YedidimLogo.svg'),
+ )
+ ],
+ ),
+ ),
+ ),
+ const MyLinearGradient(
+ alignment: "bottomCenter",
+ alignmentBegin: "bottomCenter",
+ alignmentEnd: "topCenter",
+ ),
+ Positioned.fill(
+ child: FractionallySizedBox(
+ alignment: Alignment.bottomCenter,
+ heightFactor: 0.16,
+ child: Stack(
+ children: [
+ ...vectors.asMap().entries.map((entry) {
+ Map vector = entry.value;
+
+ return Positioned(
+ left: vector['left'],
+ bottom: vector['bottom'],
+ width: vector['width'],
+ height: vector['height'],
+ child: SvgPicture.asset(
+ 'assets/vectors/Vector${entry.key + 1}.svg',
+ ),
+ );
+ }).toList(),
+ const Center(
+ child: Text('!גאה להתנדב בידידים',
+ textAlign: TextAlign.center,
+ style: kBottomTextStyle),
+ )
+ ],
+ ),
+ ),
+ )
+ ],
+ ],
+ ),
+ ),
+ const SizedBox(height: 45),
+ const Text(
+ 'שיתוף באמצעות',
+ style: kShareTextStyle,
+ ),
+ const SizedBox(height: 15),
+ const Row(
+ crossAxisAlignment: CrossAxisAlignment.center,
+ mainAxisAlignment: MainAxisAlignment.center,
+ children: [
+ ShareButton(
+ assetName: 'assets/instagram.jpg',
+ platformName: 'Instagram',
+ ),
+ ShareButton(
+ assetName: 'assets/facebook.jpg',
+ platformName: 'Facebook',
+ ),
+ ShareButton(
+ assetName: 'assets/whatsapp.jpg',
+ platformName: 'Whatsapp',
+ ),
+ ],
+ ),
+ const SizedBox(height: 45),
+ if (myImage != null)
+ ElevatedButton(
+ onPressed: () async {
+ File? myImage = await MyCamera.takePicture();
+ myImage != null
+ // ignore: use_build_context_synchronously
+ ? Navigator.pushReplacement(
+ context,
+ MaterialPageRoute(
+ builder: (context) =>
+ SecondRoute(myImage: Image.file(myImage)),
+ ))
+ : () {};
+ },
+ style: ElevatedButton.styleFrom(
+ shape: const StadiumBorder(),
+ backgroundColor: Colors.white,
+ side: const BorderSide(
+ color: Color.fromARGB(255, 51, 108, 160), width: 1),
+ fixedSize: const Size(125, 44),
+ elevation: 0,
+ ),
+ child: const Text(
+ 'צילום חדש',
+ style: kNewPhotoTextStyle,
+ ),
+ )
+ ],
+ ),
+ ),
+ ),
+ );
+ }
+}
diff --git a/example/lib/utils/elevated_button.dart b/example/lib/utils/elevated_button.dart
new file mode 100644
index 0000000..6e2354f
--- /dev/null
+++ b/example/lib/utils/elevated_button.dart
@@ -0,0 +1,44 @@
+import 'package:flutter/material.dart';
+
+class CustomElevatedButton extends StatelessWidget {
+ final Color color;
+ final Color borderColor;
+ final VoidCallback onPressed;
+ final Widget child;
+
+ const CustomElevatedButton({
+ super.key,
+ required this.color,
+ required this.onPressed,
+ required this.child,
+ this.borderColor = Colors.transparent,
+ });
+
+ @override
+ Widget build(BuildContext context) {
+ return Container(
+ margin: const EdgeInsets.only(left: 40.0, right: 40.0),
+ child: ElevatedButton(
+ style: ElevatedButton.styleFrom(
+ backgroundColor: color,
+ elevation: 0.0,
+ shape: RoundedRectangleBorder(
+ borderRadius: BorderRadius.circular(40.0),
+ ),
+ side: BorderSide(
+ width: 2.0,
+ color: borderColor,
+ ),
+ ),
+ onPressed: onPressed,
+ child: Row(
+ mainAxisAlignment: MainAxisAlignment.center,
+ children: [
+ const Padding(padding: EdgeInsets.fromLTRB(0.0, 35.0, 0.0, 35.0)),
+ child,
+ ],
+ ),
+ ),
+ );
+ }
+}
diff --git a/example/lib/utils/linear_gradient.dart b/example/lib/utils/linear_gradient.dart
new file mode 100644
index 0000000..5168320
--- /dev/null
+++ b/example/lib/utils/linear_gradient.dart
@@ -0,0 +1,50 @@
+import 'package:flutter/material.dart';
+
+const kGradientColors = [
+ Color.fromRGBO(0, 0, 0, 1.0), // Fully opaque black
+ Color.fromRGBO(0, 0, 0, 0.3), // Black with 30% opacity
+ Color.fromRGBO(0, 0, 0, 0.1), // Black with 10% opacity
+ Colors.transparent,
+];
+
+class MyLinearGradient extends StatelessWidget {
+ final String alignment;
+ final String alignmentBegin;
+ final String alignmentEnd;
+
+ static const alignments = {
+ "topCenter": Alignment.topCenter,
+ "bottomCenter": Alignment.bottomCenter,
+ // Add any other alignments you want to support here
+ };
+
+ const MyLinearGradient({
+ Key? key,
+ required this.alignment,
+ required this.alignmentBegin,
+ required this.alignmentEnd,
+ }) : super(key: key);
+
+ @override
+ Widget build(BuildContext context) {
+ final alignments = {
+ "topCenter": Alignment.topCenter,
+ "bottomCenter": Alignment.bottomCenter,
+ };
+ return Positioned.fill(
+ child: FractionallySizedBox(
+ alignment: alignments[alignment]!,
+ heightFactor: 0.16,
+ child: Container(
+ decoration: BoxDecoration(
+ gradient: LinearGradient(
+ begin: alignments[alignmentBegin]!,
+ end: alignments[alignmentEnd]!,
+ colors: kGradientColors,
+ ),
+ ),
+ ),
+ ),
+ );
+ }
+}
diff --git a/example/lib/utils/my_camera.dart b/example/lib/utils/my_camera.dart
new file mode 100644
index 0000000..a01e708
--- /dev/null
+++ b/example/lib/utils/my_camera.dart
@@ -0,0 +1,23 @@
+import 'dart:io';
+import 'package:flutter/services.dart';
+import 'package:image_picker/image_picker.dart';
+
+class MyCamera {
+ static Future takePicture() async {
+ try {
+ final imagePicker = ImagePicker();
+ final takenImage = await imagePicker.pickImage(
+ source: ImageSource.camera,
+ maxWidth: 900,
+ );
+ if (takenImage == null) {
+ return null;
+ }
+ return File(takenImage.path);
+ } on PlatformException catch (e) {
+ // ignore: avoid_print
+ print('Failed to pick image: $e');
+ }
+ return null;
+ }
+}
diff --git a/example/lib/utils/share_button.dart b/example/lib/utils/share_button.dart
new file mode 100644
index 0000000..ca57405
--- /dev/null
+++ b/example/lib/utils/share_button.dart
@@ -0,0 +1,39 @@
+import 'package:flutter/material.dart';
+
+class ShareButton extends StatelessWidget {
+ final String assetName;
+ final String platformName;
+
+ const ShareButton({
+ required this.assetName,
+ required this.platformName,
+ Key? key,
+ }) : super(key: key);
+
+ @override
+ Widget build(BuildContext context) {
+ return ElevatedButton(
+ onPressed: () {},
+ style: ElevatedButton.styleFrom(
+ backgroundColor: Colors.white,
+ elevation: 0,
+ ),
+ child: Column(
+ children: [
+ Image(
+ image: AssetImage(assetName),
+ width: 40,
+ ),
+ const SizedBox(height: 5),
+ Text(
+ platformName,
+ style: const TextStyle(
+ color: Colors.black,
+ fontSize: 9,
+ ),
+ )
+ ],
+ ),
+ );
+ }
+}
diff --git a/example/lib/utils/style.dart b/example/lib/utils/style.dart
new file mode 100644
index 0000000..ef0380b
--- /dev/null
+++ b/example/lib/utils/style.dart
@@ -0,0 +1,21 @@
+import 'package:flutter/material.dart';
+
+const kBottomTextStyle = TextStyle(
+ fontSize: 21,
+ fontWeight: FontWeight.w900,
+ letterSpacing: 1.3,
+ fontFamily: 'Assistant',
+ color: Colors.white,
+);
+
+const kShareTextStyle = TextStyle(
+ color: Colors.grey,
+ fontSize: 18,
+ fontFamily: 'Assistant',
+);
+
+const kNewPhotoTextStyle = TextStyle(
+ color: Color.fromARGB(255, 51, 108, 160),
+ fontSize: 15,
+ fontFamily: 'Assistant',
+);
diff --git a/example/lib/utils/vector_list.dart b/example/lib/utils/vector_list.dart
new file mode 100644
index 0000000..3890264
--- /dev/null
+++ b/example/lib/utils/vector_list.dart
@@ -0,0 +1,16 @@
+List