Skip to content
This repository has been archived by the owner on Jul 7, 2022. It is now read-only.

fluttercandies/flutter_custom_inspector

Repository files navigation

Flutter Custom Inspector

pub package pub package GitHub stars GitHub forks Build status CodeFactor GitHub license FlutterCandies

A customizable inspector that can called directly through Flutter apps.

Getting Started

Wrap the InspectorWrapper to your WidgetsApp (e.g. MaterialApp or CupertinoApp), then start your customization!

Parameters

Name Type Description Value
selectButtonBuilder InspectorSelectButtonBuilder Build the select button to toggle selection. (See source code.)
tooltipBuilder String Function(Element element) The content that shows upon the selected element. Element.toShortString
tooltipBackgroundColor Color The background color for the tooltip. Color.fromARGB(230, 60, 60, 60)
tooltipStyle TextStyle The text style for the tooltip. (See source code.)
maxTooltipLines int The max lines limit for tooltips. 5
highlightedRenderObjectFillColor Color The color that covers the selected object. Color.fromARGB(128, 128, 128, 255)
highlightedRenderObjectBorderColor Color The border color that rounds the selected object. Color.fromARGB(128, 64, 64, 128)

Screenshot

About

A customizable inspector that can called directly through Flutter apps.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages