@flutter-preview/core
TypeScript icon, indicating that this package has built-in type declarations

0.0.2 • Public • Published

Flutter preview

How It works

  • input: flutter project path, target widget info
  • sync: sync flutter project to preview project on local temp dir
    • modes: symlink, watch & copy
  • daemon: start flutter daemon on preview project

Root app & theme

default main

import 'package:flutter/material.dart';

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

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Preview',
      theme: ThemeData(),
      home: const PreviewWidget(),
    );
  }
}

custom main

Readme

Keywords

none

Package Sidebar

Install

npm i @flutter-preview/core

Weekly Downloads

1

Version

0.0.2

License

MIT

Unpacked Size

3.26 MB

Total Files

13

Last publish

Collaborators

  • softmarshmallow