katana_model_openapi 2.2.11 copy "katana_model_openapi: ^2.2.11" to clipboard
katana_model_openapi: ^2.2.11 copied to clipboard

Adapter classes for katana_model and model classes by freezed are automatically created from OepnAPI files.

example/lib/main.dart

// Flutter imports:
import 'package:flutter/material.dart';

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

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

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: const ListenablePage(),
      title: "Flutter Demo",
      theme: ThemeData(
        primarySwatch: Colors.blue,
      ),
    );
  }
}

class ListenablePage extends StatefulWidget {
  const ListenablePage({super.key});

  @override
  State<StatefulWidget> createState() => ListenablePageState();
}

class ListenablePageState extends State<ListenablePage> {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(title: const Text("Flutter Demo")),
      body: ListView(
        children: const [],
      ),
    );
  }
}
0
likes
160
points
409
downloads

Publisher

unverified uploader

Weekly Downloads

Adapter classes for katana_model and model classes by freezed are automatically created from OepnAPI files.

Homepage
Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter, katana

More

Packages that depend on katana_model_openapi