fml 3.1.1+21 copy "fml: ^3.1.1+21" to clipboard
fml: ^3.1.1+21 copied to clipboard

Framework Markup Language (FML) is a cross platform markup language. This package retrieves, parses, interprets and renders fml pages to native Flutter without the need to compile.

example/lib/main.dart

import 'package:flutter/material.dart';
import 'package:fml/fml.dart';

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

class MyApp extends StatelessWidget {
  const MyApp({super.key});

  // This widget is the root of your application.
  @override
  Widget build(BuildContext context) {

    //String example = 'https://test.appdaddy.co';
    //String example = 'http://10.69.4.245:81/';
    //String example = 'http://in4.pro';
    String example = 'https://pad.fml.dev';

    var version = "3.1.1";

    // launch the FML engine
    return FmlEngine(
            ApplicationType.multi,
            domain: example,
            title: "Framework Markup Language V$version",
            version: version,
            color: Colors.lightBlue,
            brightness: Brightness.light,
            font: 'Roboto',
            transition: PageTransitions.platform)
        .launch();
  }
}