now with background images!
This commit is contained in:
BIN
assets/images/app-background.jpg
Normal file
BIN
assets/images/app-background.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 244 KiB |
BIN
assets/images/app-background2.jpg
Normal file
BIN
assets/images/app-background2.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 243 KiB |
BIN
assets/images/app-background3.jpg
Normal file
BIN
assets/images/app-background3.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 245 KiB |
@@ -6,35 +6,44 @@ class About extends StatelessWidget {
|
|||||||
|
|
||||||
@override
|
@override
|
||||||
Widget build(BuildContext context) {
|
Widget build(BuildContext context) {
|
||||||
return SafeZone(
|
return Container(
|
||||||
child: DefaultTextStyle(
|
decoration: const BoxDecoration(
|
||||||
style: Theme.of(context).textTheme.bodyLarge!,
|
image: DecorationImage(
|
||||||
child: const SingleChildScrollView(
|
image: AssetImage('assets/images/app-background2.jpg'),
|
||||||
child: Text(
|
fit: BoxFit.cover,
|
||||||
'Ything Radio is an app that is intended to provide a demonstration of the '
|
opacity: 0.2,
|
||||||
'open source ything_radio app. This app is used to provide the ability for the '
|
),
|
||||||
'"look and feel" of the app to be tested on real devices for those wishing to '
|
),
|
||||||
'either use the code as a template for themselves; or, alternatively, have Ything LLC '
|
child: SafeZone(
|
||||||
'create a custom app for them!'
|
child: DefaultTextStyle(
|
||||||
'\n\n'
|
style: Theme.of(context).textTheme.bodyLarge!,
|
||||||
'This app intentionally does not provide a method to change the streaming source '
|
child: const SingleChildScrollView(
|
||||||
'as it is intended for use by internet radio stations to provide a dedicated app '
|
child: Text(
|
||||||
'for their radio station. This is not intended to be an app for generic usage for '
|
'Ything Radio is an app that is intended to provide a demonstration of the '
|
||||||
'multiple radio stations, a discovery platform, or to facilitate user input for '
|
'open source ything_radio app. This app is used to provide the ability for the '
|
||||||
'internet radio sites.'
|
'"look and feel" of the app to be tested on real devices for those wishing to '
|
||||||
'\n\n'
|
'either use the code as a template for themselves; or, alternatively, have Ything LLC '
|
||||||
'This app has been designed to run across all platforms!'
|
'create a custom app for them!'
|
||||||
'\n\n'
|
'\n\n'
|
||||||
'Android, iOS, MacOS, Windows, Linux, and Web!'
|
'This app intentionally does not provide a method to change the streaming source '
|
||||||
'\n\n'
|
'as it is intended for use by internet radio stations to provide a dedicated app '
|
||||||
'Have a single unified experience across all platforms for your users!'
|
'for their radio station. This is not intended to be an app for generic usage for '
|
||||||
'\n\n'
|
'multiple radio stations, a discovery platform, or to facilitate user input for '
|
||||||
'Want to have us modify this app for you? Reach out at info@ything.net '
|
'internet radio sites.'
|
||||||
'We can add additional features for you! Schedule views, up next listings, '
|
'\n\n'
|
||||||
'and even custom user interactivity! '
|
'This app has been designed to run across all platforms!'
|
||||||
'\n\n'
|
'\n\n'
|
||||||
'We look forward to hearing from you soon! We would love to build your app!',
|
'Android, iOS, MacOS, Windows, Linux, and Web!'
|
||||||
textAlign: TextAlign.justify,
|
'\n\n'
|
||||||
|
'Have a single unified experience across all platforms for your users!'
|
||||||
|
'\n\n'
|
||||||
|
'Want to have us modify this app for you? Reach out at info@ything.net '
|
||||||
|
'We can add additional features for you! Schedule views, up next listings, '
|
||||||
|
'and even custom user interactivity! '
|
||||||
|
'\n\n'
|
||||||
|
'We look forward to hearing from you soon! We would love to build your app!',
|
||||||
|
textAlign: TextAlign.justify,
|
||||||
|
),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
|||||||
@@ -38,12 +38,21 @@ class Links extends StatelessWidget {
|
|||||||
|
|
||||||
@override
|
@override
|
||||||
Widget build(BuildContext context) {
|
Widget build(BuildContext context) {
|
||||||
return DefaultTextStyle(
|
return Container(
|
||||||
style: Theme.of(context).textTheme.headlineSmall!,
|
decoration: const BoxDecoration(
|
||||||
child: SafeZone(
|
image: DecorationImage(
|
||||||
child: Center(
|
image: AssetImage('assets/images/app-background3.jpg'),
|
||||||
child: Column(
|
fit: BoxFit.cover,
|
||||||
children: links.map((link) => link).toList(),
|
opacity: 0.4,
|
||||||
|
),
|
||||||
|
),
|
||||||
|
child: DefaultTextStyle(
|
||||||
|
style: Theme.of(context).textTheme.headlineSmall!,
|
||||||
|
child: SafeZone(
|
||||||
|
child: Center(
|
||||||
|
child: Column(
|
||||||
|
children: links.map((link) => link).toList(),
|
||||||
|
),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
|||||||
@@ -9,8 +9,17 @@ class Listen extends StatelessWidget {
|
|||||||
|
|
||||||
@override
|
@override
|
||||||
Widget build(BuildContext context) {
|
Widget build(BuildContext context) {
|
||||||
return const Center(
|
return Container(
|
||||||
child: PlayControls(),
|
decoration: const BoxDecoration(
|
||||||
|
image: DecorationImage(
|
||||||
|
image: AssetImage('assets/images/app-background.jpg'),
|
||||||
|
fit: BoxFit.cover,
|
||||||
|
opacity: 0.4,
|
||||||
|
),
|
||||||
|
),
|
||||||
|
child: const Center(
|
||||||
|
child: PlayControls(),
|
||||||
|
),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
11
pubspec.yaml
11
pubspec.yaml
@@ -16,7 +16,7 @@ publish_to: 'none' # Remove this line if you wish to publish to pub.dev
|
|||||||
# https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
|
# https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
|
||||||
# In Windows, build-name is used as the major, minor, and patch parts
|
# In Windows, build-name is used as the major, minor, and patch parts
|
||||||
# of the product and file versions while build-number is used as the build suffix.
|
# of the product and file versions while build-number is used as the build suffix.
|
||||||
version: 1.0.0+1
|
version: 1.0.1
|
||||||
|
|
||||||
environment:
|
environment:
|
||||||
sdk: ^3.5.1
|
sdk: ^3.5.1
|
||||||
@@ -66,9 +66,12 @@ flutter:
|
|||||||
uses-material-design: true
|
uses-material-design: true
|
||||||
|
|
||||||
# To add assets to your application, add an assets section, like this:
|
# To add assets to your application, add an assets section, like this:
|
||||||
# assets:
|
assets:
|
||||||
# - images/a_dot_burr.jpeg
|
# - images/a_dot_burr.jpeg
|
||||||
# - images/a_dot_ham.jpeg
|
# - images/a_dot_ham.jpeg
|
||||||
|
- assets/images/app-background.jpg
|
||||||
|
- assets/images/app-background2.jpg
|
||||||
|
- assets/images/app-background3.jpg
|
||||||
|
|
||||||
# An image asset can refer to one or more resolution-specific "variants", see
|
# An image asset can refer to one or more resolution-specific "variants", see
|
||||||
# https://flutter.dev/to/resolution-aware-images
|
# https://flutter.dev/to/resolution-aware-images
|
||||||
|
|||||||
Reference in New Issue
Block a user