ez_flutter 0.2.6

EZ Flutter (Alpha) #

EZ Flutter is a collection of widgets, packages and many more usefull things, mixed up in a little framework. The aim is to make standard features easily available from scratch.

Table of Contents #

  1. Install
  2. Import
  3. Features
  4. Documentation
  5. Contribution
  6. Used Packages
  7. Changelog
  8. Copyright and license

Install #

pubspec.yaml #

Update pubspec.yaml and add the following line to your dependencies. Replace $version with the latest version of this package.

dependencies:
  ez_flutter: $version

Update your pubspec.yaml file and add the following assets locations :

flutter:
  assets:
   - assets/
   - locale/

Import #

Import the package with :

import 'package:ez_flutter/ez_flutter.dart';

Features #

Global Messaging #

Display a message to the user from anywhere inside the app with just one line of code.

Automatic Configuration Loading #

Loading a configuration from multiple json files and make it available everywhere inside the app.

Multilanguage Support #

Build in translation feature that can be used everywhere inside the app.

Buildin Customizable Transition Screen #

EZ Flutter provides a customizable loading screen to switch between to screens after some work is done.

Buildin Bloc Support #

EZ Flutter comes with a Blocprovider to easily handle multiple blocs within the app.

Documentation #

The documentation is located at ez-flutter.de/docs.

Contribution #

You have an idea for some usefull widgets every app needs ? You are facing a bug ? Check out the CONTRIBUTING.md file.

Used Packages #

Changelog #

For a detailed changelog, see the CHANGELOG.md file

MIT License

Copyright (c) 2019 Ephenodrom

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.

Changelog #

[0.2.6] - 2019-08-20

  • Text at EzSpinner, EzDots, EzPulse widgets updateable
  • Added new ui widgets
  • Added loading external configuration

[0.2.5] - 2019-08-14

  • Export HttpUtils
  • Update Documentation

[0.2.4] - 2019-08-09

  • Fix bug with EzGlobalMessageWrapper

[0.2.3] - 2019-08-09

  • Fix bug with EzGlobalMessageWrapper
  • Update documentation, added widget list

[0.2.2] - 2019-08-08

  • Export EzScaffold and EzGradientScaffold

[0.2.1] - 2019-08-08

  • Fix some bugs
  • Added EzScaffold and EzGradientScaffold
  • Update Documentation

[0.2.0] - 2019-07-30

  • Update Documentation

[0.1.3] - 2019-07-29

  • Add example folder

[0.1.2] - 2019-07-29

  • Update dependencies

[0.1.1] - 2019-07-29

  • Update dependencies

[0.1.0] - 2019-07-29

  • Initial release

example/main.dart

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

void main() async =>
    await EzRunner.run(MyHomePage(title: 'Flutter Demo Home Page'));

class MyHomePage extends StatefulWidget {
  MyHomePage({Key key, this.title}) : super(key: key);

  final String title;

  @override
  _MyHomePageState createState() => _MyHomePageState();
}

class _MyHomePageState extends State<MyHomePage> {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
        appBar: AppBar(
          title: Text(widget.title),
        ),
        body: EzGlobalMessageWrapper(
          Center(
            child: Text("Hello EZ Flutter"),
          ),
        ));
  }
}

Use this package as a library

1. Depend on it

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


dependencies:
  ez_flutter: ^0.2.6

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:ez_flutter/ez_flutter.dart';
  
Popularity:
Describes how popular the package is relative to other packages. [more]
53
Health:
Code health derived from static analysis. [more]
100
Maintenance:
Reflects how tidy and up-to-date the package is. [more]
90
Overall:
Weighted score of the above. [more]
74
Learn more about scoring.

We analyzed this package on Aug 20, 2019, and provided a score, details, and suggestions below. Analysis was completed with status completed using:

  • Dart: 2.4.0
  • pana: 0.12.19
  • Flutter: 1.7.8+hotfix.4

Platforms

Detected platforms: Flutter

References Flutter, and has no conflicting libraries.

Health suggestions

Format lib/src/widgets/ui/EzSandwichDivider.dart.

Run flutter format to format lib/src/widgets/ui/EzSandwichDivider.dart.

Maintenance issues and suggestions

Support latest dependencies. (-10 points)

The version constraint in pubspec.yaml does not support the latest published versions for 1 dependency (json_annotation).

Dependencies

Package Constraint Resolved Available
Direct dependencies
Dart SDK >=2.1.0 <3.0.0
basic_utils ^1.5.0 1.6.0
flutter 0.0.0
flutter_localizations 0.0.0
global_configuration ^1.3.0 1.3.0
json_annotation ^2.3.0 2.4.0 3.0.0
logging ^0.11.3+2 0.11.3+2
rxdart ^0.22.1 0.22.1+1
shared_preferences ^0.5.3+4 0.5.3+4
Transitive dependencies
async 2.3.0
charcode 1.1.2
collection 1.14.11 1.14.12
http 0.12.0+2
http_parser 3.1.3
intl 0.15.8
meta 1.1.6 1.1.7
path 1.6.2 1.6.4
pedantic 1.8.0+1
sky_engine 0.0.99
source_span 1.5.5
string_scanner 1.0.5
term_glyph 1.1.0
typed_data 1.1.6
vector_math 2.0.8
Dev dependencies
build_runner ^1.0.0
flutter_test
json_serializable ^3.1.0