Skip to content

Commit

Permalink
Updated readme
Browse files Browse the repository at this point in the history
  • Loading branch information
vbalagovic committed Nov 12, 2024
1 parent d4be4f1 commit fbd391a
Show file tree
Hide file tree
Showing 5 changed files with 32 additions and 11 deletions.
7 changes: 6 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,9 @@ Added new widgets

## 1.0.4

Updated documentation
Updated documentation

## 1.0.5

Updated links

6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
# Flutter Builder UI Kit

A flexible and customizable UI builder package for Flutter applications part of [Flutter Pre-setup](https://github.com/vbalagovic/flutter-presetup/tree/main) and [Flutter Builder](https://flutter-builder.app/) low code generation and easy project setup app.
A flexible and customizable UI builder package for Flutter applications; part of [Flutter Pre-setup](https://github.com/vbalagovic/flutter-presetup/tree/main) and [Flutter Builder](https://flutter-builder.app/) low code generation and easy project setup app.

Full examples and documentation on [UI kit website](https://widgets.flutter-builder.app/)

Join the [Discord Server](https://discord.gg/y2T4m4t72W) for more information about UI Kit and Flutter builder itself.

## Features

- Easy-to-use builder patterns for common UI components
Expand All @@ -18,7 +20,7 @@ Add this to your package's `pubspec.yaml` file:

```yaml
dependencies:
flutter_builder_ui_kit: ^1.0.4
flutter_builder_ui_kit: ^1.0.5
```
## Usage
Expand Down
26 changes: 20 additions & 6 deletions example/lib/screens/intro_screen.dart
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,14 @@ class IntroScreen extends StatelessWidget {

// CTA button with links
_buildLinksSection(),

const Text(
'For more informations contact on email: [email protected]'
'Or join our discord server: https://discord.gg/y2T4m4t72W',
textAlign: TextAlign.center,
style: TextStyle(fontSize: 16),
),
const SizedBox(height: 24),
],
),
),
Expand Down Expand Up @@ -102,19 +110,25 @@ class IntroScreen extends StatelessWidget {
label: const Text('Explore Flutter Builder'),
onPressed: () async {
const url = 'https://flutter-builder.app/';
if (await canLaunchUrl(Uri.parse(url))) {
await canLaunchUrl(Uri.parse(url));
if (!await launchUrl(
Uri.parse(url),
mode: LaunchMode.externalApplication,
)) {
throw Exception('Could not launch $url');
}
},
),
const SizedBox(height: 8),
ElevatedButton.icon(
icon: const Icon(Icons.book),
label: const Text('View Documentation'),
label: const Text('Discord Server'),
onPressed: () async {
const url = 'https://flutter-builder-ui-kit.web.app/';
if (await canLaunchUrl(Uri.parse(url))) {
await canLaunchUrl(Uri.parse(url));
const url = 'https://discord.gg/y2T4m4t72W';
if (!await launchUrl(
Uri.parse(url),
mode: LaunchMode.externalApplication,
)) {
throw Exception('Could not launch $url');
}
},
),
Expand Down
2 changes: 1 addition & 1 deletion example/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
# 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.
version: 1.0.4+3
version: 1.0.5+5

environment:
sdk: ^3.5.3
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: flutter_builder_ui_kit
description: "A flexible and customizable UI widgets package for Flutter applications"
version: 1.0.4
version: 1.0.5
homepage: https://github.com/vbalagovic/flutter-builder-ui-kit

environment:
Expand Down

0 comments on commit fbd391a

Please sign in to comment.