niku 2.3.0-experimental.1 niku: ^2.3.0-experimental.1 copied to clipboard
Property builder for styling Widget with SwiftUI like pattern
import 'package:example/benchmark/benchmark.dart';
import 'package:flutter/material.dart';
import 'example.dart';
void main() {
runApp(const MyApp());
}
class MyApp extends StatelessWidget {
const MyApp();
build(context) {
return MaterialApp(
title: "Niku",
debugShowCheckedModeBanner: false,
theme: ThemeData(
primaryColor: Colors.blue,
primarySwatch: Colors.blue,
useMaterial3: true,
),
darkTheme: ThemeData.dark(),
home: const Tempestissimo(),
);
}
}