fas_ui_flutter 0.0.4 copy "fas_ui_flutter: ^0.0.4" to clipboard
fas_ui_flutter: ^0.0.4 copied to clipboard

outdated

A new Flutter project.

example/lib/main.dart

import 'package:fas_ui_flutter/components/bar/segment_bar.dart';
import 'package:flutter/material.dart';

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

class MyApp extends StatefulWidget {
  @override
  _MyAppState createState() => _MyAppState();
}

class _MyAppState extends State<MyApp> {
  @override
  void initState() {
    super.initState();
  }

  // Platform messages are asynchronous, so we initialize in an async method.

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: Scaffold(
        appBar: AppBar(
          title: const Text('Plugin example app'),
        ),
        body: Center(
          child: SegmentBar(datas: ["tianmu1", "tianmu1"]),
        ),
      ),
    );
  }
}
0
likes
0
pub points
0%
popularity

Publisher

unverified uploader

A new Flutter project.

Homepage

License

unknown (LICENSE)

Dependencies

flutter

More

Packages that depend on fas_ui_flutter