lowder 0.1.11 copy "lowder: ^0.1.11" to clipboard
lowder: ^0.1.11 copied to clipboard

A lightweight low-code development tool for Flutter to build your app with ease.

example/lib/main.dart

import 'package:flutter/material.dart';
import 'package:lowder/factory/action_factory.dart';
import 'package:lowder/factory/property_factory.dart';
import 'package:lowder/factory/widget_factory.dart';
import 'package:lowder/widget/lowder.dart';
import 'factory/actions.dart';
import 'factory/properties.dart';
import 'factory/widgets.dart';

void main() async {
  WidgetsFlutterBinding.ensureInitialized();
  runApp(DemoApp());
}

class DemoApp extends Lowder {
  DemoApp({super.environment, super.editorMode, super.editorServer, super.key})
      : super("Demo Solution");

  @override
  AppState createState() => _DemoAppState();
  @override
  WidgetFactory createWidgetFactory() => SolutionWidgets();
  @override
  ActionFactory createActionFactory() => SolutionActions();
  @override
  PropertyFactory createPropertyFactory() => SolutionProperties();

  @override
  List<SolutionSpec> get solutions => [
        SolutionSpec(
          "Demo Solution",
          filePath: "assets/solution.low",
          widgets: SolutionWidgets(),
          actions: SolutionActions(),
          properties: SolutionProperties(),
        ),
      ];

  @override
  getTheme() => ThemeData.dark(useMaterial3: true);
}

class _DemoAppState extends AppState with WidgetsBindingObserver {
  @override
  void initState() {
    WidgetsBinding.instance.addObserver(this);
    super.initState();
  }

  @override
  void dispose() {
    WidgetsBinding.instance.removeObserver(this);
    super.dispose();
  }
}
11
likes
150
pub points
0%
popularity

Publisher

unverified uploader

A lightweight low-code development tool for Flutter to build your app with ease.

Repository (GitHub)
View/report issues

Topics

#low-code #tool

Documentation

Documentation
API reference

License

BSD-3-Clause (license)

Dependencies

flutter, flutter_bloc, http, intl, logging, mask_text_input_formatter, shelf, shelf_router, shelf_static, uuid

More

Packages that depend on lowder