skycosmic 0.0.16 copy "skycosmic: ^0.0.16" to clipboard
skycosmic: ^0.0.16 copied to clipboard

A professional Flutter package providing ready-to-use UI components with CLI support, enabling rapid and consistent UI development.

example/skycosmic_example.dart

import 'package:flutter/material.dart';

void main() {
  runApp(const MyApp());
}

class MyApp extends StatelessWidget {
  const MyApp({super.key});

  // This widget is the root of your application.
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Demo',
      theme: ThemeData(),
      home: const MyHomePage(title: 'Flutter Demo Home Page'),
    );
  }
}

class MyHomePage extends StatefulWidget {
  const MyHomePage({super.key, required this.title});

  final String title;

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

class _MyHomePageState extends State<MyHomePage> {
  int _counter = 0;

  void _incrementCounter() {
    setState(() {
      _counter++;
    });
  }

  @override
  Widget build(BuildContext context) {
    // This method is rerun every time setState is called, for instance as done
    // by the _incrementCounter method above.
    //
    // The Flutter framework has been optimized to make rerunning build methods
    // fast, so that you can just rebuild anything that needs updating rather
    // than having to individually change instances of widgets.
    return Scaffold(
      appBar: AppBar(
        backgroundColor: Theme.of(context).colorScheme.inversePrimary,
        title: Text(widget.title),
      ),
      body: Column(
        children: [
          // SkyCosmicButton(type: CosmicButtonType.cosmicBlue, onPressed: () {}),
          // SkyCosmicCard(
          //   type: CosmicCardType.cosmicBlue,
          //   child: Text('Sky Cosmic Card'),
          // ),
        ],
      ),
    );
  }
}
3
likes
0
points
352
downloads

Publisher

unverified uploader

Weekly Downloads

A professional Flutter package providing ready-to-use UI components with CLI support, enabling rapid and consistent UI development.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter, path

More

Packages that depend on skycosmic