shoko_ui 1.2.3 copy "shoko_ui: ^1.2.3" to clipboard
shoko_ui: ^1.2.3 copied to clipboard

discontinuedreplaced by: shoshi_ui

This package is a UI-Kit from the ShokoTeam, which aims to accelerate the development of both your and our projects

example/lib/main.dart

import 'package:flutter/material.dart';
import 'package:shoko_ui/shoko_ui.dart';

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

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

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Demo',
      theme: ThemeData(
        colorScheme: ColorScheme.fromSeed(seedColor: Colors.deepPurple),
        useMaterial3: true,
      ),
      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> {
  // final controller = TextEditingController(text: 'djkgjkahsgkbsadbhgsbhkjgbskjhgbasdakjdasbhkjdhbashjksabhjkgs');
  final controller = TextEditingController();
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        backgroundColor: Theme.of(context).colorScheme.inversePrimary,
        title: Text(widget.title),
      ),
      body: Center(
        child: STextField(
          label: 'label',
          showSuffixWhenFocus: true,
          maxLines: 1,
          controller: controller,
          suffix: Text('suffix'),
        ),
      ),
    );
  }
}
4
likes
135
points
44
downloads

Documentation

API reference

Publisher

verified publishershokoteam.ru

Weekly Downloads

This package is a UI-Kit from the ShokoTeam, which aims to accelerate the development of both your and our projects

Homepage
Repository (GitHub)
View/report issues

License

BSD-3-Clause (license)

Dependencies

flutter, gap

More

Packages that depend on shoko_ui