niku 2.0.0-rc.2 copy "niku: ^2.0.0-rc.2" to clipboard
niku: ^2.0.0-rc.2 copied to clipboard

outdated

Property builder for styling Widget with SwiftUI like pattern

example/lib/main.dart

import 'package:flutter/material.dart';

import 'music.dart';
import 'general.dart';
import 'japan.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 JapanStyle(),
      // home: const Music(
      //   cover:
      //       "https://static.wikia.nocookie.net/iowiro/images/c/c5/News_10202019a.jpg",
      // ),
    );
  }
}