A visualized dynamic programming for log collection based on flutter

A visualized dynamic programming for log collection based on flutter

A visualized dynamic programming for log collection based on flutter.

A visualized dynamic programming for log collection based on flutter.

Pub use

1. Depend on it

Add this to your package's pubspec.yaml

 magpie_log: ^1.0.1

2. Install it

You can install packages from the command line:

$ 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:magpie_log/magpie_log.dart';

How to use Dart

Call the MagpieLog.instance.initinitialization method on the homepage of your own project

Widget build(BuildContext context) {
        callback: _receiverMagpieData, 
        time: 1 * 60 * 1000,     
        count: 3);
    return Container();

It should be noted here that the context must be the context that contains the Navigator

How to use redux circle selection

Redux circle your project needs to use flutter-redux for state management needs to inject a middlewareCircleMiddleWare

final store = Store<AppState>(reducer,
      middleware: [CircleMiddleWare()], initialState: AppState.initState());

The AppState, which is the data set stored by the store, must be inherited LogState because we need the toJson method to get better parameters.

class AppState extends LogState {
  Map<String, dynamic> toJson() => _$AppStateToJson(this);

Then you can use our redux circle selection

Use page circle selection

Need to register the navigator to monitor LogObserver, of course we need the settings page settings you display so that we can get the unique identifier of the page

    routes: {
      '/': (BuildContext context) => TopScreen(),
      '/UnderScreen': (BuildContext context) => UnderScreen(),
    navigatorObservers: [
    title: 'Flutter Demo',
    theme: ThemeData(primarySwatch: Colors.deepOrange),

setState() circle to use

The WidgetLogStatecorresponding method can be realized by inheritance

class AddTextState extends WidgetLogState<AddTextWidget> {
  Map<String, dynamic> toJson() {
    Map map = Map<String, dynamic>();
    map["count"] = count.toString();
    return map;

  String getActionName() {
    return "AddText";

  int getIndex() {
    return 0;

To be perfected

1. Cooperate with the server to upload and load dynamic configuration

2. The cascade assignment problem causes the log parameters to be the same as the data, which can increase user configuration

3. The store parameter is empty. The cascade circle parameter is null.


1. Thanks to the fluttertoast plugin by PonnamKarthik

2. Thanks to Rubber's rubber plug-in

Mapie contains a series of open source projects, visit the corresponding repository to learn more.

Magpie Workflow

Flutter visualizes the workflow. https://github.com/wuba/magpie

Magpie Native&Dart SDK

Matched with Workflow, used to access App, Flutter SDK. https://github.com/wuba/magpie_sdk

Magpie Fly

WYSIWYG Flutter UI component library. https://github.com/wuba/magpie_fly

Download Details:

Author: wuba

Source Code: https://github.com/wuba/magpie_log

flutter dart mobile-apps

Bootstrap 5 Complete Course with Examples

Bootstrap 5 Tutorial - Bootstrap 5 Crash Course for Beginners

Nest.JS Tutorial for Beginners

Hello Vue 3: A First Look at Vue 3 and the Composition API

Building a simple Applications with Vue 3

Deno Crash Course: Explore Deno and Create a full REST API with Deno

How to Build a Real-time Chat App with Deno and WebSockets

Convert HTML to Markdown Online

HTML entity encoder decoder Online

Google's Flutter 1.20 stable announced with new features - Navoki

Google has announced new flutter 1.20 stable with many improvements, and features, enabling flutter for Desktop and Web

Top 25 Flutter Mobile App Templates in 2020

Flutter has been booming worldwide from the past few years. While there are many popular mobile app development technologies out there, Flutter has managed to leave its mark in the mobile application development world. In this article, we’ve curated the best Flutter app templates available on the market as of July 2020.

Flutter App Development Trends 2020

As the new decade dawns upon us, a slew of technologies has been making a lot of noise to grab the developers’ attention. While native app development is going strong, the trade winds are now blowing towards going cross-platform.

How To Succeed In Mobile App Wireframe Design?

This article covers everything about mobile app wireframe design: what to do and what not, tools used in designing a mobile or web app wireframe, and more.

Top 10 Mobile App Development Companies in India

The mobile application scenario has been continually changing over the years. In recent years India has become a center for mobile app development companies. The increase of smartphones has instantly increased the requirements for these apps. Every year new technological trends occur due to contin