ly_flutter_utils 0.1.22 copy "ly_flutter_utils: ^0.1.22" to clipboard
ly_flutter_utils: ^0.1.22 copied to clipboard

Flutter utils package project.

example/lib/main.dart

import 'dart:io';

import 'scene/scene_center.dart';
import 'package:flutter/material.dart';

ThemeData themelight = ThemeData(
  brightness: Brightness.light,
  primaryColor: Colors.deepPurple,
  highlightColor: Colors.transparent,
  splashColor: Colors.transparent,
  focusColor: Colors.transparent,
  hoverColor: Colors.transparent,
  useMaterial3: true,
);
ThemeData themedark = ThemeData(
  brightness: Brightness.dark,
  primaryColor: Colors.deepPurpleAccent,
  highlightColor: Colors.transparent,
  splashColor: Colors.transparent,
  focusColor: Colors.transparent,
  hoverColor: Colors.transparent,
  useMaterial3: true,
);

void main() {
  if (Platform.isIOS) {
    runApp(
      MaterialApp(
        title: 'ly_flutter_utils demo',
        theme: themelight,
        darkTheme: themedark,
        debugShowCheckedModeBanner: false,
        home: SceneCenter(),
      ),
    );
  }
}
1
likes
140
points
475
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Flutter utils package project.

Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

flutter

More

Packages that depend on ly_flutter_utils