orion_talk_widget 0.0.3

  • Readme
  • Changelog
  • Example
  • Installing
  • 46

Orion Talk Widget #

Please find the package in pub dev web site

[0.0.1] - 03/27/2020. #

  • Initial Import

example/README.md

Examples #

The Orion Talk Widget implements a container with Cupertino Flutter UI components. The below example is Flutter App where the Orion Talk Widget class is used. Note in this examples that OrionTalkWidget object is used as a child of CupertinoPageScaffold. Thus, the Orion Talk Widget can be used to compose a UI of an APP.

import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';

import 'package:orion_talk_widget/OrionTalkWidget.dart';

void main() => runApp(MyApp());

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return CupertinoApp(
      home: BaseLayout(),
      theme: CupertinoThemeData(primaryColor: Colors.green),
    );
  }
}

class BaseLayout extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return CupertinoPageScaffold(
        navigationBar: CupertinoNavigationBar(
          middle: Text("Orion Talk"),
        ),
        child: OrionTalkWidget());
  }
}

Use this package as a library

1. Depend on it

Add this to your package's pubspec.yaml file:


dependencies:
  orion_talk_widget: ^0.0.3

2. Install it

You can install packages from the command line:

with Flutter:


$ flutter pub get

Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.

3. Import it

Now in your Dart code, you can use:


import 'package:orion_talk_widget/OrionTalkActions.dart';
import 'package:orion_talk_widget/OrionTalkWidget.dart';
import 'package:orion_talk_widget/model/TextMessage.dart';
  
Popularity:
Describes how popular the package is relative to other packages. [more]
0
Health:
Code health derived from static analysis. [more]
100
Maintenance:
Reflects how tidy and up-to-date the package is. [more]
80
Overall:
Weighted score of the above. [more]
46
Learn more about scoring.

We analyzed this package on Jul 3, 2020, and provided a score, details, and suggestions below. Analysis was completed with status completed using:

  • Dart: 2.8.4
  • pana: 0.13.13
  • Flutter: 1.17.5

Analysis suggestions

Package not compatible with SDK dart

because of import path [orion_talk_widget] that is in a package requiring null.

Health suggestions

Fix lib/OrionTalkWidget.dart. (-0.50 points)

Analysis of lib/OrionTalkWidget.dart reported 1 hint:

line 43 col 7: This class (or a class that this class inherits from) is marked as '@immutable', but one or more of its instance fields aren't final: TextMessageWidget._text

Maintenance issues and suggestions

Make sure dartdoc successfully runs on your package's source files. (-10 points)

exitCode: 255 stdout: Documenting orion_talk_widget... Initialized dartdoc with 587 libraries in 101.3 seconds Generating docs for library orion_talk_widget from package:orion_talk_widget/model/TextMessage.dart... Generating docs for library orion_talk_widget from package:orion_talk_widget/OrionTalkActions.dart... Generating docs for library orion_talk_widget from package:orion_talk_widget/OrionTalkWidget.dart... Validating docs... Documented 3 public libraries in 14.6 seconds stderr: warning: orion_talk_widget has no library level documentation comments, from orion_talk_widget: (file:///tmp/pub-dartlang-dartdocHWRHGN/pkg/lib/model/TextMessage.dart:1:9) warning: orion_talk_widget has no library level documentation comments, from orion_talk_widget: (file:///tmp/pub-dartlang-dartdocHWRHGN/pkg/lib/OrionTalkActions.dart:1:9) error: failed to write file at: orion_talk_widget/orion_talk_widget-library.html for symbol orion_talk_widget: (file:///tmp/pub-dartlang-dartdocHWRHGN/pkg/lib/OrionTalkActions.dart:1:9) conflicting with file already generated by orion_talk_widget: (file:///tmp/pub-dartlang-dartdocHWRHGN/pkg/lib/model/TextMessage.dart:1:9) Dartdoc generates a path and filename to write to for each symbol. orion_talk_widget conflicts with another symbol in the generated path, and therefore can not be written out. Changing the name, library name, or class name (if appropriate) of one of the conflicting items can resolve the conflict. Alternatively, use the @nodoc tag in one symbol's documentation comments to hide it. warning: orion_talk_widget has no library level documentation comments, from orion_talk_widget: (file:///tmp/pub-dartlang-dartdocHWRHGN/pkg/lib/OrionTalkWidget.dart:1:9) error: failed to write file at: orion_talk_widget/orion_talk_widget-library.html for symbol orion_talk_widget: (file:///tmp/pub-dartlang-dartdocHWRHGN/pkg/lib/OrionTalkWidget.dart:1:9) conflicting with file already generated by orion_talk_widget: (file:///tmp/pub-dartlang-dartdocHWRHGN/pkg/lib/OrionTalkActions.dart:1:9) warning: dartdoc generated a broken link to: orion_talk_widget/OrionTalkActions-class.html (from index.json) warning: dartdoc generated a broken link to: orion_talk_widget/OrionTalkActions/OrionTalkActions.html (from index.json) warning: dartdoc generated a broken link to: orion_talk_widget/OrionTalkActions/URL.html (from index.json) warning: dartdoc generated a broken link to: orion_talk_widget/OrionTalkActions/onPressed.html (from index.json) warning: dartdoc generated a broken link to: orion_talk_widget/TextMessage-class.html (from index.json) warning: dartdoc generated a broken link to: orion_talk_widget/TextMessage/TextMessage.html (from index.json) warning: dartdoc generated a broken link to: orion_talk_widget/TextMessage/id.html (from index.json) warning: dartdoc generated a broken link to: orion_talk_widget/TextMessage/text.html (from index.json) found 11 warnings and 2 errors Unhandled exception: dartdoc encountered 2 errors while processing. #0 Dartdoc.generateDocs (package:dartdoc/dartdoc.dart:225:9)

Package is pre-v0.1 release. (-10 points)

While nothing is inherently wrong with versions of 0.0.*, it might mean that the author is still experimenting with the general direction of the API.

Dependencies

Package Constraint Resolved Available
Direct dependencies
Dart SDK >=2.1.0 <3.0.0
flutter 0.0.0
http ^0.12.0+4 0.12.1
Transitive dependencies
charcode 1.1.3
collection 1.14.12 1.14.13
http_parser 3.1.4
meta 1.1.8
path 1.7.0
pedantic 1.9.0 1.9.1
sky_engine 0.0.99
source_span 1.7.0
string_scanner 1.0.5
term_glyph 1.1.0
typed_data 1.1.6 1.2.0
vector_math 2.0.8
Dev dependencies
flutter_test