Skip to content

Commit 2a46482

Browse files
committed
write all documentation for pub.dev
1 parent cdcba61 commit 2a46482

File tree

4 files changed

+10
-9
lines changed

4 files changed

+10
-9
lines changed

CHANGELOG.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
1-
## 0.0.5-alpha
1+
## 0.0.6-alpha
22

33
- Initial beta release of flutter_on_rails package
44
- Added basic widget parsing functionality
55
- Implemented support for various Flutter widgets and properties
66
- Added utility functions for parsing and exporting widget properties
77

8-
## 0.0.2
9-
10-
- TODO: Describe initial release.
8+
## 0.0.6

README.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@
44

55
A powerful integration between Flutter and Ruby on Rails that enables seamless communication between web and mobile applications.
66

7-
![Flutter on Rails](https://raw.githubusercontent.com/AdamMusa/flutter_on_rails_cli/main/assets/splash.png)
8-
97
## Features
108

119
- 🔄 **Bi-directional Communication**: Seamless communication between Flutter and Rails
@@ -20,7 +18,7 @@ Add the package to your `pubspec.yaml`:
2018

2119
```yaml
2220
dependencies:
23-
flutter_on_rails: ^0.0.3.alpha
21+
flutter_on_rails: ^0.0.6.alpha
2422
```
2523
2624
## Quick Start

lib/src/Widget/main/next_screen.dart

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
// ignore_for_file: must_be_immutable, use_build_context_synchronously
22

33
import 'dart:convert';
4+
import 'dart:io' show Platform;
45
import 'package:flutter/foundation.dart';
56
import 'package:flutter/material.dart';
67
import 'package:flutter_inappwebview/flutter_inappwebview.dart';
@@ -37,7 +38,11 @@ class NextPage extends StatelessWidget {
3738
),
3839
leading: IconButton(
3940
color: setLeadingColor(provider),
40-
icon: const Icon(Icons.arrow_back),
41+
icon: Icon(
42+
Platform.isIOS
43+
? Icons.arrow_back_ios
44+
: Icons.arrow_back,
45+
),
4146
onPressed: () async {
4247
provider.setNavigable(false);
4348
provider.state.controller!.loadUrl(

pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: flutter_on_rails
22
description: "Flutter on rails is the fastest way to bridge your web app with a Flutter-powered for cross plateform mobile and desktop app with ease and minimal changes, maximum freedom"
3-
version: 0.0.5-alpha
3+
version: 0.0.6-alpha
44
homepage: https://github.com/AdamMusa/flutter_on_rails
55

66
environment:

0 commit comments

Comments
 (0)