ui_ex

Creator: coderz1093

Last updated:

0 purchases

ui_ex Image
ui_ex Images
Add to Cart

Description:

ui ex

Features #
ui_ex is a solution that provides chain programming, which can easily solve the addition and removal of controls.
Getting started #
add this line to pubspec.yaml
dev_dependencies:
ui_ex: ^1.0.2

copied to clipboard
import package
import 'package:ui_ex/ui_ex.dart';
copied to clipboard
Usage #
simple example,
import 'package:flutter/material.dart';
import 'package:ui_ex/ui_ex.dart';

void main() => runApp(const MyApp());

class MyApp extends StatelessWidget {
const MyApp({Key? key}) : super(key: key);

@override
Widget build(BuildContext context) => 'Flutter Demo'.materialApp(
theme: ThemeData(primarySwatch: Colors.blue),
home: const MyHomePage(),
);
}

class MyHomePage extends StatefulWidget {
const MyHomePage({Key? key}) : super(key: key);

@override
State<MyHomePage> createState() => _MyHomePageState();
}

class _MyHomePageState extends State<MyHomePage> {
String get title => "MyHomePage";

String get mathStr =>
r'$$\hat f(\xi) = \int_{-\infty}^\infty f(x)e^{- 2\pi i \xi x}\mathrm{d}x$$';

bool _showLoading = false;
bool get showLoading => _showLoading;
set showLoading(bool value) => fresh(() => _showLoading = value);

@override
Widget build(BuildContext context) => mathStr.markdown().scaffold(
appBar: title.text().cupertinoMiddleAppBar(context: context),
showLoading: showLoading);
}

copied to clipboard

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.