From c34358b559cef4b19fff2557aabb343c635e3496 Mon Sep 17 00:00:00 2001 From: Daniel Borges Date: Wed, 7 Aug 2019 17:30:30 -0300 Subject: [PATCH] added license headers + some refactors --- README.md | 17 ++----------- lib/main.dart | 24 ++++++++++++++++++- lib/src/app_theme.dart | 22 +++++++++++++++++ lib/src/models/plugin.dart | 22 +++++++++++++++++ lib/src/models/service_item.dart | 22 +++++++++++++++++ lib/src/models/slide_item.dart | 22 +++++++++++++++++ lib/src/openlp_remote_app.dart | 22 +++++++++++++++++ lib/src/resources/openlp_icons.dart | 22 +++++++++++++++++ lib/src/screens/search_service_item.dart | 22 +++++++++++++++++ lib/src/screens/service_list_view.dart | 22 +++++++++++++++++ lib/src/{widgets => screens}/settings.dart | 22 +++++++++++++++++ lib/src/screens/slides_list_view.dart | 22 +++++++++++++++++ lib/src/widgets/bottom_navigation_bar.dart | 22 +++++++++++++++++ lib/src/widgets/display_options_dialog.dart | 22 +++++++++++++++++ lib/src/widgets/search_floating_button.dart | 22 +++++++++++++++++ .../widgets/service_item_bottom_sheet.dart | 22 +++++++++++++++++ lib/src/widgets/show_alert_dialog.dart | 22 +++++++++++++++++ pubspec.yaml | 22 +++++++++++++++++ 18 files changed, 377 insertions(+), 16 deletions(-) rename lib/src/{widgets => screens}/settings.dart (72%) diff --git a/README.md b/README.md index 9b10380..c9257dc 100644 --- a/README.md +++ b/README.md @@ -1,16 +1,3 @@ -# openlp_remote +# OpenLP Mobile Remote -A new Flutter project. - -## Getting Started - -This project is a starting point for a Flutter application. - -A few resources to get you started if this is your first Flutter project: - -- [Lab: Write your first Flutter app](https://flutter.dev/docs/get-started/codelab) -- [Cookbook: Useful Flutter samples](https://flutter.dev/docs/cookbook) - -For help getting started with Flutter, view our -[online documentation](https://flutter.dev/docs), which offers tutorials, -samples, guidance on mobile development, and a full API reference. +The official mobile remote application written in Flutter. \ No newline at end of file diff --git a/lib/main.dart b/lib/main.dart index 77b1fe5..c77f580 100644 --- a/lib/main.dart +++ b/lib/main.dart @@ -1,8 +1,30 @@ +// OpenLP Mobile Remote +// --------------------------------------------------------------------------- +// Copyright (c) 2008-2019 OpenLP Developers +// --------------------------------------------------------------------------- +// Permission is hereby granted, free of charge, to any person obtaining a +// copy of this software and associated documentation files (the "Software"), +// to deal in the Software without restriction, including without limitation +// the rights to use, copy, modify, merge, publish, distribute, sublicense, +// and/or sell copies of the Software, and to permit persons to whom the +// Software is furnished to do so, subject to the following conditions: +// +// The above copyright notice and this permission notice shall be included in +// all copies or substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER +// DEALINGS IN THE SOFTWARE. + import 'package:flutter/material.dart'; import 'src/openlp_remote_app.dart'; import 'src/app_theme.dart'; -import 'src/widgets/settings.dart'; +import 'src/screens/settings.dart'; void main() => runApp( MaterialApp( diff --git a/lib/src/app_theme.dart b/lib/src/app_theme.dart index 8e3117b..23a3ea4 100644 --- a/lib/src/app_theme.dart +++ b/lib/src/app_theme.dart @@ -1,3 +1,25 @@ +// OpenLP Mobile Remote +// --------------------------------------------------------------------------- +// Copyright (c) 2008-2019 OpenLP Developers +// --------------------------------------------------------------------------- +// Permission is hereby granted, free of charge, to any person obtaining a +// copy of this software and associated documentation files (the "Software"), +// to deal in the Software without restriction, including without limitation +// the rights to use, copy, modify, merge, publish, distribute, sublicense, +// and/or sell copies of the Software, and to permit persons to whom the +// Software is furnished to do so, subject to the following conditions: +// +// The above copyright notice and this permission notice shall be included in +// all copies or substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER +// DEALINGS IN THE SOFTWARE. + import 'package:flutter/material.dart'; Color _blue = Color(0xFF3D6ABD); diff --git a/lib/src/models/plugin.dart b/lib/src/models/plugin.dart index c836621..06feb0c 100644 --- a/lib/src/models/plugin.dart +++ b/lib/src/models/plugin.dart @@ -1,3 +1,25 @@ +// OpenLP Mobile Remote +// --------------------------------------------------------------------------- +// Copyright (c) 2008-2019 OpenLP Developers +// --------------------------------------------------------------------------- +// Permission is hereby granted, free of charge, to any person obtaining a +// copy of this software and associated documentation files (the "Software"), +// to deal in the Software without restriction, including without limitation +// the rights to use, copy, modify, merge, publish, distribute, sublicense, +// and/or sell copies of the Software, and to permit persons to whom the +// Software is furnished to do so, subject to the following conditions: +// +// The above copyright notice and this permission notice shall be included in +// all copies or substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER +// DEALINGS IN THE SOFTWARE. + import 'package:flutter/material.dart'; class Plugin { diff --git a/lib/src/models/service_item.dart b/lib/src/models/service_item.dart index cbc05e5..a22dd09 100644 --- a/lib/src/models/service_item.dart +++ b/lib/src/models/service_item.dart @@ -1,3 +1,25 @@ +// OpenLP Mobile Remote +// --------------------------------------------------------------------------- +// Copyright (c) 2008-2019 OpenLP Developers +// --------------------------------------------------------------------------- +// Permission is hereby granted, free of charge, to any person obtaining a +// copy of this software and associated documentation files (the "Software"), +// to deal in the Software without restriction, including without limitation +// the rights to use, copy, modify, merge, publish, distribute, sublicense, +// and/or sell copies of the Software, and to permit persons to whom the +// Software is furnished to do so, subject to the following conditions: +// +// The above copyright notice and this permission notice shall be included in +// all copies or substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER +// DEALINGS IN THE SOFTWARE. + import 'plugin.dart'; class ServiceItem { diff --git a/lib/src/models/slide_item.dart b/lib/src/models/slide_item.dart index dec24a7..fba5a96 100644 --- a/lib/src/models/slide_item.dart +++ b/lib/src/models/slide_item.dart @@ -1,3 +1,25 @@ +// OpenLP Mobile Remote +// --------------------------------------------------------------------------- +// Copyright (c) 2008-2019 OpenLP Developers +// --------------------------------------------------------------------------- +// Permission is hereby granted, free of charge, to any person obtaining a +// copy of this software and associated documentation files (the "Software"), +// to deal in the Software without restriction, including without limitation +// the rights to use, copy, modify, merge, publish, distribute, sublicense, +// and/or sell copies of the Software, and to permit persons to whom the +// Software is furnished to do so, subject to the following conditions: +// +// The above copyright notice and this permission notice shall be included in +// all copies or substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER +// DEALINGS IN THE SOFTWARE. + class SlideItem { final String tag; final String html; diff --git a/lib/src/openlp_remote_app.dart b/lib/src/openlp_remote_app.dart index a098c1a..703e390 100644 --- a/lib/src/openlp_remote_app.dart +++ b/lib/src/openlp_remote_app.dart @@ -1,3 +1,25 @@ +// OpenLP Mobile Remote +// --------------------------------------------------------------------------- +// Copyright (c) 2008-2019 OpenLP Developers +// --------------------------------------------------------------------------- +// Permission is hereby granted, free of charge, to any person obtaining a +// copy of this software and associated documentation files (the "Software"), +// to deal in the Software without restriction, including without limitation +// the rights to use, copy, modify, merge, publish, distribute, sublicense, +// and/or sell copies of the Software, and to permit persons to whom the +// Software is furnished to do so, subject to the following conditions: +// +// The above copyright notice and this permission notice shall be included in +// all copies or substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER +// DEALINGS IN THE SOFTWARE. + import 'package:flutter/material.dart'; import 'widgets/bottom_navigation_bar.dart'; diff --git a/lib/src/resources/openlp_icons.dart b/lib/src/resources/openlp_icons.dart index a4945f3..d2336ad 100644 --- a/lib/src/resources/openlp_icons.dart +++ b/lib/src/resources/openlp_icons.dart @@ -1,3 +1,25 @@ +// OpenLP Mobile Remote +// --------------------------------------------------------------------------- +// Copyright (c) 2008-2019 OpenLP Developers +// --------------------------------------------------------------------------- +// Permission is hereby granted, free of charge, to any person obtaining a +// copy of this software and associated documentation files (the "Software"), +// to deal in the Software without restriction, including without limitation +// the rights to use, copy, modify, merge, publish, distribute, sublicense, +// and/or sell copies of the Software, and to permit persons to whom the +// Software is furnished to do so, subject to the following conditions: +// +// The above copyright notice and this permission notice shall be included in +// all copies or substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER +// DEALINGS IN THE SOFTWARE. + import 'package:flutter/material.dart'; class OpenLPIcons { diff --git a/lib/src/screens/search_service_item.dart b/lib/src/screens/search_service_item.dart index 5afce2b..ccaa0ae 100644 --- a/lib/src/screens/search_service_item.dart +++ b/lib/src/screens/search_service_item.dart @@ -1,3 +1,25 @@ +// OpenLP Mobile Remote +// --------------------------------------------------------------------------- +// Copyright (c) 2008-2019 OpenLP Developers +// --------------------------------------------------------------------------- +// Permission is hereby granted, free of charge, to any person obtaining a +// copy of this software and associated documentation files (the "Software"), +// to deal in the Software without restriction, including without limitation +// the rights to use, copy, modify, merge, publish, distribute, sublicense, +// and/or sell copies of the Software, and to permit persons to whom the +// Software is furnished to do so, subject to the following conditions: +// +// The above copyright notice and this permission notice shall be included in +// all copies or substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER +// DEALINGS IN THE SOFTWARE. + import 'package:flutter/material.dart'; class SearchServiceItem extends SearchDelegate { diff --git a/lib/src/screens/service_list_view.dart b/lib/src/screens/service_list_view.dart index f51762b..86d9cfa 100644 --- a/lib/src/screens/service_list_view.dart +++ b/lib/src/screens/service_list_view.dart @@ -1,3 +1,25 @@ +// OpenLP Mobile Remote +// --------------------------------------------------------------------------- +// Copyright (c) 2008-2019 OpenLP Developers +// --------------------------------------------------------------------------- +// Permission is hereby granted, free of charge, to any person obtaining a +// copy of this software and associated documentation files (the "Software"), +// to deal in the Software without restriction, including without limitation +// the rights to use, copy, modify, merge, publish, distribute, sublicense, +// and/or sell copies of the Software, and to permit persons to whom the +// Software is furnished to do so, subject to the following conditions: +// +// The above copyright notice and this permission notice shall be included in +// all copies or substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER +// DEALINGS IN THE SOFTWARE. + import 'package:flutter/material.dart'; import '../models/service_item.dart'; diff --git a/lib/src/widgets/settings.dart b/lib/src/screens/settings.dart similarity index 72% rename from lib/src/widgets/settings.dart rename to lib/src/screens/settings.dart index c1bc615..6ca4dca 100644 --- a/lib/src/widgets/settings.dart +++ b/lib/src/screens/settings.dart @@ -1,3 +1,25 @@ +// OpenLP Mobile Remote +// --------------------------------------------------------------------------- +// Copyright (c) 2008-2019 OpenLP Developers +// --------------------------------------------------------------------------- +// Permission is hereby granted, free of charge, to any person obtaining a +// copy of this software and associated documentation files (the "Software"), +// to deal in the Software without restriction, including without limitation +// the rights to use, copy, modify, merge, publish, distribute, sublicense, +// and/or sell copies of the Software, and to permit persons to whom the +// Software is furnished to do so, subject to the following conditions: +// +// The above copyright notice and this permission notice shall be included in +// all copies or substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER +// DEALINGS IN THE SOFTWARE. + import 'package:flutter/material.dart'; import 'package:url_launcher/url_launcher.dart'; diff --git a/lib/src/screens/slides_list_view.dart b/lib/src/screens/slides_list_view.dart index 495d473..f4413d1 100644 --- a/lib/src/screens/slides_list_view.dart +++ b/lib/src/screens/slides_list_view.dart @@ -1,3 +1,25 @@ +// OpenLP Mobile Remote +// --------------------------------------------------------------------------- +// Copyright (c) 2008-2019 OpenLP Developers +// --------------------------------------------------------------------------- +// Permission is hereby granted, free of charge, to any person obtaining a +// copy of this software and associated documentation files (the "Software"), +// to deal in the Software without restriction, including without limitation +// the rights to use, copy, modify, merge, publish, distribute, sublicense, +// and/or sell copies of the Software, and to permit persons to whom the +// Software is furnished to do so, subject to the following conditions: +// +// The above copyright notice and this permission notice shall be included in +// all copies or substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER +// DEALINGS IN THE SOFTWARE. + import 'package:flutter/material.dart'; import '../models/slide_item.dart'; diff --git a/lib/src/widgets/bottom_navigation_bar.dart b/lib/src/widgets/bottom_navigation_bar.dart index f62f7e1..0f29ea9 100644 --- a/lib/src/widgets/bottom_navigation_bar.dart +++ b/lib/src/widgets/bottom_navigation_bar.dart @@ -1,3 +1,25 @@ +// OpenLP Mobile Remote +// --------------------------------------------------------------------------- +// Copyright (c) 2008-2019 OpenLP Developers +// --------------------------------------------------------------------------- +// Permission is hereby granted, free of charge, to any person obtaining a +// copy of this software and associated documentation files (the "Software"), +// to deal in the Software without restriction, including without limitation +// the rights to use, copy, modify, merge, publish, distribute, sublicense, +// and/or sell copies of the Software, and to permit persons to whom the +// Software is furnished to do so, subject to the following conditions: +// +// The above copyright notice and this permission notice shall be included in +// all copies or substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER +// DEALINGS IN THE SOFTWARE. + import 'package:flutter/material.dart'; import 'display_options_dialog.dart'; diff --git a/lib/src/widgets/display_options_dialog.dart b/lib/src/widgets/display_options_dialog.dart index 9ee3bce..e1bdd33 100644 --- a/lib/src/widgets/display_options_dialog.dart +++ b/lib/src/widgets/display_options_dialog.dart @@ -1,3 +1,25 @@ +// OpenLP Mobile Remote +// --------------------------------------------------------------------------- +// Copyright (c) 2008-2019 OpenLP Developers +// --------------------------------------------------------------------------- +// Permission is hereby granted, free of charge, to any person obtaining a +// copy of this software and associated documentation files (the "Software"), +// to deal in the Software without restriction, including without limitation +// the rights to use, copy, modify, merge, publish, distribute, sublicense, +// and/or sell copies of the Software, and to permit persons to whom the +// Software is furnished to do so, subject to the following conditions: +// +// The above copyright notice and this permission notice shall be included in +// all copies or substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER +// DEALINGS IN THE SOFTWARE. + import 'package:flutter/material.dart'; class _Action { diff --git a/lib/src/widgets/search_floating_button.dart b/lib/src/widgets/search_floating_button.dart index 1fdd3da..58154aa 100644 --- a/lib/src/widgets/search_floating_button.dart +++ b/lib/src/widgets/search_floating_button.dart @@ -1,3 +1,25 @@ +// OpenLP Mobile Remote +// --------------------------------------------------------------------------- +// Copyright (c) 2008-2019 OpenLP Developers +// --------------------------------------------------------------------------- +// Permission is hereby granted, free of charge, to any person obtaining a +// copy of this software and associated documentation files (the "Software"), +// to deal in the Software without restriction, including without limitation +// the rights to use, copy, modify, merge, publish, distribute, sublicense, +// and/or sell copies of the Software, and to permit persons to whom the +// Software is furnished to do so, subject to the following conditions: +// +// The above copyright notice and this permission notice shall be included in +// all copies or substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER +// DEALINGS IN THE SOFTWARE. + import 'package:flutter/material.dart'; import '../widgets/service_item_bottom_sheet.dart'; diff --git a/lib/src/widgets/service_item_bottom_sheet.dart b/lib/src/widgets/service_item_bottom_sheet.dart index 57f10a4..467646d 100644 --- a/lib/src/widgets/service_item_bottom_sheet.dart +++ b/lib/src/widgets/service_item_bottom_sheet.dart @@ -1,3 +1,25 @@ +// OpenLP Mobile Remote +// --------------------------------------------------------------------------- +// Copyright (c) 2008-2019 OpenLP Developers +// --------------------------------------------------------------------------- +// Permission is hereby granted, free of charge, to any person obtaining a +// copy of this software and associated documentation files (the "Software"), +// to deal in the Software without restriction, including without limitation +// the rights to use, copy, modify, merge, publish, distribute, sublicense, +// and/or sell copies of the Software, and to permit persons to whom the +// Software is furnished to do so, subject to the following conditions: +// +// The above copyright notice and this permission notice shall be included in +// all copies or substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER +// DEALINGS IN THE SOFTWARE. + import 'package:flutter/material.dart'; import '../screens/search_service_item.dart'; diff --git a/lib/src/widgets/show_alert_dialog.dart b/lib/src/widgets/show_alert_dialog.dart index a4ef0ed..99723ba 100644 --- a/lib/src/widgets/show_alert_dialog.dart +++ b/lib/src/widgets/show_alert_dialog.dart @@ -1,3 +1,25 @@ +// OpenLP Mobile Remote +// --------------------------------------------------------------------------- +// Copyright (c) 2008-2019 OpenLP Developers +// --------------------------------------------------------------------------- +// Permission is hereby granted, free of charge, to any person obtaining a +// copy of this software and associated documentation files (the "Software"), +// to deal in the Software without restriction, including without limitation +// the rights to use, copy, modify, merge, publish, distribute, sublicense, +// and/or sell copies of the Software, and to permit persons to whom the +// Software is furnished to do so, subject to the following conditions: +// +// The above copyright notice and this permission notice shall be included in +// all copies or substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER +// DEALINGS IN THE SOFTWARE. + import 'package:flutter/material.dart'; class ShowAlertDialog extends StatelessWidget { diff --git a/pubspec.yaml b/pubspec.yaml index c143e00..0365b73 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,3 +1,25 @@ +# OpenLP Mobile Remote +# --------------------------------------------------------------------------- +# Copyright (c) 2008-2019 OpenLP Developers +# --------------------------------------------------------------------------- +# Permission is hereby granted, free of charge, to any person obtaining a +# copy of this software and associated documentation files (the "Software"), +# to deal in the Software without restriction, including without limitation +# the rights to use, copy, modify, merge, publish, distribute, sublicense, +# and/or sell copies of the Software, and to permit persons to whom the +# Software is furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in +# all copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER +# DEALINGS IN THE SOFTWARE. + name: openlp_remote description: A new Flutter project.