flutter_yfree 2.1.6 copy "flutter_yfree: ^2.1.6" to clipboard
flutter_yfree: ^2.1.6 copied to clipboard

YFree_Flutter

Getting Started #

Android #

compileSdkVersion 33
minSdkVersion 19

IOS #

Flutter #

import 'package:flutter/material.dart';
import 'package:flutter_yfree/YFree.dart';

void main() {
    yRunApp(FirstPage(), Colors.blue, onYConfig: () {
        YConfig.appName = "YFreeApp";
    });
}

class FirstPage extends YPage {
    @override
    void yOnCreate() {
        yToast("Hello YFree");
    }
    
    @override
    Widget yBuild(BuildContext context) {
        return Center(
            child: Text("This is the first page."),
        );
    }
}