flutter_ahlib 1.0.10

  • Readme
  • Changelog
  • Example
  • Installing
  • new50

flutter_ahlib #

flutter_ahlib: ^1.0.10

Usage #

import 'package:flutter_ahlib/flutter_ahlib.dart';

Functions #

  • List helper widgets:
    • AppendIndicator
    • PlaceholderText
    • AppendableListView
    • AppendableStaggeredGridView
    • AppendableSeriesListView
    • AppendableSeriesStaggeredGridView
    • RefreshableListView
    • RefreshableStaggeredGridView
    • ScrollMoreController
  • Fab helper widgets:
    • ScrollFloatingActionButton
    • ScrollFabController
  • Item widgets and functions:
    • RippleSizedView
    • SliverContainer
  • Menu widgets and functions:
    • IconText
    • showPopupMenu()
    • DrawerListView
  • Common:
    • ActionController

[1.0.1] - Initial flutter_ahlib #

  • Initial flutter_ahlib
  • Add AppendIndicator, ListPlaceholderText, AppendableListView, RefreshableListView, ScrollFloatingActionButton widgets
  • Add ScrollMoreController, ScrollFabController controllers

[1.0.2] - Add widgets from mmnj #

  • Add RefreshableStaggeredGridView, IconText, RippleSizedView, SliverContainer widgets
  • Add ActionController controller
  • Add showPopupMenu() function

[1.0.3] - Fix ScrollMoreController #

  • Fix ScrollMoreController.scrollWithAnimate

[1.0.5] - Update ListPlaceholderText #

  • Add ListPlaceholderSetting to list widgets

[1.0.8] - Add DrawerListView #

  • Add DrawerListView<T> and some types
  • Rename PopupMenuItem to PopupActionItem
  • Update RippleSizedView actions

[1.0.9] - Update structure #

  • Move all source file to lib/src/ and export it on lib/flutter_ahlib.dart
  • Extract lib/src/list/ package types to lib/src/list/type.dart
  • Rename PlaceHolder to Placeholder
  • Split lib/src/list to lib/src/fab
  • Add some document comments

[1.0.10] - Add two AppendableList #

  • Add AppendableSeriesStaggeredGridView and AppendableStaggeredGridView

example/lib/main.dart

import 'package:flutter/material.dart';

void main() {
  runApp(MyApp());
}

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Demo',
      theme: ThemeData(
        primarySwatch: Colors.blue,
        visualDensity: VisualDensity.adaptivePlatformDensity,
      ),
      home: MyHomePage(),
    );
  }
}

class MyHomePage extends StatefulWidget {
  MyHomePage({Key key}) : super(key: key);

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

class _MyHomePageState extends State<MyHomePage> {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: Text('MyHomePage'),
      ),
      body: Center(
        child: Text('MyHomePage'),
      ),
    );
  }
}

Use this package as a library

1. Depend on it

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


dependencies:
  flutter_ahlib: ^1.0.10

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:flutter_ahlib/flutter_ahlib.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]
100
Overall:
Weighted score of the above. [more]
50
Learn more about scoring.

We analyzed this package on Jul 8, 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 [flutter_ahlib] that is in a package requiring null.

Health suggestions

Format lib/src/fab/scroll_fab.dart.

Run flutter format to format lib/src/fab/scroll_fab.dart.

Format lib/src/list/append_indicator.dart.

Run flutter format to format lib/src/list/append_indicator.dart.

Format lib/src/list/appendable_listview.dart.

Run flutter format to format lib/src/list/appendable_listview.dart.

Fix additional 10 files with analysis or formatting issues.

Additional issues in the following files:

  • lib/src/list/appendable_series_listview.dart (Run flutter format to format lib/src/list/appendable_series_listview.dart.)
  • lib/src/list/appendable_series_staggered_gridview.dart (Run flutter format to format lib/src/list/appendable_series_staggered_gridview.dart.)
  • lib/src/list/appendable_staggered_gridview.dart (Run flutter format to format lib/src/list/appendable_staggered_gridview.dart.)
  • lib/src/list/placeholder_text.dart (Run flutter format to format lib/src/list/placeholder_text.dart.)
  • lib/src/list/refreshable_listview.dart (Run flutter format to format lib/src/list/refreshable_listview.dart.)
  • lib/src/list/refreshable_staggered_gridview.dart (Run flutter format to format lib/src/list/refreshable_staggered_gridview.dart.)
  • lib/src/list/scroll_more_controller.dart (Run flutter format to format lib/src/list/scroll_more_controller.dart.)
  • lib/src/list/type.dart (Run flutter format to format lib/src/list/type.dart.)
  • lib/src/menu/drawer.dart (Run flutter format to format lib/src/menu/drawer.dart.)
  • lib/src/menu/icon_text.dart (Run flutter format to format lib/src/menu/icon_text.dart.)

Dependencies

Package Constraint Resolved Available
Direct dependencies
Dart SDK >=2.7.0 <3.0.0
flutter 0.0.0
flutter_staggered_grid_view ^0.3.0 0.3.0
Transitive dependencies
collection 1.14.12 1.14.13
meta 1.1.8 1.2.1
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