flutter_ui_builder 0.0.1 copy "flutter_ui_builder: ^0.0.1" to clipboard
flutter_ui_builder: ^0.0.1 copied to clipboard

A library for widgets which can be configured from UI.

example/main.dart

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

void main() {
  runApp(new DemoApp());
}

class DemoApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Selectable Test Demo',
      theme: ThemeData(
        primarySwatch: Colors.grey,
      ),
      home: MyTextWidgetTest(),
    );
  }
}

class MyTextWidgetTest extends StatelessWidget {
  final UiBuilderTextConf _textWidgetProps = new UiBuilderTextConf('Build Text', textAlign: TextAlign.left);
  // This widget is the root of your application.
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Demo',
      theme: ThemeData(
        primarySwatch: Colors.blue,
      ),
      home: Scaffold(
        backgroundColor: Colors.tealAccent,
        body: Column(
          crossAxisAlignment: CrossAxisAlignment.stretch,
          mainAxisAlignment: MainAxisAlignment.start,
          children: <Widget>[
            UiBuilderText(_textWidgetProps),
          ],
        ),
      ),
    );
  }
}
1
likes
30
pub points
0%
popularity

Publisher

verified publisherpub.micromaxinstruments.com

A library for widgets which can be configured from UI.

Homepage

License

BSD-3-Clause (LICENSE)

Dependencies

flutter

More

Packages that depend on flutter_ui_builder