apex_flutter_sdk 1.0.2

  • Readme
  • Changelog
  • Installing
  • 65

Apex Flutter Sdk #

ApexTeam flutter software development kit

Getting Started #

Basic widgets (at components.basic) #

Flutter non-common simple widgets

AnimatedSwipeArrowWidget #

Data TypeParameterDetailsDefault value
intnumberOfArrows-5
TextDirectiondirectionHighlight direction.
doubletopPosition from top.0
doubleleftPosition from left.0
doublesizesize of each icon in the widget.18
IconDataiconRepeating iconnull
ColorhighlightColorBlink color.Colors.white
ColorcolorDefault color.Colors.grey
AnimatedSwipeArrowWidget(top: 300, left: 300, size: 50, numberOfArrows: 5, icon: Icons.call)

CircularCheckBox #

CircularCheckBox(
          value: someBooleanValue,
          materialTapTargetSize: MaterialTapTargetSize.padded,
          onChanged: (bool x) {
                someBooleanValue = x;
          }
        ),

HoverTooltip #

HoverTooltip(child: Text("Child to show tooltip over it!"), message: "Hi! It's simple moving tooltip :(");

Dialogs (at components.dialogs) #

PersianDatePicker #

It is the flutter datePicker with an extra boolean option called isPersian to show shamsi (Jalali) date. This can be used as same as flutter material datePicker. names, variables and everything are the same.

you can follow the link below to understand how it works. Flutter Material showDatePicker function

List widgets (at components.lists) #

List type widgets like chips and DataTables.

ChipListWidget #

Data TypeParameterDefault value
Listchildren[]
boolmultiSelectfalse
ColorselectedColorTheme buttonColor
ColordisabledColorTheme disabledColor
Function(ChipModel chip, bool selected)onSelectnull
PrimitiveWrapper<Listcontrollernull
  • Alert: Remember you can use PrimitiveWrapper as a controller to access selected chips in the list.
    make sure you dispose the controller on dispose() method in your stateful widgets. (It is like TextEditingController)

Charts (at components.charts) #

Apex flutter charts with pure dart!

CandlesticksChart #

Data typeParameterDefault value
SizechartSizeconst Size(600, 300)
intminimumScale1
intmaximumScale2
Listdata[]
ColorbackgroundColorconst Color.fromARGB(255, 18, 32, 47)
CandlesticksChart(
            data: [
              CandleModel(high: 85, low: 30, close: 50, open: 40, volumeTo: 1),
              CandleModel(high: 90, low: 45, close: 70, open: 50, volumeTo: 2),
              CandleModel(high: 95, low: 65, close: 90, open: 65, volumeTo: 3),
              CandleModel(high: 110, low: 35, close: 50, open: 90, volumeTo: 4),
              CandleModel(high: 110, low: 35, close: 50, open: 90, volumeTo: 5),
              CandleModel(high: 110, low: 35, close: 50, open: 90, volumeTo: 6),
              CandleModel(high: 100, low: 75, close: 75, open: 80, volumeTo: 7),
              CandleModel(high: 110, low: 85, close: 85, open: 90, volumeTo: 8),
              CandleModel(high: 110, low: 85, close: 85, open: 90, volumeTo: 9),
              CandleModel(high: 110, low: 85, close: 85, open: 90, volumeTo: 0),
              CandleModel(
                  high: 120, low: 75, close: 80, open: 100, volumeTo: 11),
              CandleModel(
                  high: 130, low: 40, close: 50, open: 110, volumeTo: 12),
              CandleModel(
                  high: 110, low: 85, close: 90, open: 90, volumeTo: 13),
              CandleModel(high: 110, low: 85, close: 85, open: 90, volumeTo: 14)
            ],
            minimumScale: 5,
            maximumScale: 10,
          ),
        );

1.0.2 #

  • HoverTooltip

1.0.1 #

  • CircularCheckbox

1.0.0 #

  • ChipListWidget
  • AnimatedSwipeArrowWidget
  • DatePicker (persian by default)

Use this package as a library

1. Depend on it

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


dependencies:
  apex_flutter_sdk: ^1.0.2

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

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

  • Dart: 2.8.4
  • pana: 0.13.15
  • Flutter: 1.17.5

Analysis suggestions

Package not compatible with SDK dart

Because:

  • apex_flutter_sdk that is a package requiring null.

Health suggestions

Fix lib/components/basic/hover_tooltip.dart. (-1 points)

Analysis of lib/components/basic/hover_tooltip.dart reported 2 hints:

line 52 col 9: The value of the local variable 'size' isn't used.

line 53 col 9: The value of the local variable 'offset' isn't used.

Maintenance issues and suggestions

Homepage URL doesn't exist. (-20 points)

At the time of the analysis the homepage field https://packs.apexteam.net was unreachable.

Maintain an example. (-10 points)

Create a short demo in the example/ directory to show how to use this package.

Common filename patterns include main.dart, example.dart, and apex_flutter_sdk.dart. Packages with multiple examples should provide example/README.md.

For more information see the pub package layout conventions.

Dependencies

Package Constraint Resolved Available
Direct dependencies
Dart SDK >=2.7.0 <3.0.0
flutter 0.0.0
shamsi_date ^0.8.1 0.8.1
Transitive dependencies
collection 1.14.12 1.14.13
meta 1.1.8 1.2.2
sky_engine 0.0.99
typed_data 1.1.6 1.2.0
vector_math 2.0.8 2.1.0-nullsafety
Dev dependencies
flutter_test