lowder 0.1.10 copy "lowder: ^0.1.10" to clipboard
lowder: ^0.1.10 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();
  }
}
9
likes
130
pub points
47%
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